Re: [Nagios-users] Perfdata-file is gone after running nagiosgraph
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 signature.asc Description: Digital signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Perfdata-file is gone after running nagiosgraph
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/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Perfdata-file is gone after running nagiosgraph
Hello Patrick 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. I have one question for you, 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. finally I put insert.pl in crontab, because Nagios was not running it at all, so rrd files was not created. Thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Perfdata-file is gone after running nagiosgraph
Stephan Windm?ller schrieb am Dienstag, den 03. Juli 2007: Hello! I found a problem with nagiosgraph but I am not sure whether this should be fixed in nagios or nagiosgraph. My perfdata-config looks like: process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/var/nagios/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 process-service-perfdata only runs insert.pl which renames the log and unlinks it after processing. But after this, nagios does not write any perfdata anymore. /var/nagios/service-perfdata is gone until the next restart of nagios. I am using both software under Solaris10/x86. Which version of Nagios are you running? What are your perfdata_file settings in Nagios.cfg? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@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