Re: monitor ntpd process and generate a trap
PoWah Wong <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
--- On Thu, 6/18/09, Jacob Steinberger <[email protected]> wrote: > From: Jacob Steinberger <[email protected]> > Subject: Re: monitor ntpd process and generate a trap > To: [email protected] > Received: Thursday, June 18, 2009, 2:03 PM > 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 > You are right. I get an alarm after stopping NTP for a minute or two. Thanks. __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ------------------------------------------------------------------------------ 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