Page 2 of 2

Re: Need help for Nagios Integration with symphony

Posted: Wed May 08, 2019 6:09 am
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.

Re: Need help for Nagios Integration with symphony

Posted: Wed May 08, 2019 7:58 am
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.

Re: Need help for Nagios Integration with symphony

Posted: Fri May 31, 2019 2:37 am
by vinish098
Hi scott,

We are trying to add "event_handler test" host.

Running "apply configuration" but we are getting error. Please Find Attachments.

Re: Need help for Nagios Integration with symphony

Posted: Fri May 31, 2019 6:41 am
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?

Re: Need help for Nagios Integration with symphony

Posted: Mon Jun 03, 2019 1:36 am
by vinish098
Hello team,

Below errors we are facing while doing "apply configuration" for "event_handler_test".

Re: Need help for Nagios Integration with symphony

Posted: Mon Jun 03, 2019 7:04 am
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