MIB for Nagios

Subhendu Ghosh sghosh at sghosh.org
Thu Jun 12 19:32:07 CEST 2003


On Thu, 12 Jun 2003, Don Badrak wrote:

> All,
> 
> Hi.  We've got an HP OpenView enterprise management system here. I started
> using Nagios to augment that, since it did several things that OVO hasn't
> been set up (yet) here to do: recovery messages, event correlation, and
> service checks.
> 
> What I've been asked to do now is find a way to put Nagios notifications
> into OVO.  I can do it through snmp traps.  My plan is to use a global
> event handler in perl which uses the Net::SNMP modules to send an SNMP
> trap.


There is no official MIB for nagios. Rather than writing a complete mib 
consider just writing a trap definition.  VarBinds you want to pass should 
be the ones that are visible for event handlers (specially if you enable 
state tracking).

If considering the MIB, use tables for hosts, services, comment and 
downtime (all things that have log entries and state).


-sg
> 
> One thing I've been thinking about is using a MIB to define events.
> 
> Something like:
> 
> 	x.x.x.nagios
> 
> 	1	state
> 	1.1	   SOFT
> 	1.2	   HARD
> 
> 	2	condition
> 	2.1	   OK
> 	2.2	   WARNING
> 	2.3	   CRITICAL
> 	2.4	   UNKNOWN
> 
> 	3	host
> 	3.1	   UP
> 	3.2	   DOWN
> 	3.3	   UNREACHABLE
> 	3.4	   RECOVERY
> 
> 	4	service
> 	4.1	   OK
> 	4.2	   WARNING
> 	4.3	   CRITICAL
> 
> etc.
> 
> Any thoughts on this?  It would be nice if there was an official MIB for
> Nagios.  What am I missing in this?
> 
> Don
> --
> Don Badrak <dbadrak at census.gov>              301.763.5534 work
> Telecommunications Office                    301.457.4438 fax
> U.S. Bureau of the Census
> Suitland MD, USA
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 




-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list