Page 1 of 3

MSA disk Space usage, Details on Nagios xi

Posted: Tue Aug 14, 2012 5:24 am
by gm_rajkumar
I wanted to see the disk space details, errors, usage from MSA. Is it possible to do this plugin or if any?? Im running Nagios XI in Linux machine (laptop) and MSA in Windows 2008 server in remote. let me know how to do that. please suggest

Regards
Raj.

Re: MSA disk Space usage, Details on Nagios xi

Posted: Tue Aug 14, 2012 10:53 am
by yancy
gm_rajkumar,

Take a look at this plugin, which compliments the check_msa_hardware.pl

http://exchange.nagios.org/directory/Pl ... sk/details

Regards,

-Yancy

Re: MSA disk Space usage, Details on Nagios xi

Posted: Wed Aug 15, 2012 4:10 am
by gm_rajkumar
Yancy,

i tried this plugin and while executing this command got
#./check_hp_msa2324sa_disk.pl -H 10.10.10.5 -u administrator -p password123 -d disk1
command timed-out at @./check_hp_msa2324sa_disk.pl line 116

Let me know if anything need to check further on this.

Regards,
Raj.

Re: MSA disk Space usage, Details on Nagios xi

Posted: Thu Aug 16, 2012 12:09 pm
by gm_rajkumar
Any update over this????

Re: MSA disk Space usage, Details on Nagios xi

Posted: Thu Aug 16, 2012 12:13 pm
by yancy
gm_rajkumar,

are you able to telnet to the machine using those credentials?

Regards,

-Yancy

Re: MSA disk Space usage, Details on Nagios xi

Posted: Thu Aug 16, 2012 1:24 pm
by gm_rajkumar
i am getting port 23 connection refused message while trying this command..

./check_hp_msa2324sa_disk.pl - H hostname -u admin -p password -d diskname
line 33 however i can able to login with the credentials in web page. Is it anything wrong and already having Hpmsa other than any application(hp) needs to install? , please clarify me..

Regards,
Raj.

Re: MSA disk Space usage, Details on Nagios xi

Posted: Thu Aug 16, 2012 1:36 pm
by yancy
Raj,

It sounds like you need to open/enable the telnet interface on your msa in order to use this plugin from what I can tell. See if you can enable telnet.

It could also be that port 23 is being blocked by your firewall.

Regards,

-Yancy

Re: MSA disk Space usage, Details on Nagios xi

Posted: Fri Aug 17, 2012 3:49 am
by gm_rajkumar
Now port access provided for the machine, now i can able to telnet the port 23. However i m getting below message.

#./check_hp_msa2324sa_disk.pl -H XXXXXXXX -u username -p password -d disk

command timed-out at ./check_hpmsa2324sa_disk.pl line 116

i have also tried to telnet hostname port 23, it asks for the username, password and ran the show vdisks. i can able to see the disk details well.

Let me know if anything else needs to check further on this.

Regards
Raj.

Re: MSA disk Space usage, Details on Nagios xi

Posted: Fri Aug 17, 2012 9:52 am
by yancy
Raj,

on Line 107 it makes the telnet object. Try changing the timeout to something like 20 or higher and see if that enough time to run the show vdisk command

$telnet = new Net::Telnet ( Timeout=>20, Errmode=>'die', Prompt => '/\# $/i');

If 20 doesn't work try something a bit higher.


Regards,

-Yancy

Re: MSA disk Space usage, Details on Nagios xi

Posted: Fri Aug 17, 2012 10:02 am
by gm_rajkumar
I just tried upto 50 but i have got the same result.

command timed-out at ./check_hpmsa2324sa_disk.pl line 116

Let me know if anything else needs to try on this.

Regards,
Raj.