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.
Need help for Nagios Integration with symphony
Re: Need help for Nagios Integration with symphony
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
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
$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.
Also, the if statement says this
Code: Select all
"$SERVICESTATE" == "CRITICAL"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
Hi scott,
We are trying to add "event_handler test" host.
Running "apply configuration" but we are getting error. Please Find Attachments.
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
looks like you might have the command defined twice.
Go to Configure -> CCM -> Commands
Search for event_handler_test
Are there more than one?
Go to Configure -> CCM -> Commands
Search for event_handler_test
Are there more than one?
Re: Need help for Nagios Integration with symphony
Hello team,
Below errors we are facing while doing "apply configuration" for "event_handler_test".
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
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
Go to the CCM -> Commands and click the "View config" icon next to one of the items, it would be line 717 of this