[Nagiosplug-help] Newbie gets no status information

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Wed Oct 31 11:16:23 CET 2007


Hi Colin,

have you read this guide?

http://nagiosplug.sourceforge.net/developer-guidelines.html

> -----Original Message-----
> From: nagiosplug-help-bounces at lists.sourceforge.net
> [mailto:nagiosplug-help-bounces at lists.sourceforge.net]On 
> Behalf Of Colin
> McKinnon
> Sent: Wednesday, October 31, 2007 11:01 AM
> To: nagiosplug-help at lists.sourceforge.net
> Subject: [Nagiosplug-help] Newbie gets no status information
> 
> 
> 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------
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and 
> a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to
/dev/null
> 




More information about the Help mailing list