Re: nsNotifyRestart traps

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAF4SogayMiOn2RV0iK9V9wjxiJUk6XCDbTU_NBnPvVkLAghFHA@mail.gmail.com>
On Tue, Aug 27, 2019 at 2:54 AM Krishna Vivek Vitta <
[email protected]> wrote:

> Hello experts,
>
>
>
> We have a management server running snmpd where it is sending
> nsNotifyRestart traps. The frequency is once per day during same time.
>
> May I know on what occasions this trap is raised and I don’t get to see
> any logs in management server restarting agent(snmpd), though we see
> following in snmpd.log.
>

I went to https://lmgtfy.com/?q=nsNotifyRestart and the first search result
was http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Agent_15 which says:

The Net-SNMP agent ... generates an enterprise-specific trap
'nsNotifyRestart' ... on receiving a HUP signal - typically after being
re-configured.

One interesting thing to note is that "logrotate" is pretty likely to send
a HUP to a daemon whose logs it's configured to rotate.  Does your trap
happen to coincide with when "logrotate" runs on your server?

  Bill

_______________________________________________
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.