Re: monitor ntpd process and generate a trap

Jacob Steinberger <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Quoting PoWah Wong <[email protected]>:
> # service ntpd restart
> Shutting down ntpd:                                        [  OK  ]
> Starting ntpd:                                             [  OK  ]
>
> The 172.20.11.72 computer do not receive any trap from ntpd restart.

That's fully expected. A restart of NTP takes less than a second. SNMP  
monitors processes not by PIDs or kernel messages, but by just their  
name in a `ps -e`. The monitor process, by default, occurs every 60  
seconds.

Stop NTP for a minute or two, and see if you get an alarm.

Jacob


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.