Search found 15 matches

by pshankland
Fri Jul 26, 2013 3:28 am
Forum: Open Source Nagios Projects
Topic: NULL Returned from check_ssl_certificate
Replies: 1
Views: 1116

NULL Returned from check_ssl_certificate

Hi, I am trying to use the check_ssl_certificate script from http://exchange.nagios.org/directory/Plugins/Network-Protocols/HTTP/check_ssl_certificate/details It appears to work fine from the command line: [root@rpl-jensen libexec]# perl check_ssl_certificate.pl -H 172.29.1.34 -p 443 -w 30 -c 10 m=A...
by pshankland
Mon Jun 10, 2013 10:30 am
Forum: Open Source Nagios Projects
Topic: NagiosGraph Reporting Incorrect Units - Mb instead of Gb
Replies: 1
Views: 1439

NagiosGraph Reporting Incorrect Units - Mb instead of Gb

Hi, I am using Nagios Core 3.5.0 and NagiosGraph 1.4.4. I am also using the 'Check NetApp NG' plugin to retrieve volume information. When I run the check_netapp_ng.pl script from the CLI I get the correct values, for example: [root@nagios libexec]# perl check_netapp_ng.pl -H 10.10.10.10 -C public -T...
by pshankland
Mon Jun 11, 2012 10:58 am
Forum: Open Source Nagios Projects
Topic: IBM / LSI MegaCLI
Replies: 10
Views: 10920

Re: IBM / LSI MegaCLI

Sorry, spotted a mistake in the modification to VISUDO...

Code: Select all

nagios ALL = NOPASSWD: /opt/MegaRAID/MegaCLI/MegaCli64
should actually be

Code: Select all

nagios ALL = NOPASSWD: /opt/MegaRAID/MegaCli/MegaCli64
Just a cAsE issue :)
check_serveraid working.png
Thanks.
by pshankland
Mon Jun 11, 2012 10:55 am
Forum: Open Source Nagios Projects
Topic: IBM / LSI MegaCLI
Replies: 10
Views: 10920

Re: IBM / LSI MegaCLI

Used vi to modify VISUDO and added the following line as directed: nagios ALL = NOPASSWD: /opt/MegaRAID/MegaCLI/MegaCli64 Then I modified the check_serveraid.sh script to the following: #! /bin/sh cd /opt/MegaRAID/MegaCli/ sudo ./MegaCli64 -PDInfo -PhysDrv [$1:$2] -aALL | grep -e 'Drive Temperature'...
by pshankland
Mon Jun 11, 2012 5:14 am
Forum: Open Source Nagios Projects
Topic: IBM / LSI MegaCLI
Replies: 10
Views: 10920

Re: IBM / LSI MegaCLI

Hmm, if I run:

Code: Select all

su root -s /bin/bash -c "./check_serveraid.sh 252 0"
I get:

Code: Select all

Drive Temperature :36C (96.80 F)
However, if I run:

Code: Select all

su nagios -s /bin/bash -c "./check_serveraid.sh 252 0"
I get no output :(

Any ideas how I can fault find this?

Thanks.
by pshankland
Fri Jun 01, 2012 2:50 am
Forum: Open Source Nagios Projects
Topic: IBM / LSI MegaCLI
Replies: 10
Views: 10920

Re: IBM / LSI MegaCLI

What are the permissions of your file? Can you run this script as nagios user? -rwxrwxr-x 1 nagios nagios 85 Jun 1 08:41 check_serveraid.sh I have also moved the MegaCli64 executable to the plugins directory and changed the owner / permissions: -rwxr-xr-x 1 nagios nagios 2570568 Jun 1 08:40 MegaCli...
by pshankland
Thu May 31, 2012 3:41 am
Forum: Open Source Nagios Projects
Topic: IBM / LSI MegaCLI
Replies: 10
Views: 10920

Re: IBM / LSI MegaCLI

Hi, I have got the following script called 'check_serveraid.sh': #! /bin/sh cd /opt/MegaRAID/MegaCli/ ./MegaCli64 -PDInfo -PhysDrv [$1:$2] -aALL | grep -e 'Drive Temperature' As an example, when you run './check_serveraid.sh 252 0' from the plugins directory you get the following output: Drive Tempe...
by pshankland
Wed May 30, 2012 7:56 am
Forum: Open Source Nagios Projects
Topic: IBM / LSI MegaCLI
Replies: 10
Views: 10920

IBM / LSI MegaCLI

Hi all, Have just installed the MegaCLI application on my Nagios server to see what information I could pull off the RAID controller. Just be running a single command you can find out loads of information that would be really useful: [root@rpl-jensen MegaCli]# ./MegaCli64 -PDList -aALL Adapter #0 En...
by pshankland
Fri Mar 02, 2012 4:45 am
Forum: Nagios XI
Topic: NagiosXI Install Issue
Replies: 11
Views: 3414

Re: NagiosXI Install Issue

Right, did a fresh install of CentOS 6.2 32Bit minimal. All I then did was: Configured networking Modified yum.conf for proxy Installed vim and wget Modified wgetrc for proxy Disabled SELINUX Added a new user for SSH access Disabled root from SSH access yum update -y Reboot After all this I ran the ...