Page 1 of 1

Forward SNMP events

Posted: Tue Oct 09, 2018 8:01 am
by elinagios
Hello

1) Is there a way to forward specific service check (SNMP check) results to some other host?
2) Is there a way to forward only warning/errors of the specific snmp check to other host?

With NagiosXI API you cannot query only specific service or better yet servicegroup status's.

Any ideas?

Re: Forward SNMP events

Posted: Tue Oct 09, 2018 1:33 pm
by cdienger
There is the SNMP Trap Sender component(Admin > System Extensions > Manage Components > SNMP Trap Sender) which can help you create a component to do what you're looking for if you were inclined to do some programming. Outside of that you could also use an event handler. Here are some resources:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

The API can pull specific services - have a look at the Building Limited Queries section under Admin > REST API Docs > Objects Reference.