Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin check open service events in HMC.
Current Version
1.0
Last Release Date
2019-01-25
Owner
Enzo Medina
License
GPL
Compatible With
This plugin connects to HMC using SSH Key, list all open service events and generates a Warning alert if it finds one or more alerts opened. It requires that you define a nagios user in HMC and attach its public SSH key to it.
SETUP: 1.- Login to Nagios Server with nagios user. 2.- Generate a SSH key. 3.- Login to HMC, create a nagios user and attach the public SSH key to it. 4.- Copy the plugin to Nagios Server: /usr/local/nagios/libexec/check_hmc_svcevents.sh 5.- Test it: /usr/local/nagios/libexec/check_hmc_svcevents.sh -H 192.168.1.100 -K /home/nagios/.ssh/id_rsa 6.- Create a command in nagios: define command { command_name check_hmc_svcevents command_line $USER1$/check_hmc_svcevents.sh -H $HOSTADDRESS$ -K /home/nagios/.ssh/id_rsa }
Please comment or email me if you have issues.
The EVENTS variable returned a single line, so changed to enclose RESULTS in double quotes. Diff: EVENTS=`echo "$RESULT" | grep "problem_num" | wc -l`
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!