Page 1 of 1

snmptrap from logserver to nagios core server

Posted: Wed Mar 11, 2015 10:28 am
by rhassing
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?

Re: snmptrap from logserver to nagios core server

Posted: Wed Mar 11, 2015 2:57 pm
by scottwilkerson
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?