check_ibm_v7000_svc.pl

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

check_ibm_v7000_svc.pl

Post 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 ..
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_ibm_v7000_svc.pl

Post 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)
Former Nagios employee
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Re: check_ibm_v7000_svc.pl

Post by veenm »

could you please help me in understanding how to track -keyfile file ?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: check_ibm_v7000_svc.pl

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