Search found 90 matches

by scheema31
Wed Jan 18, 2017 1:14 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

Perfect that did the trick, my checks are now successful on server and through browser.

Thanks for all your help Tgriep!
by scheema31
Tue Jan 17, 2017 3:26 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

thanks that made some progress, i can make checks but returns a warning state with an error (attached picture)
looks like another plugin install/update?

thanks!
by scheema31
Tue Jan 17, 2017 1:42 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

Excellet! it worked when running on my server :) [root@someserver ~]# /usr/local/nagios/libexec/check_esx3.pl --hostIP 10.10.xx.xx --dataType Datastore --datacenter /vmfs/volumes/somedatastore_01 --username user --password pass --warning 80 --critical 90 MYDATASTORE_01 : 84 % Used MYDATASTORE_02 : 8...
by scheema31
Mon Jan 16, 2017 6:08 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

tgriep - I ran the perl module update which completed, ran the command again and this time i don't get an error but command does not return anything either, just waiting for input... ive attached screenshot ssax - thanks for the suggestion but my username nor password contain special characters, how...
by scheema31
Mon Jan 16, 2017 5:26 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

okay i think ive made some progress, sorry i wasnt using the correct options before. this is what i have but its a diffrerent errror now: [root@someserver ~]# /usr/local/nagios/libexec/check_esx3.pl --hostIP 10.10.xx.xx --dataType VMcpu --username xxxx --password xxxx --warning 80 --critical 90 leng...
by scheema31
Mon Jan 16, 2017 5:20 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

hmm i think im trying that but same result, is this how you are testing on your server?

Code: Select all

[root@someserver ~]# /usr/local/nagios/libexec/check_esx3.pl --hostIP 10.10.xx.xx --username xxxx --password xxxx
should this not be enough to make a simple check? 
Thanks,
by scheema31
Mon Jan 16, 2017 4:38 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

I have attached the check_esx.pl file to view.
will i be able to edit it to make work or should i use the file you are testing with? if so please instruct on how i can go about reinstalling.

Thanks tgriep!
by scheema31
Mon Jan 16, 2017 4:07 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

okay awesome looks like some progress but still issue. 1. Ran the yum command to install/update missing prerequisites - all ran successfully 2. Ran command on server and got diffrerent error this time, looks like an issue with checking check_esx3.pl file: [root@someserver ~]# /usr/local/nagios/libex...
by scheema31
Mon Jan 16, 2017 2:01 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Re: Check_exi command setup

Thanks for the update tgriep, I updated the the command name to check_esx3.pl and updated the command line as you suggested: command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $ESXUSER$ -p $ESXPASSWORD$ -l cpu -s usage -w $ARG1$ -c $ARG2$ } Saved it and restarted nagios However im still getting ...
by scheema31
Fri Jan 13, 2017 5:46 pm
Forum: Open Source Nagios Projects
Topic: Check_exi command setup
Replies: 19
Views: 10218

Check_exi command setup

Hi, im trying to monitor my esxi host using check_exi command but im getting errors. here is what ive done so far: 1. install dependency yum install perl-Pod-Perldoc perl-CPAN openssl-devel to /usr/bin, all installed but one gave this warrning about a module: Socket6 0.23 or newer IO::Socket::INET6 ...