[Nagiosplug-help] Newbie gets no status information

Colin McKinnon colin.mckinnon at gmail.com
Wed Oct 31 11:00:31 CET 2007


Hi all,

I'm a Nagios newbie, but like to think I know what I'm doing with computers.

I've written a couple of plugins using PHP. These seem to be reporting
the status correctly in Nagios (v. 2.9) but the 'information text' is
not showing in the frontend.

e.g. when I run my script from the command line:

$ ./check_portal_response.php -p LP -m response -t 10 -w 4 -c 2
RESPONSE OK : Last ws1 response=0.786052;Last ws2 response=0.687574
$

But in the web frontend the 'Status information' column is blank.

I've tried:

MEASURE STATUS - INFO
MEASURE STATUS: INFO
MEASURE STATUS : INFO

but none seem to work.

I've also tried to google 'nagios plugin "status information"' but
found nothing relevant.

I have confirmed that my script is writing to STDOUT.

Any ideas?

TIA

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM d s+:+ a+ C+++(---)$ UL+++ P+(--) L+++ E--- W+++ N++ w-- PS++(+++())
t+ 5+ X R- tv-- b++ DI++ D e+++ h----
------END GEEK CODE BLOCK------




More information about the Help mailing list