Re: [Nagios-users] Odd errors in nagios.log

2009-05-04 Thread shadih rahman
Martin,
   were you able to solve this problem by changing check_result_reaper
value?  I am also receiving the following error.  Thansk


[1241449457] Error: Unable to rename file '/var/log/nagios/nagios.debug' to
'/var/log/nagios/nagios.debug.old': No such file or directory





[sr2...@]ls -ld .
drwxrwxr-x 6 nagios nagios 4096 May  4 11:07 .
[sr2...@x]ls -l |grep nagios
drwxrwxr-x 2 nagios nagios4096 May  1 00:00 archives
drwxrwxr-x 2 nagios nagios4096 Oct 18  2008 cache
-rw-rw-r-- 1 nagios nagios  842929 May  4 11:08 nagios.debug
-rw-rw-r-- 1 nagios nagios 159 May  4 11:07 nagios.debug.old
-rwxrwxr-x 1 nagios nagios 1753614 May  4 11:05 nagios.log
-rwxrwxr-x 1 nagios nagios   0 Apr 27 14:52 ndo2db.debug
-rwxrwxr-x 1 nagios nagios   0 May  4 11:00 ndomod.tmp
srwxrwxr-x 1 nagios nagios   0 May  1 14:53 ndo.sock
-rwxrwxr-x 1 nagios nagios 5566455 May  4 11:00 objects.cache
-rwxrwxr-x 1 nagios nagios 5208995 Apr  9 10:04 objects.precache
-rw--- 1 nagios nagios 8833834 May  4 11:00 retention.dat
drwxrwxrwx 2 nagios nagios4096 May  4 11:00 rw
drwxrwxr-x 3 nagios nagios4096 Oct 18  2008 spool
-rw-rw-r-- 1 nagios nagios 8847207 May  4 11:08 status.dat


On Fri, Apr 17, 2009 at 11:03 AM, Marc Ismael marcism...@gmail.com wrote:



 On Thu, Apr 16, 2009 at 5:43 PM, Martin A. Brooks 
 mar...@antibodymx.netwrote:

 Jim Avery wrote:
  You don't have more than one instance of the Nagios daemon running do
  you?  Try stopping the Nagios daemon, make sure all instances of
  nagios are stopped (using ps -ef | grep nagios), and kill any which
  remain then start the Nagios daemon using /etc/init.d/nagios start .

 I looked for the before, and there's definitely only one nagios instance
 running.   The problem persists across nagios restarts and reboots.

 Thanks

 --
 Martin A. Brooks |  http://www.antibodymx.net/ | Anti-spam  anti-virus
   Consultant|  mar...@antibodymx.net  | filtering. Inoculate
  antibodymx.net  |  m: +447792493388   | your mail system.



 try playing around with your check_result_reaper_* timings. I have a
 feeling that your check results are already stale before the reaper gets a
 chance to process them.

 tip: for a while, try setting max_check_result_file_age to 0 and see if
 you'd still get these errors. if not, then its a timing misconfiguration.

 cheers,
 Marc.I



 --
 Stay on top of everything new and different, both inside and
 around Java (TM) technology - register by April 22, and save
 $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
 300 plus technical and hands-on sessions. Register today.
 Use priority code J9JMT32. http://p.sf.net/sfu/p
 ___
 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




-- 
Cordially,
Shadhin Rahman
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
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] Odd errors in nagios.log

2009-04-17 Thread Marc Ismael
On Thu, Apr 16, 2009 at 5:43 PM, Martin A. Brooks mar...@antibodymx.netwrote:

 Jim Avery wrote:
  You don't have more than one instance of the Nagios daemon running do
  you?  Try stopping the Nagios daemon, make sure all instances of
  nagios are stopped (using ps -ef | grep nagios), and kill any which
  remain then start the Nagios daemon using /etc/init.d/nagios start .

 I looked for the before, and there's definitely only one nagios instance
 running.   The problem persists across nagios restarts and reboots.

 Thanks

 --
 Martin A. Brooks |  http://www.antibodymx.net/ | Anti-spam  anti-virus
   Consultant|  mar...@antibodymx.net  | filtering. Inoculate
  antibodymx.net  |  m: +447792493388   | your mail system.



try playing around with your check_result_reaper_* timings. I have a feeling
that your check results are already stale before the reaper gets a chance to
process them.

tip: for a while, try setting max_check_result_file_age to 0 and see if
you'd still get these errors. if not, then its a timing misconfiguration.

cheers,
Marc.I
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
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] Odd errors in nagios.log

2009-04-16 Thread Jim Avery
2009/4/16 Martin A. Brooks mar...@antibodymx.net:
 Hi

 I've recently been seeing many of the following kind of errors appearing
 nagios.log:

 [1239869767] Error: Unable to rename file
 '/var/lib/nagios3/spool/checkresults/checkSfWj1n' to
 '/var/lib/nagios3/spool/checkresults/cs7QqHJ': No such file or directory
 [1239869767] Warning: Unable to move file
 '/var/lib/nagios3/spool/checkresults/checkSfWj1n' to check results queue.
 [1239869767] Error: Unable to rename file
 '/var/lib/nagios3/spool/checkresults/checkb2W7d3' to
 '/var/lib/nagios3/spool/checkresults/cxj4rUo': No such file or directory
 [1239869767] Warning: Unable to move file
 '/var/lib/nagios3/spool/checkresults/checkb2W7d3' to check results queue.
 [1239869767] Error: Unable to rename file
 '/var/lib/nagios3/spool/checkresults/checkMroMQn' to
 '/var/lib/nagios3/spool/checkresults/cwRtKxJ': No such file or directory
 [1239869767] Warning: Unable to move file
 '/var/lib/nagios3/spool/checkresults/checkMroMQn' to check results queue.
 [1239869767] Error: Unable to rename file
 '/var/lib/nagios3/spool/checkresults/checkb2W7d3' to
 '/var/lib/nagios3/spool/checkresults/csiU5Uo': No such file or directory
 [1239869767] Error: Unable to rename file
 '/var/lib/nagios3/spool/checkresults/checkMroMQn' to
 '/var/lib/nagios3/spool/checkresults/cj9BayJ': No such file or directory
 [1239869767] Warning: Unable to move file
 '/var/lib/nagios3/spool/checkresults/checkMroMQn' to check results queue.
 [1239869767] Warning: Unable to move file
 '/var/lib/nagios3/spool/checkresults/checkb2W7d3' to check results queue.


 The only two references I can find for this error are:

 http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg22963.html

 which is inconclusive, and my own Debian bug report at:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522538

 (you can see nagios package and version details here, too).

 Any insights as to what might be causing these errors?

 Regards

 --
 Martin A. Brooks |  http://www.antibodymx.net/ | Anti-spam  anti-virus
   Consultant    |  mar...@antibodymx.net      | filtering. Inoculate
  antibodymx.net  |  m: +447792493388           | your mail system.


 --
 Stay on top of everything new and different, both inside and
 around Java (TM) technology - register by April 22, and save
 $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
 300 plus technical and hands-on sessions. Register today.
 Use priority code J9JMT32. http://p.sf.net/sfu/p
 ___
 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



You don't have more than one instance of the Nagios daemon running do
you?  Try stopping the Nagios daemon, make sure all instances of
nagios are stopped (using ps -ef | grep nagios), and kill any which
remain then start the Nagios daemon using /etc/init.d/nagios start .

hth,

Jim

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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] Odd errors in nagios.log

2009-04-16 Thread Martin A. Brooks
Jim Avery wrote:
 You don't have more than one instance of the Nagios daemon running do
 you?  Try stopping the Nagios daemon, make sure all instances of
 nagios are stopped (using ps -ef | grep nagios), and kill any which
 remain then start the Nagios daemon using /etc/init.d/nagios start .

I looked for the before, and there's definitely only one nagios instance 
running.   The problem persists across nagios restarts and reboots.

Thanks

-- 
Martin A. Brooks |  http://www.antibodymx.net/ | Anti-spam  anti-virus
   Consultant|  mar...@antibodymx.net  | filtering. Inoculate
 antibodymx.net  |  m: +447792493388   | your mail system.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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