Page 1 of 3

storage monitor

Posted: Mon May 04, 2020 10:50 am
by progressive.nagiosXI
Hi Team,

please help how to monitor attached storage type via Nagiosxi.

we need to monitor these storage via gearman worker server.


Thanks

Re: storage monitor

Posted: Mon May 04, 2020 2:33 pm
by ssax
You will need to install/setup the plugins on the gearman worker and then add them into the XI system as commands to use:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

You'll need to test out any plugins you find to see if they meet your needs.

I found these:

https://support.hpe.com/hpsc/swd/public ... b64c2e793e

https://exchange.nagios.org/directory/P ... pl/details

https://exchange.nagios.org/directory/P ... er/details

Code: Select all

https://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/NetApp
See here as well for all SAN/NAS plugins:

https://exchange.nagios.org/directory/P ... AN-and-NAS

Let us know if you have any problems/questions.

Re: storage monitor

Posted: Tue May 05, 2020 10:24 am
by progressive.nagiosXI
Hi Team,

we tried with IBM-xiv and Dell EMC storage but not getting success.

device output response attached , Please help

Thanks

Re: storage monitor

Posted: Tue May 05, 2020 3:23 pm
by ssax

Code: Select all

xcli not found.
The XIV plugin requires you have XCLI installed on the system you're checking it from. If you already have an XIV client system with xcli installed on it then you should put the plugin on that system and run the plugin on the remote system through NRPE/NCPA.

Otherwise, you'd need to install XCLI on the XI system:

https://www.ibm.com/support/knowledgece ... il_05.html


You will need to run the check_emc_clariion.pl check again, the file didn't exist:

Code: Select all

-bash: ./check_ecm_clariion.pl: No such file or directory
Please read the output when you run the commands and try to debug if anything fails.

Re: storage monitor

Posted: Mon May 11, 2020 12:08 pm
by progressive.nagiosXI
Hi Team,

we are getting attached error ,Please help

EMC : error returned from management server.

XIV : getting data on nagios worker but error in NagiosXI server xcli not found.
on worker >>(we set nagios user path to xcli dir ,changed group of xcli files to nagios)

XCLi installed and configured on worker and successfully running.

Thanks

Re: storage monitor

Posted: Mon May 11, 2020 5:00 pm
by ssax
Does it work for both if you do this:

Code: Select all

mv /home/nagios/xcli /usr/local/nagios/libexec/
chown apache.nagios /usr/local/nagios/libexec/xcli

Re: storage monitor

Posted: Tue May 12, 2020 12:10 pm
by progressive.nagiosXI
Hi ,

file location and ownership changed getting check output on worker after changes without any error but still showing below error in Nagiosxi dashboard.

Code: Select all

xcli not found
EMC storage still getting error

Thanks

Re: storage monitor

Posted: Tue May 12, 2020 4:10 pm
by ssax
When you say worker, is that a mod_gearman worker you are talking about?

Re: storage monitor

Posted: Wed May 13, 2020 1:08 am
by progressive.nagiosXI
yes mod_gearman worker

Re: storage monitor

Posted: Wed May 13, 2020 9:44 am
by ssax
It kinda looks like the gearman worker isn't running it, do you have the groups setup so that the check goes to the gearman worker?

Please post your gearman worker's worker.conf and the /etc/mod_gearman2/module.conf file from your XI server.

Include a copy of your profile so that I can see how it's configured.