Page 1 of 1
Nutanix plugins command and service samples
Posted: Fri May 17, 2019 10:05 am
by dlukinski
Hello Nagios support
Would you happen to have Nutanix plugins command and service samples?
Specifically for these two plugins (I should run from Nagios XI server, right?)
https://exchange.nagios.org/directory/P ... pl/details
Thank you
Re: Nutanix plugins command and service samples
Posted: Fri May 17, 2019 2:36 pm
by cdienger
It looks like they both can be run on the XI server. I don't have a system to test with, but think this is a valid example(values probably need tweaking) :
Code: Select all
./check_nutanix.pl -H 1.2.3.4 -C public -t Containers -s citIOPerSecond -w citIOPerSecond=100 -c citIOPerSecond=200
"check_ssh_nutanix_cluster.pl --help" has this example:
Code: Select all
./check_ssh_nutanix_cluster.pl -H cluster -u admin -p toto -C status -r snmpd -c 2
Re: Nutanix plugins command and service samples
Posted: Fri May 17, 2019 4:37 pm
by dlukinski
cdienger wrote:It looks like they both can be run on the XI server. I don't have a system to test with, but think this is a valid example(values probably need tweaking) :
Code: Select all
./check_nutanix.pl -H 1.2.3.4 -C public -t Containers -s citIOPerSecond -w citIOPerSecond=100 -c citIOPerSecond=200
"check_ssh_nutanix_cluster.pl --help" has this example:
Code: Select all
./check_ssh_nutanix_cluster.pl -H cluster -u admin -p toto -C status -r snmpd -c 2
Thank you,
How the command would look like?
$USER1$/check_nutanix.pl -H $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ ?
Re: Nutanix plugins command and service samples
Posted: Mon May 20, 2019 9:23 am
by cdienger
You could get away with just:
Code: Select all
$USER1$/check_nutanix.pl -H $HOSTADDRESS$ $ARG1$
Where $ARG1$ would contain all the options besides the host address:
Code: Select all
-C public -t Containers -s citIOPerSecond -w citIOPerSecond=100 -c citIOPerSecond=200