Page 1 of 1

/usr/local/nagiosxi/tmp junk?

Posted: Mon Sep 10, 2018 10:54 am
by TBT
I've noticed /usr/local/nagiosxi/tmp contains 1585+ files, some of which are dated over a year old. Generally the files are less than 1M, but one exceeds 2GB in size.

Doesn't Nagios XI automatically clean this up, or is it safe to remove these files manually?

Example file names:
  • component-*
    configwizard-*
    dashlet-*
    snmpwalk--IP-address
    snmpwalk-mib-2.100465-IP-address
    snmpwalk-ifType-IP-address
    snmpwalk-ifName.112353-IP-address
    snmpwalk-ifOctet.30101-IP-address
    mrtg-IP-address
    mrtg-IP-address.done

Re: /usr/local/nagiosxi/tmp junk?

Posted: Mon Sep 10, 2018 11:10 am
by npolovenko
Hello, @TBT. Generally, these are temporary files left by various upgrade scripts and components and safe to be removed. Can you let me know the name of the file that takes up 2gb?

Re: /usr/local/nagiosxi/tmp junk?

Posted: Mon Sep 10, 2018 11:17 am
by TBT
npolovenko wrote:Hello, @TBT. Generally, these are temporary files left by various upgrade scripts and components and safe to be removed. Can you let me know the name of the file that takes up 2gb?
-rwxrwxr-- 1 nagios nagios 2.2G Jan 19 2017 ./snmpwalk--<IP-address>

Re: /usr/local/nagiosxi/tmp junk?

Posted: Mon Sep 10, 2018 11:20 am
by npolovenko
@TBT, You can remove this file. It was probably left by one of the wizards during the initial snmp walk of a network device.