No rrd files are generated in new services
No rrd files are generated in new services
1.- Linux Distribution and version?: Centos 6.7
2.- 32 or 64bit?: x86_64
3.- VMware Image or Manual Install of XI?: Manual over VmWare
4.- Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?: No
Hi
for some reason the new services are added through the wizard "Network Switch / Router" are not generating the RRD files, we reviewed the errors logged in the forum but did not manage to solve the problem.
Regards
2.- 32 or 64bit?: x86_64
3.- VMware Image or Manual Install of XI?: Manual over VmWare
4.- Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?: No
Hi
for some reason the new services are added through the wizard "Network Switch / Router" are not generating the RRD files, we reviewed the errors logged in the forum but did not manage to solve the problem.
Regards
You do not have the required permissions to view the files attached to this post.
Re: No rrd files are generated in new services
Looks like you are hitting the perfdata timeout and NPCD load threshold, did you follow this FAQ entry?
https://support.nagios.com/wiki/index.p ... ta_Timeout
https://support.nagios.com/wiki/index.p ... ta_Timeout
Re: No rrd files are generated in new services
I made the switch, wait for results and tell them.
Thank you
Thank you
Re: No rrd files are generated in new services
How long did you wait before checking for the RRDs after you ran the wizard? It takes some time before the RRDs and XMLs get generated...
Run the following commands, and show the output.
Substitute <hostname> with the actual hostname.
Run the following commands, and show the output.
Code: Select all
ls -lad /usr/local/nagios/share/perfdata/<hostname>
ls -la /usr/local/nagios/share/perfdata/<hostname>Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: No rrd files are generated in new services
Hi good day.
We have waited several hours.
I edited the timeout perfdata then remove all host registration and services in the Nagios server, today I re-created using the wizard and have spent several minutes without the graphics are generated
[NagiosServer /]$ sudo ls -lad /usr/local/nagios/share/perfdata/PUC-SW-07-01/
drwxrwxr-x 2 nagios nagios 4096 May 12 09:14 /usr/local/nagios/share/perfdata/PUC-SW-07-01/
[NagiosServer /]$ sudo ls -la /usr/local/nagios/share/perfdata/PUC-SW-07-01/
total 3024
drwxrwxr-x 2 nagios nagios 4096 May 12 09:37 .
drwxrwxr-x. 216 nagios nagios 12288 May 12 09:08 ..
-rwxrwxr-x 1 nagios nagios 1534768 May 12 09:37 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios 3055 May 12 09:37 _HOST_.xml
-rwxrwxr-x 1 nagios nagios 1534768 May 12 09:34 Ping.rrd
-rw-rw-r-- 1 nagios nagios 3185 May 12 09:34 Ping.xml
We have waited several hours.
I edited the timeout perfdata then remove all host registration and services in the Nagios server, today I re-created using the wizard and have spent several minutes without the graphics are generated
[NagiosServer /]$ sudo ls -lad /usr/local/nagios/share/perfdata/PUC-SW-07-01/
drwxrwxr-x 2 nagios nagios 4096 May 12 09:14 /usr/local/nagios/share/perfdata/PUC-SW-07-01/
[NagiosServer /]$ sudo ls -la /usr/local/nagios/share/perfdata/PUC-SW-07-01/
total 3024
drwxrwxr-x 2 nagios nagios 4096 May 12 09:37 .
drwxrwxr-x. 216 nagios nagios 12288 May 12 09:08 ..
-rwxrwxr-x 1 nagios nagios 1534768 May 12 09:37 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios 3055 May 12 09:37 _HOST_.xml
-rwxrwxr-x 1 nagios nagios 1534768 May 12 09:34 Ping.rrd
-rw-rw-r-- 1 nagios nagios 3185 May 12 09:34 Ping.xml
Re: No rrd files are generated in new services
there is additional information here, I hope your help.
Thank you
Thank you
Code: Select all
[NagiosServer /]$sudo tail -50 /usr/local/nagios/var/perfdata.log | grep TIMEOUT
2016-05-11 01:12:03 [10314] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 01:12:03 [10314] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 01:12:03 [10314] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 01:12:03 [10314] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462939892.perfdata.service-PID-10314 deleted
2016-05-11 01:12:03 [10321] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 01:12:03 [10321] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 01:12:03 [10321] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 01:12:03 [10321] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462939908.perfdata.service-PID-10321 deleted
2016-05-11 05:20:32 [29933] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 05:20:32 [29933] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 05:20:32 [29933] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 05:20:32 [29933] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462954818.perfdata.service-PID-29933 deleted
2016-05-11 08:41:36 [27976] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 08:41:36 [27976] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 08:41:36 [27976] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 08:41:36 [27976] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462966877.perfdata.service-PID-27976 deleted
2016-05-11 12:00:21 [2708] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 12:00:21 [2708] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 12:00:21 [2708] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 12:00:21 [2708] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462978802.perfdata.service-PID-2708 deleted
2016-05-11 12:00:45 [5745] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 12:00:45 [5745] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 12:00:45 [5745] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 12:00:45 [5745] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462978821.perfdata.service-PID-5745 deleted
2016-05-11 12:07:44 [11919] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 12:07:44 [11919] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 12:07:44 [11919] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 12:07:44 [11919] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462979240.perfdata.service-PID-11919 deleted
2016-05-11 12:08:05 [14354] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 12:08:05 [14354] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 12:08:05 [14354] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 12:08:05 [14354] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462979252.perfdata.service-PID-14354 deleted
2016-05-11 12:08:09 [14355] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 12:08:09 [14355] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 12:08:09 [14355] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 12:08:09 [14355] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462979269.perfdata.service-PID-14355 deleted
2016-05-11 15:54:44 [9550] [0] *** TIMEOUT: Timeout after 5 Sec. ****
2016-05-11 15:54:44 [9550] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-05-11 15:54:44 [9550] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2016-05-11 15:54:44 [9550] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1462992858.perfdata.service-PID-9550 deleted
[NagiosServer /]$ date
Thu May 12 13:12:51 CLST 2016
Last edited by tmcdonald on Thu May 12, 2016 1:26 pm, edited 1 time in total.
Reason: Please use [code][/code] tags around long output
Reason: Please use [code][/code] tags around long output
Re: No rrd files are generated in new services
Do you see the "PUC-SW-07-01" rrd file in the "/var/lib/mrtg" directory, and what is its permissions?
Can you also run the following commands, and show the output:
Can you also run the following commands, and show the output:
Code: Select all
time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
tail -50 /usr/local/nagios/var/npcd.logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: No rrd files are generated in new services
No archive "rrd" related to the host or its services in the /var/lib/mrtg
[NagiosServer /]$ sudo time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
time: cannot run LANG=C: No such file or directory
0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 256maxresident)k
0inputs+0outputs (0major+54minor)pagefaults 0swaps
[NagiosServer /]$ tail -50 /usr/local/nagios/var/npcd.log -> attached the result
Thanks
[NagiosServer /]$ sudo time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
time: cannot run LANG=C: No such file or directory
0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 256maxresident)k
0inputs+0outputs (0major+54minor)pagefaults 0swaps
[NagiosServer /]$ tail -50 /usr/local/nagios/var/npcd.log -> attached the result
Thanks
You do not have the required permissions to view the files attached to this post.
Re: No rrd files are generated in new services
Can you run the command as root?
to time the check. If it fails, try:
Also, show the output of the following commands:
Code: Select all
su
time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfgCode: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfgCode: Select all
locale
cat /etc/sysconfig/i18nBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: No rrd files are generated in new services
the message "rbuckle" does not correspond to our server, please do not consider
Mod Edit: Post has been split to its own topic
Mod Edit: Post has been split to its own topic