I'm using logserver to check if there are too many failed ssh attempts. (just for testing).
I would like to send the alert to my Nagios Core server, using snmptrap.
I do receive traps from the logserver at the Nagios Core server, but it's the same trap for a OK, WARNING and CRITICAL.
Why is it not divided in three different traps? That should make it easier to generate an alert at the Nagios server.
Is there some snmptt.conf information available for Nagios logserver traps?
or
Is there a mib available for the generated traps?
snmptrap from logserver to nagios core server
snmptrap from logserver to nagios core server
Rob Hassing


-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: snmptrap from logserver to nagios core server
It should be sending the nSvcStateID with the result code (status code) as an integer referring same as a nagios plugin exit code.
Are you always receiving the same code?
For clarity also, what version of Log Server are you running?
Are you always receiving the same code?
For clarity also, what version of Log Server are you running?