checkxxx in /tmp NagiosXI server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
twigg0
Posts: 20
Joined: Thu May 10, 2012 7:55 am

checkxxx in /tmp NagiosXI server

Post by twigg0 »

Hi all,
i notice that i have so many files in /tmp directory of our NagiosXI

[root@server tmp]# ls -al |wc -l
8070

How can I flush and delete these files???

Files are something like that :

check9mzsnn
checkPsl14l
checkfk1DbD

Someone could help me please?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: checkxxx in /tmp NagiosXI server

Post by slansing »

You can simply run:

Code: Select all

rm -rf /tmp/check*
They could be there either because nagios is not picking up the results, there was a connection drop between the nagios server and the host's, or the checks never returned for some other reason. Are you receiving valid status updates for your objects?
twigg0
Posts: 20
Joined: Thu May 10, 2012 7:55 am

Re: checkxxx in /tmp NagiosXI server

Post by twigg0 »

yes no problem at all, i'm receiving valid status updates...
I notice that I have these checkxxx in /home/nagios/tmp too, with 34001 files...
What can I do? THe only solution is delete all files?

Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: checkxxx in /tmp NagiosXI server

Post by abrist »

twigg0 wrote:What can I do? THe only solution is delete all files?
You will probably need to remove those files as they will cause reaping to backup. Are they recent files? Are more generated and not reaped frequently? If so, then we need to troubleshoot further as well. Otherwise, if they are old files, they may be left over from an earlier issue that was resolved.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked