System Info
Linux Distribution and version?
*Linux version 2.6.18-274.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Sep 6 20:14:03 EDT 2011
CentOS release 5.7 (Final)
32 or 64bit?
32 bit
VMware Image or Manual Install of XI?
VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
No.
ISSUE:
I ran the Dell OpenManage Wizard that came with NagiosXi. It is not defining the "CRITICAL" alert when a disc drive is pulled or goes bad; Rather it just shows: CRITICAL: systemStateGlobalSystemStatus=Critical
It does report correctly the following (Please see Attachment)
Dell OpenManage - Model Service Tag Information
Dell OpenManage - Operating System Information
We would like for it to report if a disc is bad/pulled from the Dell OpenManage server (they are on RAID).
How can I get http://folk.uio.no/trondham/software/ch ... anage.html to work using Nagios Xi?
Please help. Thanks.
Dell OpenManage - Alerts not defined
Dell OpenManage - Alerts not defined
You do not have the required permissions to view the files attached to this post.
Last edited by ecarrasq on Fri Sep 30, 2011 5:13 pm, edited 1 time in total.
Re: Dell OpenManage - Alerts not defined
The tests included with the Wizard are horrible in regards of truely letting you know what's going on. They are simply reporting what the global rollups are saying and you need to get into OM to know what the true issue is. The one you linked will work with Nagios XI with very little tweaking and provides a better status as to the true issue. There is an issue with the way it reports. It uses <br/> instead of newline and XI cannot deal with that well.
Grumpy Olde IT Guy
Re: Dell OpenManage - Alerts not defined
What you'd probably have to do to implement this new check would be to verify that you have the check_openmanage plugin by accessing the Admin->Manage Plugins page. If you have the plugin already installed you can create a new command definition and service according to the following doc, and use the link that you posted to set it up accordingly. The OpenManage wizard is a community developed wizard.
http://assets.nagios.com/downloads/nagi ... hp#plugins
http://assets.nagios.com/downloads/nagi ... hp#plugins
Re: Dell OpenManage - Alerts not defined
I will try your suggestions and will keep you posted. Thank you for your quick reply.
Re: Dell OpenManage - Alerts not defined
FIxed!
Thanks to the Nagios Conference (you guys, the other Nagios attendees and speakers), I gained a new level of understanding and knowledge of Nagios/NagiosXi to the point were I was able to implement this simple "check_openmanage" plugin according to the Windows Server Admins requirements, and its ALL working perfectly now! The conference paid off immediately even while I was still at the conference I was able to make great improvement in our organization monitoring, etc...
Thank you for all you do! You guys rock!
Steps I took to make it work:
Since I could not import the plugin (I imagine due to permissions), I manually added it:
I extracted the rpm in Ubuntu, then Added Perl script to Nagios via plugin manually:
1. WinSCP the perl script to Nagios server /tmp
2. SSH to Nagios Server
3. su - root
4. cd /tmp
5. chown apache:nagios (name of the perl script without parenthesis)
6. mv (name of the perl script without parenthesis) /usr/local/nagios/libexec
7. chmod +x (name of the perl script without parenthesis)
8. Run a test:
nagios server libexec]# ./check_openmanage -H (name of dell openmanage server) -C (community string) -i
Info returned the service tag, physical disks, which controller needed attention (removed), OS type, Raid type, GBs, Cache battery degredation)
9. I then added a new command for check_openmanage and created the service.
To see all the check_openmanage options type: ./check_openmanage -h
Usage: check_openmanage [OPTION]...
GENERAL OPTIONS:
-f, --config Specify configuration file
-p, --perfdata Output performance data [default=no]
-t, --timeout Plugin timeout in seconds [default=30]
-c, --critical Custom temperature critical limits
-w, --warning Custom temperature warning limits
-F, --fahrenheit Use Fahrenheit as temperature unit
-d, --debug Debug output, reports everything
-h, --help Display this help text
-V, --version Display version info
SNMP OPTIONS:
-H, --hostname Hostname or IP (required for SNMP)
-C, --community SNMP community string [default=public]
-P, --protocol SNMP protocol version [default=2]
--port SNMP port number [default=161]
-6, --ipv6 Use IPv6 instead of IPv4 [default=no]
--tcp Use TCP instead of UDP [default=no]
OUTPUT OPTIONS:
-i, --info Prefix any alerts with the service tag
-e, --extinfo Append system info to alerts
-s, --state Prefix alerts with alert state
-S, --short-state Prefix alerts with alert state abbreviated
-o, --okinfo Verbosity when check result is OK
-B, --show-blacklist Show blacklistings in OK output
-I, --htmlinfo HTML output with clickable links
CHECK CONTROL AND BLACKLISTING:
-a, --all Check everything, even log content
-b, --blacklist Blacklist missing and/or failed components
--only Only check a certain component or alert type
--check Fine-tune which components are checked
--no-storage Don't check storage
For more information and advanced options, see the manual page or URL:
http://folk.uio.no/trondham/software/ch ... anage.html
Thanks to the Nagios Conference (you guys, the other Nagios attendees and speakers), I gained a new level of understanding and knowledge of Nagios/NagiosXi to the point were I was able to implement this simple "check_openmanage" plugin according to the Windows Server Admins requirements, and its ALL working perfectly now! The conference paid off immediately even while I was still at the conference I was able to make great improvement in our organization monitoring, etc...
Thank you for all you do! You guys rock!
Steps I took to make it work:
Since I could not import the plugin (I imagine due to permissions), I manually added it:
I extracted the rpm in Ubuntu, then Added Perl script to Nagios via plugin manually:
1. WinSCP the perl script to Nagios server /tmp
2. SSH to Nagios Server
3. su - root
4. cd /tmp
5. chown apache:nagios (name of the perl script without parenthesis)
6. mv (name of the perl script without parenthesis) /usr/local/nagios/libexec
7. chmod +x (name of the perl script without parenthesis)
8. Run a test:
nagios server libexec]# ./check_openmanage -H (name of dell openmanage server) -C (community string) -i
Info returned the service tag, physical disks, which controller needed attention (removed), OS type, Raid type, GBs, Cache battery degredation)
9. I then added a new command for check_openmanage and created the service.
To see all the check_openmanage options type: ./check_openmanage -h
Usage: check_openmanage [OPTION]...
GENERAL OPTIONS:
-f, --config Specify configuration file
-p, --perfdata Output performance data [default=no]
-t, --timeout Plugin timeout in seconds [default=30]
-c, --critical Custom temperature critical limits
-w, --warning Custom temperature warning limits
-F, --fahrenheit Use Fahrenheit as temperature unit
-d, --debug Debug output, reports everything
-h, --help Display this help text
-V, --version Display version info
SNMP OPTIONS:
-H, --hostname Hostname or IP (required for SNMP)
-C, --community SNMP community string [default=public]
-P, --protocol SNMP protocol version [default=2]
--port SNMP port number [default=161]
-6, --ipv6 Use IPv6 instead of IPv4 [default=no]
--tcp Use TCP instead of UDP [default=no]
OUTPUT OPTIONS:
-i, --info Prefix any alerts with the service tag
-e, --extinfo Append system info to alerts
-s, --state Prefix alerts with alert state
-S, --short-state Prefix alerts with alert state abbreviated
-o, --okinfo Verbosity when check result is OK
-B, --show-blacklist Show blacklistings in OK output
-I, --htmlinfo HTML output with clickable links
CHECK CONTROL AND BLACKLISTING:
-a, --all Check everything, even log content
-b, --blacklist Blacklist missing and/or failed components
--only Only check a certain component or alert type
--check Fine-tune which components are checked
--no-storage Don't check storage
For more information and advanced options, see the manual page or URL:
http://folk.uio.no/trondham/software/ch ... anage.html