I'm trying to read about the unconfigured objects in Nagios and I'm a little confused.
The previous administrator had apparently set up SNMP passive checks as I have a whole lot of unconfigured objects listed. When I went through and ran the Wizard on a number of them, they created just fine as SNMP Traps. However, the issue is that a number of these are now duplicate services.
For instance, on a UPS, we already had a service set up to monitor battery temps on all of our UPS. When I ran the unconfigured objects wizard, now I have two services for battery temps, the original one that we set-up and now this SNMP Traps one that apparently must be configured with a check command even after running the unconfigured objects Wizard.
On the already configured battery temp service, we have just one service and have assigned each UPS as a host within that service. After running the unconfigured objects wizard, I now have a new service for EACH of these UPS.
I am assuming that these both work the same and will effectively do the same thing? If this is the case, then is there really any benefit to using the SNMP traps version (thus many of the same service) over the manually configured one (thus one service with multiple hosts attached to it)?
Unconfigured objects?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unconfigured objects?
The Traps one will get populated when the next SNMP Trap is received from the sending device.
I am guessing this was setup this way so Nagios XI can actively check the device, but if something Triggers in-between checks, the SNMP trap is sent and you will get that right away.
This would eliminate the possibility of the following
9:05am - Nagios checking battery temp - OK
9:06am - Battery temp exceeds limit - CRITICAL (without the snmp traps Nagios wouldn't receive this)
9:10am - Nagios checking battery temp - OK
I am guessing this was setup this way so Nagios XI can actively check the device, but if something Triggers in-between checks, the SNMP trap is sent and you will get that right away.
This would eliminate the possibility of the following
9:05am - Nagios checking battery temp - OK
9:06am - Battery temp exceeds limit - CRITICAL (without the snmp traps Nagios wouldn't receive this)
9:10am - Nagios checking battery temp - OK
Re: Unconfigured objects?
ok - so I would be best served to leave both in place then?
Is there any option to consolidate the services that were created for each device though? Or do I just need to deal with it...
Is there any option to consolidate the services that were created for each device though? Or do I just need to deal with it...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unconfigured objects?
It's your server you can really leave or delete whatever you want.
In my opinion, if you see value in what I explained above for the particular host, leave it, otherwise delete it.
There isn't really an easy way to "consolidate" them so I guess if you don't delete them you have to just deal with it
In my opinion, if you see value in what I explained above for the particular host, leave it, otherwise delete it.
There isn't really an easy way to "consolidate" them so I guess if you don't delete them you have to just deal with it