Nagios3: Temp-files were not deleted

Thomas Stolle it0a60 at retail-sc.com
Fri Jan 5 08:32:47 CET 2007


Dear list members,

in the temp_path of nagios3 some of the temporary files seems to be not 
deleted after use. 

# TEMP PATH
# This is path where Nagios can create temp files for service check
# results, etc.
temp_path=/tmp/nagios

Yeserday I found some thousand old files in this folder, most of them 
several days old. Some were empty (size 0)  but some contained a 
checkresult.

Example:
OK - 10.xxx.xxx.xxx: rta 12.929ms, lost 
0%|rta=12.929ms;3000.000;5000.000;0; pl=0%;80;100;;

I stopped nagios, deleted the files and started nagios again.
Since yesterday evening there are a lot of new files, which are not from 
actual checks.

-rw-------  1 nagios nagios  68 Jan  5 08:05 nagios0yEKr9
-rw-------  1 nagios nagios 112 Jan  5 08:05 nagios2i6iqK
-rw-------  1 nagios nagios  92 Jan  4 23:36 nagios4Ut05O
-rw-------  1 nagios nagios  95 Jan  5 05:18 nagios4V5T7Z
-rw-------  1 nagios nagios  37 Jan  5 08:05 nagios69wUlS
-rw-------  1 nagios nagios  44 Jan  5 08:05 nagios7kpeTT
-rw-------  1 nagios nagios  37 Jan  5 08:05 nagiosAyDm6I
-rw-------  1 nagios nagios  68 Jan  5 08:05 nagiosBcBfcK
-rw-------  1 nagios nagios  44 Jan  5 06:52 nagiosc0qzyH
-rw-------  1 nagios nagios  54 Jan  4 18:19 nagiosEbnYyp
-rw-------  1 nagios nagios  42 Jan  4 17:46 nagiosem3enr
-rw-------  1 nagios nagios  42 Jan  5 08:05 nagiosFC5tHn
-rw-------  1 nagios nagios  90 Jan  5 08:05 nagiosFcbB3T
-rw-------  1 nagios nagios  42 Jan  5 08:05 nagiosgIaFTd
-rw-------  1 nagios nagios  40 Jan  5 08:05 nagiosHjr2tg
-rw-------  1 nagios nagios  25 Jan  5 07:45 nagiosHQaQok
-rw-------  1 nagios nagios 112 Jan  5 03:03 nagiosHqqTGM
-rw-------  1 nagios nagios  92 Jan  4 16:15 nagiosiDKdQa
-rw-------  1 nagios nagios  54 Jan  5 08:05 nagiosIE3WpP
-rw-------  1 nagios nagios  91 Jan  5 08:05 nagiosjE9wfJ
-rw-------  1 nagios nagios  36 Jan  4 18:57 nagiosJo9scw
-rw-------  1 nagios nagios  92 Jan  5 08:05 nagiosJSramr
-rw-------  1 nagios nagios  91 Jan  5 08:05 nagiosJySLFC
-rw-------  1 nagios nagios  91 Jan  5 08:05 nagiosKbbN24
-rw-------  1 nagios nagios  68 Jan  5 08:05 nagiosLDAyA2
-rw-------  1 nagios nagios  36 Jan  5 08:05 nagiosmOkGUV
-rw-------  1 nagios nagios  93 Jan  5 08:05 nagiosNPCbYC
-rw-------  1 nagios nagios 112 Jan  5 08:05 nagiosnQC40w
-rw-------  1 nagios nagios 112 Jan  4 17:57 nagiosqmU4XV
-rw-------  1 nagios nagios  90 Jan  5 08:05 nagiosRYNDao
-rw-------  1 nagios nagios  91 Jan  4 18:01 nagiossVBLLE
-rw-------  1 nagios nagios  91 Jan  5 08:05 nagiost4dCCy
-rw-------  1 nagios nagios  68 Jan  5 08:05 nagiosvLBWN3
-rw-------  1 nagios nagios 112 Jan  5 02:07 nagiosVXU0My
-rw-------  1 nagios nagios  54 Jan  5 08:05 nagiosWFV5ci
-rw-------  1 nagios nagios  36 Jan  5 08:05 nagioswQTsGA
-rw-------  1 nagios nagios  54 Jan  5 08:05 nagiosxVECf9
-rw-------  1 nagios nagios  40 Jan  4 22:58 nagiosYDH02R
-rw-------  1 nagios nagios 112 Jan  5 08:05 nagiosz2o85u

As you can see, many of these were generated Jan  5 08:05. That's the time 
I stopped and restarted nagios. 
I suppose active checks at the time nagios is stopped are the main reason 
for this but also during normal operating some files remain in this folder 
and were not deleted after use.

Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070105/df3ddb2c/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list