snmptrap from logserver to nagios core server

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

snmptrap from logserver to nagios core server

Post 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?
Rob Hassing
Image
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

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked