growing host-perfdata
-
robert.anderko
- Posts: 33
- Joined: Thu Apr 24, 2014 5:38 pm
growing host-perfdata
Hi all,
please, can you help me with growing up file /var/nagiosramdisk/host-perfdata ? I have Nagios XI 5.2.3 and host-perf data still growing up and filling RAM disk to the full... I dont have idea where is problem...
please, can you help me with growing up file /var/nagiosramdisk/host-perfdata ? I have Nagios XI 5.2.3 and host-perf data still growing up and filling RAM disk to the full... I dont have idea where is problem...
Re: growing host-perfdata
This could be many different things. Could you please PM me your Nagios profile so that I can take a look at it and understand your system a bit better?
You can download it by navigating to Admin -> System Profile -> Download Profile.
EDIT: Profile received.
You can download it by navigating to Admin -> System Profile -> Download Profile.
EDIT: Profile received.
Former Nagios Employee
Re: growing host-perfdata
I looked at your profile and things do look fine. Your available memory is getting a bit low to be honest, but everything else looks OK.
How big is your ramdisk currently?
How big is your ramdisk currently?
Former Nagios Employee
-
robert.anderko
- Posts: 33
- Joined: Thu Apr 24, 2014 5:38 pm
Re: growing host-perfdata
Code: Select all
tmpfs 2048000 411200 1636800 21% /var/nagiosramdisk- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: growing host-perfdata
Honestly this should not grow, it should be processed and deleted.
You should follow this troubleshooting article:
https://support.nagios.com/kb/article.php?id=9
Does it help identify the problem?
You should follow this troubleshooting article:
https://support.nagios.com/kb/article.php?id=9
Does it help identify the problem?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
robert.anderko
- Posts: 33
- Joined: Thu Apr 24, 2014 5:38 pm
Re: growing host-perfdata
box293,
thx for your reply, but not helped.
All files in directory /var/nagiosramdisk/spool/perfdata/ are processed, but i have still file /var/nagiosramdisk/host-perfdata which still growing up and filling RAM disk to the 100%... When i null this file, again growing up and all is ring...
now is situation:
thx for your reply, but not helped.
All files in directory /var/nagiosramdisk/spool/perfdata/ are processed, but i have still file /var/nagiosramdisk/host-perfdata which still growing up and filling RAM disk to the 100%... When i null this file, again growing up and all is ring...
now is situation:
Code: Select all
[root@mon01 nagiosramdisk]# ll
total 419168
-rw-r--r-- 1 nagios nagios 404764611 Mar 3 00:27 host-perfdata
-rw-r--r-- 1 nagios nagios 9490800 Mar 2 22:41 objects.cache
-rw-r--r-- 1 nagios nagios 24741 Mar 3 00:27 service-perfdata
drwxrwxr-x 5 nagios nagios 100 Dec 9 16:01 spool
-rw-r--r-- 1 nagios nagios 14934469 Mar 3 00:27 status.dat
drwxrwxr-x 2 nagios nagios 40 Mar 2 22:41 tmp
-
robert.anderko
- Posts: 33
- Joined: Thu Apr 24, 2014 5:38 pm
Re: growing host-perfdata
guys,
what is right configuration in /usr/local/nagios/etc/commands.cfg? i have now, after little changing:
and seems file /var/nagiosramdisk/host-perf-data is processed...
what is right configuration in /usr/local/nagios/etc/commands.cfg? i have now, after little changing:
Code: Select all
define command {
command_name process-host-perfdata-file-bulk
command_line /bin/mv /var/nagiosramdisk/host-perfdata /var/nagiosramdisk/spool/xidpe/$TIMET$.perfdata.host
}
define command {
command_name process-host-perfdata-file-pnp-bulk
command_line /bin/mv /var/nagiosramdisk/host-perfdata /var/nagiosramdisk/spool/xidpe/host-perfdata.$TIMET$
}
define command {
command_name process-host-perfdata-pnp-normal
command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
}
define command {
command_name process-service-perfdata-file-bulk
command_line /bin/mv /var/nagiosramdisk/service-perfdata /var/nagiosramdisk/spool/xidpe/$TIMET$.perfdata.service
}
define command {
command_name process-service-perfdata-file-pnp-bulk
command_line /bin/mv /var/nagiosramdisk/service-perfdata /var/nagiosramdisk/spool/xidpe/service-perfdata.$TIMET$
}
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: growing host-perfdata
Your process-host-perfdata-file-bulk and process-service-perfdata-file-bulk commands are correct.
Make sure you edited these commands in CCM and not directly in your commands.cfg file as the next time you apply configuration they will get overwritten.
Make sure you edited these commands in CCM and not directly in your commands.cfg file as the next time you apply configuration they will get overwritten.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
robert.anderko
- Posts: 33
- Joined: Thu Apr 24, 2014 5:38 pm
Re: growing host-perfdata
yes, was edited from CCM, not from shell...
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: growing host-perfdata
Excellent, let us know if the disk space keeps rising as that would indicate an issue still exists.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.