Getting Performance Data into the perfdata files
Cook, Garry
GWCOOK at mactec.com
Wed May 26 21:49:26 CEST 2004
Ben Clewett wrote:
> Garry,
>
> The only other thing I can thing of is staining the output from
> check_load by recompiling with some noticable debug. Then see if it
> comes up in logs or anything. But I see you have tried this. So it's
> definitelly running your version with perf data, and this data is
> definitelly being lost.
>
> The only difference I can see is the flags you use to compile nagios.
> You could try a vanilla build with only the
> --with-file-perfdata. Bit
> radical, but all I can thing of.
>
> ???
>
> Ben
At this point I've tried everything I know to do to troubleshoot this
issue. I've even recompiled Nagios with the default Performance Data
method and setup commands to append the data to the log files, which
produced the same results (or lack of results) as the File Based
perfdata method.
Let me ask the following of anyone who is currently using Performance
Data, be it file based or default method:
When you look in the nagios log file, and see the entries pertaining to
the checks that would return perfdata, is the pipe and $PERFDATA$ value
included in the log entry?
I'm not seeing perdata in my nagios.log, I only see an entry such as:
[1085599923] SERVICE ALERT: monitor2;System Load Average;OK;HARD;1;OK -
load average: 1.09, 1.09, 1.15
Should the perfdata be shown here as well?
As I've shown before, it works fine from the command line:
/usr/local/nagios/libexec: sudo ./check_load -w 3,3,3 -c 5,5,5
OK - load average: 1.39, 1.10, 1.09|load1=1;3;5;0 load5=1;3;5;0
load15=1;3;5;0
Any help greatly appreciated. I really don't want to give up on this
feature.
Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 720.220.1862 (Mobile)
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list