Dell OpenManage - PowerEdge
Dell OpenManage - PowerEdge
I installed Dell OpenManage Wizard in Nagios XI local server. The plugin check_dell_openmanage.pl is there.
I use ssh proxy to check monitoring host statistics, but for Dell Open Manage the command that's used is
>./check_dell_openmanage.pl -H $HOSTNAME -C pe_m610
The result is "Unknown" status with Error: Alarm signal (Nagios-time-out).
Dell Open Manage Server Administrator is installed on the monitoring Linux host and is open for connection.
How do I troubleshoot this?
I use ssh proxy to check monitoring host statistics, but for Dell Open Manage the command that's used is
>./check_dell_openmanage.pl -H $HOSTNAME -C pe_m610
The result is "Unknown" status with Error: Alarm signal (Nagios-time-out).
Dell Open Manage Server Administrator is installed on the monitoring Linux host and is open for connection.
How do I troubleshoot this?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Dell OpenManage - PowerEdge
To be clear, do you want to run this via ssh proxy, or just from the nagios server?
Meaning, can you just run it from the Nagios XI command prompt?
Meaning, can you just run it from the Nagios XI command prompt?
Code: Select all
cd /usr/local/nagios/libexec
./check_dell_openmanage.pl -H <YOUR_DELL_SERVER_IP> -C pe_m610Re: Dell OpenManage - PowerEdge
I want to run it on a remote host which is Dell M610 blade running Linux OS (not on my Nagios XI local server).
Can I run Dell Open Manage using check_by_ssh command?
When I run this from command line, I get the following error:
./check_dell_openmanage.pl -H <Host Server IP> -C pe_m600
Must define system type!
Usage: ./check_dell_openmanage.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd) [-P <port>] -T test|dellom|dellom_storage|blade|global|chassis|blade_1855|blade_1955|pe_800|pe_840|pe_1800|pe_1900|pe_2600|pe_2800|pe_2850|pe_2900|pe_6800|pe_m600|pe_m710|pe_r210|pe_r200|pe_r300|pe_r510|pe_r610|pe_r710|pe_t300|pe_t310|pe_t410|pe_t610|pe_t710|model_servicetag|os|custom [-t <timeout>] [-V] [-u <unknown_default>]
When I run this command, I get the following error after few sec of wait time:
./check_dell_openmanage.pl -H <Host Server IP> -T pe_m600 -C pe_m600 -v
Alarm at 5
The Net::SNMP library is available on your server
SNMP responses...
ERROR: Alarm signal (Nagios time-out)
Can I run Dell Open Manage using check_by_ssh command?
When I run this from command line, I get the following error:
./check_dell_openmanage.pl -H <Host Server IP> -C pe_m600
Must define system type!
Usage: ./check_dell_openmanage.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd) [-P <port>] -T test|dellom|dellom_storage|blade|global|chassis|blade_1855|blade_1955|pe_800|pe_840|pe_1800|pe_1900|pe_2600|pe_2800|pe_2850|pe_2900|pe_6800|pe_m600|pe_m710|pe_r210|pe_r200|pe_r300|pe_r510|pe_r610|pe_r710|pe_t300|pe_t310|pe_t410|pe_t610|pe_t710|model_servicetag|os|custom [-t <timeout>] [-V] [-u <unknown_default>]
When I run this command, I get the following error after few sec of wait time:
./check_dell_openmanage.pl -H <Host Server IP> -T pe_m600 -C pe_m600 -v
Alarm at 5
The Net::SNMP library is available on your server
SNMP responses...
ERROR: Alarm signal (Nagios time-out)
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Dell OpenManage - PowerEdge
Yes, but you would need to install the plugin on the machine that is going to be running it.lgitten wrote:Can I run Dell Open Manage using check_by_ssh command?
Then you can test it from XI with something like
Code: Select all
./check_by_ssh -H <HOST_RUNNING_COMMAND> -C '/check_dell_openmanage.pl -H <DELL_IP> -T pe_m600 -C <DELL_SERVER_SNMP_COMMUNITY>'Re: Dell OpenManage - PowerEdge
Yes, but you would need to install the plugin on the machine that is going to be running it.scottwilkerson wrote:lgitten wrote:Can I run Dell Open Manage using check_by_ssh command?
Is it enough to just copy check_dell_openmanage.pl file to /usr/local/nagios/libexec/ onto remote monitoring Linux host or do I need to do more than that?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Dell OpenManage - PowerEdge
Maybe. I'm not positive if check_dell_openmanage.pl has any dependencies that need to be installed.. For sure once you copy it over you will need to make it executablelgitten wrote: Is it enough to just copy check_dell_openmanage.pl file to /usr/local/nagios/libexec/ onto remote monitoring Linux host or do I need to do more than that?
Code: Select all
chmod +x /usr/local/nagios/libexec/check_dell_openmanage.plRe: Dell OpenManage - PowerEdge
What is <HOST_RUNNING_COMMAND>? Option -H is to specify host by name or IP address.Then you can test it from XI with something likeCode: Select all
./check_by_ssh -H <HOST_RUNNING_COMMAND> -C '/check_dell_openmanage.pl -H <DELL_IP> -T pe_m600 -C <DELL_SERVER_SNMP_COMMUNITY>'
When I run this command from command line I get the following error:
./check_by_ssh -H <remote host IP> -C '/check_dell_openmanage.pl -H <remote host IP> -T pe_m600 -C public"
WARNING: - check_by_ssh -H <remote host IP> -C '/check_dell_openmanage.pl -H <remote host IP> -T pe_m600 -C public" returned status 1
What am I doing wrong?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Dell OpenManage - PowerEdge
Ok, you said you were going to install check_dell_openmanage.pl on a different machine (not your Nagios Server), so <HOST_RUNNING_COMMAND> is that machine. <DELL_IP> is the IP of the DELL server you are getting the information from.lgitten wrote:What is <HOST_RUNNING_COMMAND>? Option -H is to specify host by name or IP address.Then you can test it from XI with something likeCode: Select all
./check_by_ssh -H <HOST_RUNNING_COMMAND> -C '/check_dell_openmanage.pl -H <DELL_IP> -T pe_m600 -C <DELL_SERVER_SNMP_COMMUNITY>'
When I run this command from command line I get the following error:
./check_by_ssh -H <remote host IP> -C '/check_dell_openmanage.pl -H <remote host IP> -T pe_m600 -C public"
WARNING: - check_by_ssh -H <remote host IP> -C '/check_dell_openmanage.pl -H <remote host IP> -T pe_m600 -C public" returned status 1
What am I doing wrong?
However I do see a mistake in my example, it should be
Code: Select all
./check_by_ssh -H <HOST_RUNNING_COMMAND> -C '/usr/local/nagios/libexec/check_dell_openmanage.pl -H <DELL_IP> -T pe_m600 -C <DELL_SERVER_SNMP_COMMUNITY>'Re: Dell OpenManage - PowerEdge
It looks like check_dell_openmanage.pl plugin has some dependencies. It's not enough to just copy check_dell_openmanage.pl plugin into /usr/local/nagios/libexec/check_dell_openmanage.pl on the remote host that I want to monitor. I did make it executable and owned by nagios user.scottwilkerson wrote:Maybe. I'm not positive if check_dell_openmanage.pl has any dependencies that need to be installed.. For sure once you copy it over you will need to make it executablelgitten wrote: Is it enough to just copy check_dell_openmanage.pl file to /usr/local/nagios/libexec/ onto remote monitoring Linux host or do I need to do more than that?Then you can try to run it on the local machine with the appropriate args and see what it returns.Code: Select all
chmod +x /usr/local/nagios/libexec/check_dell_openmanage.pl
I can execute /usr/local/nagios/libexec/check_dell_openmanage.pl -H <remote Host IP> -T blade -C public
from my Nagios XI server and get desirable output. But it does not work passing it using ssh:
>/usr/local/nagios/libexec/check_by_ssh -H <remote host IP> -C '/usr/local/nagios/libexec/check_dell_openmanage.pl -H <Host IP> -T blade -C public'
I get "returned status 1"
Executing /usr/local/nagios/libexec/check_dell_openmanage.pl -H <Host IP> -T blade -C public on the host itself does not return any output nor an error.
Please advice!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Dell OpenManage - PowerEdge
That is strange that executing it directly on the host gives no output and no errors at all.
Just to verify, the host that is running the command, can reach the dell server right?
eg.
returns a result
Just to verify, the host that is running the command, can reach the dell server right?
eg.
Code: Select all
ping <Dell IP>