Perfdata-file is gone after running nagiosgraph
Nagios
nagios at unixplanet.biz
Fri Jul 20 14:10:30 CEST 2007
thanks for the patch url.
I just found that our Nagios is built with embeded perl option, and I
have to mention the path
to perl before each plugin. that was the reason perfformance cammand was
not executed
through nagios.cfg. however still I had some weired problems with
nagiosgraph.
1-I don't know why when I reload nagios, it removes
/tmp/service-perfdata file.
2- I have added /usr/bin/perl before plugin command and it works on our
dev servers,
but in our production server, nothing is written to /tmp/service-perfdata.
Cheers
Stephan Windmüller wrote:
> On Fri, 20. Jul 2007, Nagios wrote:
>
>
>> I had the same problem, because insert.pl rename the perfdata file,
>> but does not create a new one, you can add a line to insert.pl to
>> create a new file, so another file will be created after processing
>> old data, however for now, because I am debugging nagios and
>> nagiosgraph , I just removed those lines in insert.pl so I can test
>> perfdata output.
>>
>
> You can see my patch for this at
> http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html#nagiosgraph-install
>
>
>> I set up Nagios.cfg the same as your config, but Nagios is not running
>> the service_performance_data_file, are you having the same problem? or
>> it is just me.
>>
>
> Here nagios starts insert.pl as it should.
>
> - Stephan
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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