Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

jtennity

Reviews(1)
byjtennity, August 2, 2016
1 of 1 people found this review helpful
After converting it to english and to the right text format by making a new file and copy and pasting code into it, it worked.

past this into /etc/sudoers:
nagios ALL=(ALL) NOPASSWD:/usr/bin/virsh list

and uncomment the line:
Defaults requiretty

to run command, type:
./check_virsh srv "virtual machine name"
example: ./check_virsh srv server1.example.com