Random Project

Worked like a charm!!!

This is my Dell Server Output with Linux Server.

./check_dell_omreport.pl
WARNING: Controller0=Non-Critical/Degraded [ Battery0=Ok/Ready Vdisk0=Ok/Ready [ 0:0=Ok/Online 0:1=Ok/Online 0:2=Ok/Online 0:3=Ok/Online ] ]

Without making much efforts, just configure this in NRPE or SWITCH.CFG File. The configuration file contents are as given below.

Nagios Server:

define service{
use generic-service ; Inherit values from a template
host_name Dell NFS Server
service_description RAID Status
check_command check_nrpe!check_dell_omreport
notifications_enabled 0

Nagios Client(NRPE)

command[check_dell_omreport]=/usr/local/nagios/libexec/check_dell_omreport.pl

Save & Exit
Restart Xinetd service

That’s it.