Page 1 of 1

Passing Host Groups in the Nagios SNMP trap sender

Posted: Wed Jan 28, 2015 2:42 pm
by JakeHatMacys
Currently we don't seem to pass Host Groups. Is this possible?

We're wanting to pass host groups to tell what time zone the device is in as well as what store they're in...

Re: Passing Host Groups in the Nagios SNMP trap sender

Posted: Wed Jan 28, 2015 3:05 pm
by scottwilkerson
It isn't possible in the current sender, but it could custom modified to do so, and would require a bunch of testing as it would have to account for the fact that sometimes there is and sometimes there isn't groups, etc.. The MIBS are aware of groups so they wouldn't need to change..

I can point you in the right direction if you want to take a stab in your test environment, you woulld be looking to change the commands on line 410 and 464 of
/usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php

Or you can feel free to send [email protected] a request for a quote for custom development to get this created.

Re: Passing Host Groups in the Nagios SNMP trap sender

Posted: Wed Jan 28, 2015 4:17 pm
by JakeHatMacys
scottwilkerson wrote:It isn't possible in the current sender, but it could custom modified to do so, and would require a bunch of testing as it would have to account for the fact that sometimes there is and sometimes there isn't groups, etc.. The MIBS are aware of groups so they wouldn't need to change..

I can point you in the right direction if you want to take a stab in your test environment, you woulld be looking to change the commands on line 410 and 464 of
/usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php

Or you can feel free to send [email protected] a request for a quote for custom development to get this created.
Thanks for the information!