Page 1 of 1
check_ibm_v7000_svc.pl
Posted: Fri Oct 10, 2014 4:51 pm
by veenm
I want to monitor IBM solarwiz storage devices , howerver i found "check_ibm_v7000_svc.pl" in nagios exchange portal, But this script prompts the password to get connect to storage devices , please let me know how the soluction for not promting the password ..
Re: check_ibm_v7000_svc.pl
Posted: Fri Oct 10, 2014 4:55 pm
by tmcdonald
According to the help outout, you may need to use the -keyfile= option to provide a SSH key:
Code: Select all
Usage: $0 -cluster=[IP or hostname] -check=[check] -v
-cluster Hostname or IP address of V7000 SVC (*required*)
-check Checktype (*required*)
Possible values are:
* lunonline|luninsync
* lsarray|lsdrive|lsenclosure|lsenclosurebattery
* lsenclosurecanister|lsenclosurepsu|lsenclosureslotx
( lsenclosureslotx = lsenclosureslot1 ... lsenclosureslotx )
-user Username which is configured on your v7000 (default nagios)
-keyfile the SSH/PUTTY private key file to connect with
-ssh ssh method - the ssh command to use. Possible values are:
* "ssh" (default)
* "plink" (PUTTY)
-exclude comma separated list of excluded vdisknames (lunonline check)
or consistency group names (luninsync check)
-h -help Print this help
-v -verbose verbose output (OK items are listed)
Re: check_ibm_v7000_svc.pl
Posted: Fri Oct 10, 2014 4:57 pm
by veenm
could you please help me in understanding how to track -keyfile file ?
Re: check_ibm_v7000_svc.pl
Posted: Fri Oct 10, 2014 5:11 pm
by Box293
Have a look here, this guy is using SSH to connect without being prompted for a username and password.
https://rudd-o.com/linux-and-free-softw ... ks-via-ssh