Nutanix plugins command and service samples

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Nutanix plugins command and service samples

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nutanix plugins command and service samples

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Nutanix plugins command and service samples

Post 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$ ?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nutanix plugins command and service samples

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked