Re: [Nagios-users] Log rotation issues...

2013-02-13 Thread Mike W
On 2/13/2013 6:58 PM, steve f wrote: > > hows your space on the server? Plenty of space and the directory I have configured for archives is owned by nagios (755). > > Steve > >> Date: Wed, 13 Feb 2013 17:47:02 -0600 >> From: uce_m...@yahoo.com >> To: nagios-users@lists.sourceforge.net >> Subject

Re: [Nagios-users] Log rotation issues...

2013-02-13 Thread steve f
hows your space on the server? Steve > Date: Wed, 13 Feb 2013 17:47:02 -0600 > From: uce_m...@yahoo.com > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Log rotation issues... > > For some reason the loggin with nagios has stopped rotating. I have > changed my setting to rota

[Nagios-users] Log rotation issues...

2013-02-13 Thread Mike W
For some reason the loggin with nagios has stopped rotating. I have changed my setting to rotate hourly to see if that would give me a clue but no joy. I normally use daily. log_rotation_method=h I am using nagios version 3.4.3 on RHEL 6.2. I find no errors in the logs related to rotation. Any

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-13 Thread Holger Weiß
* Tech Support [2013-02-13 11:58]: > foreach my $service ( @services ) { > > > > $nsca_cmd .= "$nscahost\t$service\t$code\t$output"; > > }; > > my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H $nagioshost -c > $nscacfg`; > > Like I said, Nagios is choking when the output

Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-13 Thread Stuart Browne
Sadly, the way NSCA works at the moment isn't capable of doing multi-line responses (when I investigated about 6 months ago at least) as it uses the external command file (which is a single-line command/response FIFO). What I ended up doing to simulate the behaviour was to implement gearman/mod

[Nagios-users] Problem sending passive results using NSCA with multi-line output

2013-02-13 Thread Tech Support
All; I have a bunch of ( PERL ) plugins that are run passively out of CRON with the results sent to the Nagios monitoring host using NSCA. Most of them work great, and they return results on dozens of services. I'm doing it this way because instead of running dozens of plugins actively, I can