Re: [Nagios-users] Log Rotations Issue
Hmm, does Nagios clean out old entries in retention.dat on a daily basis? And it's this process which is failing, and it's not log-related? I'm unlikeky to find any time to check the source in the immediate future, alas. Phil -Original Message- From: Alaric [mailto:paxindust...@gmail.com] Sent: 06 February 2013 15:43 To: Nagios Users List Subject: Re: [Nagios-users] Log Rotations Issue On Jan 31, 2013, at 12:53 PM, Randal, Phil phil.ran...@hoopleltd.co.uk wrote: I'm seeing the same issue here :-( Phil Phil, Stopping Nagios completely, and then flushing retention.dat worked for me. I stopped Nagios, NSCA, and NRPE, then did a cat retention.dat then restarted all of the nagios related services. (reloaded xinetd too which is where mk_livestatus runs for me) The following night, log rotations worked and Current status updated correctly. I have no real idea what this worked, but it did. I hope it helps you! -a -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ 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 “Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ 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] distributable downtime delete commands?
Thanks a lot Paul, We have been achieving the same goals with pynag scripts and DEL_SVC_DOWNTIME command. Is there anyone on the list that might take it into their hands to keep documentation up to date, maybe even write a routine in nagios to ask for every supported external command, so that external scripts know what external commands are supported ? The pynag team depends on the documentation to generate library functions, but we have found a few glitches in both external commands docs and the nagios.cfg docs. Anyone willing to help us on getting it right deserves a beer. Kind regards, Pall Sigurdsson - Original Message - From: Paul Dubuc w...@paul.dubuc.org To: Nagios Users List nagios-users@lists.sourceforge.net Cc: Nagios Developers List nagios-de...@lists.sourceforge.net Sent: Wednesday, February 6, 2013 8:50:05 PM Subject: Re: [Nagios-users] distributable downtime delete commands? Paul Dubuc wrote: Among the enhancements listed for Nagios 3.3.1: 3.3.1. - 07/25/2011 ENHANCEMENTS * Downtime delete commands made distributable by deleting by host group name, host name or start time/comment (Opsview team) Where are these commands documented? I don't see them in the online documentation: http://old.nagios.org/developerinfo/externalcommands/commandlist.php?category_id=6version_id=0btnSubmit=Update only lists delete commands that require a downtime ID. For anyone else who's interested, here are the external command formats for these new commands. They're very handy for automating downtime deletion since downtime IDs are hard to obtain for that purpose. Values in in brackets are optional and serve to make filtering more specific: DEL_DOWNTIME_BY_HOSTGROUP_NAME;hostgroup_name;[host_name];[service_desription];[start_time];[comment] DEL_DOWNTIME_BY_HOST_NAME;host_name;[service_desription];[start_time];[comment] DEL_DOWNTIME_BY_START_TIME_COMMENT;start_time;[comment] DEL_DOWNTIME_BY_START_TIME_COMMENT;comment -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ 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 -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ 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