OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of h1d3m3 »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - h1d3m3

Pages: [1]
1
22.1 Legacy Series / Re: ntpd pid file gone in 22.1?
« on: February 06, 2022, 03:51:09 pm »
Thank you, that worked.

I didn't know "matched" was an option. When you use the PID field for a service, the match field option gets hidden. You have to delete the service setting first (starting clean) to show the field again. The result is:

Code: [Select]
check process ntpd  matching ntpd
   start program = "/usr/local/sbin/pluginctl -s ntpd start"
   stop program = "/usr/local/sbin/pluginctl -s ntpd stop"
   if failed host 127.0.0.1 port 123 type udp then alert

2
22.1 Legacy Series / Re: ntpd pid file gone in 22.1?
« on: February 05, 2022, 10:13:27 pm »
This broke monit for me too. Monitoring was looking for that file (using PID File) and since it was gone, it would constantly restart ntp thinking it was dead.

Can anyone recommend an alternate means for monit to monitor that ntp is running? (maybe through ntpq -p or something like ntpstat?)

Cheers

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2