I need to check the Raid status on a few HP servers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I need to check the Raid status on a few HP servers

Post by benningtonr »

Are there instructions on how one might set this up?
I have nrpe installed on my test box already
I guess I need to create a command then a service, but i am walking in new territory for this, so any guidance would be greatly appreciated.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: I need to check the Raid status on a few HP servers

Post by abrist »

You will need to use the nrpe command in XI, but customize the args for your check:
http://assets.nagios.com/downloads/nagi ... g_NRPE.pdf
Afterwards, you will need to add the command to the remote host's nrpe.cfg and restart nrpe. Use the docs below for troubleshooting:
http://assets.nagios.com/downloads/nagi ... utions.pdf
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I need to check the Raid status on a few HP servers

Post by benningtonr »

the problem is i do not know what kind of arguments to put in, nor can i figure out how to run the plug in on the remote server and send the results back to nagios.
I was hoping someone had set this up and would give me some guidence.

Thank you,
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: I need to check the Raid status on a few HP servers

Post by sreinhardt »

The documents abrist listed should outline the vast majority of setup and errors that you may contain. I would highly suggest giving them a shot. Try to define an nrpe command on the remote system, then try to get the check_nrpe plugin to call that command from your nagios system via the command line. Once you get that setup, you can take the cli command you ran, and create a nagios command which can finally be applied to your service(s).
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I need to check the Raid status on a few HP servers

Post by benningtonr »

It is up and working,
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: I need to check the Raid status on a few HP servers

Post by slansing »

Sounds good, are we okay to lock this up then?
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: I need to check the Raid status on a few HP servers

Post by benningtonr »

locker up
Thank you
Locked