Need help for Nagios Integration with symphony

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Need help for Nagios Integration with symphony

Post by vinish098 »

Hi Team,

I have made the changes in the command and script. Attaching the screenshots and the script file for your reference "logs.png", emailscript.txt.

Please let me know where else I need to make changes. Your help will be highly appreciated.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need help for Nagios Integration with symphony

Post by scottwilkerson »

Did you add the event handler command on the "Check Settings" tab? and set "Event handler enabled" to On?

Also, the if statement says this

Code: Select all

"$SERVICESTATE" == "CRITICAL"
$SERVICESTATE is set from $3 which from the command was set from $HOSTSTATETYPE$

this will never equal CRITICAL on a host.

You are going to need to setup separate commands and scripts with different arguments and structure for hosts and services.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Need help for Nagios Integration with symphony

Post by vinish098 »

Hi scott,

We are trying to add "event_handler test" host.

Running "apply configuration" but we are getting error. Please Find Attachments.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need help for Nagios Integration with symphony

Post by scottwilkerson »

looks like you might have the command defined twice.

Go to Configure -> CCM -> Commands
Search for event_handler_test

Are there more than one?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Need help for Nagios Integration with symphony

Post by vinish098 »

Hello team,

Below errors we are facing while doing "apply configuration" for "event_handler_test".
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need help for Nagios Integration with symphony

Post by scottwilkerson »

this would be the rolled back version.

Go to the CCM -> Commands and click the "View config" icon next to one of the items, it would be line 717 of this
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked