Nagios fills up the /tmp directory

Hendrik Baecker b00mer at gmx.net
Sat Jul 9 08:26:02 CEST 2005


Hi Mark,

I am assuming that you're using the check_mssql.sh Plugin and the IP 
Adresses are all your MSSQL Server?

I got this little failure long time ago and since them just deleted the 
files because they don't comes regulary.

But I think on a special error with the MS-SQL Check this files were 
written and were not be cleaned up by the script.
I am sorry but until now I had no chance to find out where to change the 
plugin, it looks clean for me.
In every situation the 'rmcmd' is called for every of the three tmpfiles 
before script termination.

A few days ago I've changed the filenames of the three tmpfiles and 
waiting for this special error to find out in which section of the 
script the error comes from.

Now it looks like that the error occurs when the check_mssql.sh runs 
into a Service Check timeout:

This is in the Nagios-Log:
[06-07-2005 21:24:33] SERVICE ALERT: WIN100A023;MS-SQL 
2000;CRITICAL;SOFT;1;(Service Check Timed Out)

And these are the files:
-rw-------    1 nagios   nagios          0 Jul  6 21:24 
10.2.70.132-error.KayB5a
-rw-------    1 nagios   nagios          0 Jul  6 21:24 
10.2.70.132-result.c8dPP7
-rw-------    1 nagios   nagios         12 Jul  6 21:24 
10.2.70.132-tmp.SoGrv7

On Monday I have to find out from our Database Guys what was happend to 
their MS SQL on that date. Perhaps I can tell you more on Monday.

Mark Rinaudo schrieb:

>nagios-users,
>
>I've been using nagios for a little over a year. I'm running Nagios 1.2.
>I've just recently started running into problems where Nagios is writing
>files to the /tmp directory but does'nt seem to be removing them.
>The files start with the Ip address of the host that it's checking with
>an extension containing a series of letters and numbers.  For some
>reason Nagios is filling up the /tmp directory with the maximum number
>of files allowed in a directory (not space wise) which causes the email
>server to break on the server making Nagios useless.  This is running on
>Debian (woody). I've checked the permissions on the tmp directory and
>it's rwx by everyone.  Has anyone run into this problem and what did you
>do to fix it?
>
>TIA
>mark
>
>  
>




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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