Passing Host Groups in the Nagios SNMP trap sender

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
JakeHatMacys
Posts: 281
Joined: Thu Sep 25, 2014 3:21 pm

Passing Host Groups in the Nagios SNMP trap sender

Post 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...
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Passing Host Groups in the Nagios SNMP trap sender

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
JakeHatMacys
Posts: 281
Joined: Thu Sep 25, 2014 3:21 pm

Re: Passing Host Groups in the Nagios SNMP trap sender

Post 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!
Locked