MSA disk Space usage, Details on Nagios xi

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.
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

MSA disk Space usage, Details on Nagios xi

Post 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.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: MSA disk Space usage, Details on Nagios xi

Post 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
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: MSA disk Space usage, Details on Nagios xi

Post 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.
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: MSA disk Space usage, Details on Nagios xi

Post by gm_rajkumar »

Any update over this????
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: MSA disk Space usage, Details on Nagios xi

Post by yancy »

gm_rajkumar,

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

Regards,

-Yancy
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: MSA disk Space usage, Details on Nagios xi

Post 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.
Last edited by gm_rajkumar on Thu Aug 16, 2012 1:36 pm, edited 1 time in total.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: MSA disk Space usage, Details on Nagios xi

Post 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
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: MSA disk Space usage, Details on Nagios xi

Post 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.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: MSA disk Space usage, Details on Nagios xi

Post 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
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: MSA disk Space usage, Details on Nagios xi

Post 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.
Locked