Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
-w = Minimum Number of Xen VMs to activate a warning message. -c = Number of Xen VMs to activate a critical message.
Current Version
1
Last Release Date
2006-11-01
Owner
Marcos Oliveira
License
GPL
Compatible With
the plugin works perfectly when used on local machine. In order to use it with check_by_ssh you need to do following modifications: On the monitored host: in /etc/sudoers add: Defaults:nagios !requirettl nagios ALL=(ALL) NOPASSWD: /check_xen * edit the script: in the line RUNNING=$(sudo /usr/sbin/xm list | awk '!/[DN]/ {print $1 }' | awk '$1=$1' OFS=", " RS= ) remove sudo: RUNNING=$( /usr/sbin/xm list | awk '!/[DN]/ {print $1 }' | awk '$1=$1' OFS=", " RS= ) On the Nagios host: add command: define command{ command_name ssh_xen command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C 'sudo /check_xen -w $ARG1$ -c $ARG2$' }
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!