No graphs data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rcordeiro
Posts: 30
Joined: Fri Feb 01, 2013 10:12 am

Re: No graphs data

Post by rcordeiro »

Hi,

I was checking some of the graphs and some of them have data, some don't...
I have data on all graphs for latency and I have bandwidth data on some graphs, mainly during night time, but for some graphs not even during night time.

Anything I can do to get bandwidth graphs, at least the more important?
What if I disable the checks on some interfaces that I know are down? I can leave the status check and disable only the bandwidth?

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

Re: No graphs data

Post by abrist »

You could disable checks on interfaces that will remain down though this may not save you much cpu. You could also increase the load threshold to 50 or 60. If the server continues to max out load no matter where you set this threshold, you have other problems.
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.
rcordeiro
Posts: 30
Joined: Fri Feb 01, 2013 10:12 am

Re: No graphs data

Post by rcordeiro »

I have changed it to 60 and restarted the service, just to check.
Tomorrow I'll give an update.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: No graphs data

Post by abrist »

Great, though I think you are approaching some of the highest load I have ever seen on an XI box. Here's hoping. If graphs are still having a problem tomorrow, repost the npcd and perfdata logs.
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.
rcordeiro
Posts: 30
Joined: Fri Feb 01, 2013 10:12 am

Re: No graphs data

Post by rcordeiro »

Hi,

Have a look at the logs, they are from 5 minutes ago, but they don't have entries later than 01:40, that was 16 hours ago... is that normal?
I don't have data on my graphs yet.

Also, I did a reboot on the server last night and it took more than 12 hours to give data about all the hosts and services. It just said:
Pending N/A 1/1 N/A No check results for service yet...
And I still see this message for some services, mainly SNMP Traps services... Is this normal? What can I do to have this working? Delete and create them again?

Code: Select all

[root@nagios ~]# tail -50 /usr/local/nagios/var/perfdata.log
2013-02-22 00:32:27 [25685] [0] *** Timeout while processing Host: "ODJ-S6506" Service: "Ethernet2_0_38_Bandwidth"
2013-02-22 00:32:27 [25685] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-22 00:34:22 [27962] [0] *** TIMEOUT: Timeout after 20 secs. ***
2013-02-22 00:34:22 [27962] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-22 00:34:22 [27962] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-22 00:34:22 [27962] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1361489613.perfdata.service-PID-27962 deleted
2013-02-22 00:34:22 [27962] [0] *** Timeout while processing Host: "LAD-PRD-S6506" Service: "GigabitEthernet4_0_15_Bandwidth"
2013-02-22 00:34:22 [27962] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-22 00:35:52 [19321] [0] *** TIMEOUT: Timeout after 20 secs. ***
2013-02-22 00:35:52 [19321] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-22 00:35:52 [19321] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-22 00:35:52 [19321] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1361489718.perfdata.service-PID-19321 deleted
2013-02-22 00:35:52 [19321] [0] *** Timeout while processing Host: "CXT-NE40-8" Service: "Ping"
2013-02-22 00:35:52 [19321] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-22 00:36:43 [4820] [0] *** TIMEOUT: Timeout after 20 secs. ***
2013-02-22 00:36:43 [4820] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-22 00:36:43 [4820] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-22 00:36:43 [4820] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1361489748.perfdata.service-PID-4820 deleted
2013-02-22 00:36:43 [4820] [0] *** Timeout while processing Host: "LAD-PRD-S6506" Service: "Ethernet2_0_48_Bandwidth"
2013-02-22 00:36:43 [4820] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-22 00:36:44 [4815] [0] *** TIMEOUT: Timeout after 20 secs. ***
2013-02-22 00:36:44 [4815] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-22 00:36:44 [4815] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-22 00:36:44 [4815] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1361489733.perfdata.service-PID-4815 deleted
2013-02-22 00:36:44 [4815] [0] *** Timeout while processing Host: "LAD-ALM-NE40-8-BSR" Service: "Ethernet2_1_3.200_Bandwidth_-__To_ZTE_Client"
2013-02-22 00:36:44 [4815] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-22 00:39:22 [30182] [0] *** TIMEOUT: Timeout after 20 secs. ***
2013-02-22 00:39:22 [30182] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-22 00:39:22 [30182] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-22 00:39:22 [30182] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1361489898.perfdata.service-PID-30182 deleted
2013-02-22 00:39:22 [30182] [0] *** Timeout while processing Host: "LAD-BNG-NE40" Service: "GigabitEthernet1_1_0.4_Bandwidth_-_TO-Policia_Enconomica_Police_VPN"
2013-02-22 00:39:22 [30182] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-22 00:39:22 [30176] [0] *** TIMEOUT: Timeout after 20 secs. ***
2013-02-22 00:39:22 [30176] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-22 00:39:22 [30176] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-22 00:39:22 [30176] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1361489913.perfdata.service-PID-30176 deleted
2013-02-22 00:39:22 [30176] [0] *** Timeout while processing Host: "LAD-CTAP-S6506-1" Service: "Ethernet2_0_19_Bandwidth"
2013-02-22 00:39:22 [30176] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-22 01:38:34 [28831] [0] *** TIMEOUT: Timeout after 20 secs. ***
2013-02-22 01:38:34 [28831] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-22 01:38:34 [28831] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-22 01:38:34 [28831] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1361493443.perfdata.service-PID-28831 deleted
2013-02-22 01:38:34 [28831] [0] *** Timeout while processing Host: "LAD-BNG-NE40" Service: "GigabitEthernet1_0_1.108_Bandwidth_-__ASSEMBLEIA_NACIONAL_IPI"
2013-02-22 01:38:34 [28831] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-22 01:40:22 [18308] [0] *** TIMEOUT: Timeout after 20 secs. ***
2013-02-22 01:40:22 [18308] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-22 01:40:22 [18308] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-22 01:40:22 [18308] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1361493588.perfdata.service-PID-18308 deleted
2013-02-22 01:40:22 [18308] [0] *** Timeout while processing Host: "LAD-BNG-S6506" Service: "Ethernet3_0_13_Bandwidth"
2013-02-22 01:40:22 [18308] [0] *** process_perfdata.pl terminated on signal ALRM
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# 
[root@nagios ~]# tail -50 /usr/local/nagios/var/npcd.log
[02-21-2013 22:44:35] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 22:44:35] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361483005.perfdata.service'
[02-21-2013 22:44:35] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 22:44:35] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361483031.perfdata.service'
[02-21-2013 22:45:52] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 22:45:52] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361483115.perfdata.service'
[02-21-2013 22:46:10] NPCD: WARN: MAX load reached: load 68.050000/60.000000 at i=0[02-21-2013 22:46:25] NPCD: WARN: MAX load reached: load 81.450000/60.000000 at i=1[02-21-2013 22:46:40] NPCD: WARN: MAX load reached: load 86.100000/60.000000 at i=1[02-21-2013 22:46:55] NPCD: WARN: MAX load reached: load 74.580000/60.000000 at i=1[02-21-2013 22:47:10] NPCD: WARN: MAX load reached: load 74.720000/60.000000 at i=1[02-21-2013 22:47:25] NPCD: WARN: MAX load reached: load 75.640000/60.000000 at i=1[02-21-2013 22:47:40] NPCD: WARN: MAX load reached: load 79.700000/60.000000 at i=1[02-21-2013 22:47:55] NPCD: WARN: MAX load reached: load 79.450000/60.000000 at i=1[02-21-2013 22:48:10] NPCD: WARN: MAX load reached: load 81.400000/60.000000 at i=1[02-21-2013 22:48:25] NPCD: WARN: MAX load reached: load 84.780000/60.000000 at i=1[02-21-2013 22:48:40] NPCD: WARN: MAX load reached: load 95.310000/60.000000 at i=1[02-21-2013 22:48:55] NPCD: WARN: MAX load reached: load 98.520000/60.000000 at i=1[02-21-2013 22:49:10] NPCD: WARN: MAX load reached: load 101.040000/60.000000 at i=1[02-21-2013 22:49:25] NPCD: WARN: MAX load reached: load 85.710000/60.000000 at i=1[02-21-2013 22:49:40] NPCD: WARN: MAX load reached: load 67.570000/60.000000 at i=1[02-21-2013 22:50:58] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 22:50:58] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361483239.perfdata.service'
[02-21-2013 22:52:52] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 22:52:52] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361483548.perfdata.service'
[02-21-2013 22:53:31] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 22:53:31] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361483577.perfdata.service'
[02-21-2013 22:54:07] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 22:54:07] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361483595.perfdata.service'
[02-21-2013 22:54:07] NPCD: WARN: MAX load reached: load 64.140000/60.000000 at i=10[02-21-2013 22:54:22] NPCD: WARN: MAX load reached: load 63.870000/60.000000 at i=10[02-21-2013 22:55:46] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 22:55:46] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361483697.perfdata.service'
[02-21-2013 23:30:55] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 23:30:55] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361485827.perfdata.service'
[02-21-2013 23:33:15] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 23:33:15] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361485962.perfdata.service'
[02-21-2013 23:33:33] NPCD: WARN: MAX load reached: load 74.520000/60.000000 at i=0[02-21-2013 23:33:49] NPCD: WARN: MAX load reached: load 90.360000/60.000000 at i=1[02-21-2013 23:34:04] NPCD: WARN: MAX load reached: load 100.560000/60.000000 at i=1[02-21-2013 23:34:19] NPCD: WARN: MAX load reached: load 86.380000/60.000000 at i=1[02-21-2013 23:34:34] NPCD: WARN: MAX load reached: load 81.470000/60.000000 at i=1[02-21-2013 23:34:49] NPCD: WARN: MAX load reached: load 86.140000/60.000000 at i=1[02-21-2013 23:35:04] NPCD: WARN: MAX load reached: load 80.940000/60.000000 at i=1[02-21-2013 23:35:19] NPCD: WARN: MAX load reached: load 86.440000/60.000000 at i=1[02-21-2013 23:35:34] NPCD: WARN: MAX load reached: load 76.710000/60.000000 at i=1[02-21-2013 23:35:49] NPCD: WARN: MAX load reached: load 80.230000/60.000000 at i=1[02-21-2013 23:36:04] NPCD: WARN: MAX load reached: load 75.490000/60.000000 at i=1[02-21-2013 23:37:16] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 23:37:16] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361486109.perfdata.service'
[02-21-2013 23:37:36] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 23:37:36] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361486133.perfdata.service'
[02-21-2013 23:37:57] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 23:37:57] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361486163.perfdata.service'
[02-21-2013 23:40:42] NPCD: WARN: MAX load reached: load 65.200000/60.000000 at i=0[02-21-2013 23:40:57] NPCD: WARN: MAX load reached: load 69.740000/60.000000 at i=1[02-21-2013 23:41:12] NPCD: WARN: MAX load reached: load 74.330000/60.000000 at i=1[02-21-2013 23:41:27] NPCD: WARN: MAX load reached: load 80.600000/60.000000 at i=1[02-21-2013 23:41:42] NPCD: WARN: MAX load reached: load 72.150000/60.000000 at i=1[02-21-2013 23:42:37] NPCD: ERROR: Executed command exits with return code '7'
[02-21-2013 23:42:38] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361486468.perfdata.service'
[02-21-2013 23:42:38] NPCD: WARN: MAX load reached: load 60.090000/60.000000 at i=10[02-21-2013 23:42:53] NPCD: WARN: MAX load reached: load 67.970000/60.000000 at i=10[02-21-2013 23:43:08] NPCD: WARN: MAX load reached: load 80.500000/60.000000 at i=10[02-21-2013 23:43:23] NPCD: WARN: MAX load reached: load 93.690000/60.000000 at i=10[02-21-2013 23:43:38] NPCD: WARN: MAX load reached: load 77.220000/60.000000 at i=10[02-21-2013 23:43:53] NPCD: WARN: MAX load reached: load 60.340000/60.000000 at i=10[02-22-2013 00:30:59] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:30:59] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489418.perfdata.service'
[02-22-2013 00:30:59] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:30:59] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489433.perfdata.service'
[02-22-2013 00:31:14] NPCD: WARN: MAX load reached: load 69.310000/60.000000 at i=0[02-22-2013 00:31:29] NPCD: WARN: MAX load reached: load 62.760000/60.000000 at i=1[02-22-2013 00:32:27] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:32:27] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489478.perfdata.service'
[02-22-2013 00:34:22] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:34:22] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489613.perfdata.service'
[02-22-2013 00:35:52] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:35:52] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489718.perfdata.service'
[02-22-2013 00:36:07] NPCD: WARN: MAX load reached: load 62.130000/60.000000 at i=0[02-22-2013 00:36:43] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:36:43] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489748.perfdata.service'
[02-22-2013 00:36:44] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:36:44] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489733.perfdata.service'
[02-22-2013 00:36:59] NPCD: WARN: MAX load reached: load 88.030000/60.000000 at i=0[02-22-2013 00:37:14] NPCD: WARN: MAX load reached: load 84.830000/60.000000 at i=1[02-22-2013 00:37:29] NPCD: WARN: MAX load reached: load 75.490000/60.000000 at i=1[02-22-2013 00:39:22] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:39:22] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489898.perfdata.service'
[02-22-2013 00:39:22] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 00:39:22] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361489913.perfdata.service'
[02-22-2013 01:37:20] NPCD: WARN: MAX load reached: load 64.630000/60.000000 at i=0[02-22-2013 01:37:35] NPCD: WARN: MAX load reached: load 68.120000/60.000000 at i=1[02-22-2013 01:38:34] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 01:38:34] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361493443.perfdata.service'
[02-22-2013 01:38:34] NPCD: WARN: MAX load reached: load 60.860000/60.000000 at i=10[02-22-2013 01:38:49] NPCD: WARN: MAX load reached: load 62.580000/60.000000 at i=10[02-22-2013 01:40:22] NPCD: ERROR: Executed command exits with return code '7'
[02-22-2013 01:40:22] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1361493588.perfdata.service'
[root@nagios ~]# 
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No graphs data

Post by scottwilkerson »

It would be normal for this log to not have new entries...

As for the items going pending, it could be caused by by settings in your nagios.cfg, can you attach it to your next post? We are looking for values for
retain_state_information
retention_update_interval
state_retention_file

as well as the permissions on the file listed in state_retention_file
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rcordeiro
Posts: 30
Joined: Fri Feb 01, 2013 10:12 am

Re: No graphs data

Post by rcordeiro »

Hi,

This is the nagios.cfg

Code: Select all

# MODIFIED
admin_email=root@localhost
admin_pager=root@localhost
translate_passive_host_checks=1
log_event_handlers=0
use_large_installation_tweaks=1
enable_environment_macros=0


# NDOUtils module
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg


# PNP settings - bulk mode with NCPD
process_performance_data=1
# service performance data
service_perfdata_file=/usr/local/nagios/var/service-perfdata
service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$\tSERVICEOUTPUT::$SERVICEOUTPUT$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=15
service_perfdata_file_processing_command=process-service-perfdata-file-bulk
# host performance data
host_perfdata_file=/usr/local/nagios/var/host-perfdata
host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tHOSTOUTPUT::$HOSTOUTPUT$
host_perfdata_file_mode=a
host_perfdata_file_processing_interval=15
host_perfdata_file_processing_command=process-host-perfdata-file-bulk


# OBJECTS - UNMODIFIED
#cfg_file=/usr/local/nagios/etc/objects/commands.cfg
#cfg_file=/usr/local/nagios/etc/objects/contacts.cfg
#cfg_file=/usr/local/nagios/etc/objects/localhost.cfg
#cfg_file=/usr/local/nagios/etc/objects/templates.cfg
#cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg


# STATIC OBJECT DEFINITIONS (THESE DON'T GET EXPORTED/IMPORTED BY NAGIOSQL)
cfg_dir=/usr/local/nagios/etc/static

# OBJECTS EXPORTED FROM NAGIOSQL
cfg_file=/usr/local/nagios/etc/contacttemplates.cfg
cfg_file=/usr/local/nagios/etc/contactgroups.cfg
cfg_file=/usr/local/nagios/etc/contacts.cfg
cfg_file=/usr/local/nagios/etc/timeperiods.cfg
cfg_file=/usr/local/nagios/etc/commands.cfg
cfg_file=/usr/local/nagios/etc/hostgroups.cfg
cfg_file=/usr/local/nagios/etc/servicegroups.cfg
cfg_file=/usr/local/nagios/etc/hosttemplates.cfg
cfg_file=/usr/local/nagios/etc/servicetemplates.cfg
cfg_file=/usr/local/nagios/etc/servicedependencies.cfg
cfg_file=/usr/local/nagios/etc/serviceescalations.cfg
cfg_file=/usr/local/nagios/etc/hostdependencies.cfg
cfg_file=/usr/local/nagios/etc/hostescalations.cfg
cfg_file=/usr/local/nagios/etc/hostextinfo.cfg
cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg
cfg_dir=/usr/local/nagios/etc/hosts
cfg_dir=/usr/local/nagios/etc/services

# GLOBAL EVENT HANDLERS
global_host_event_handler=xi_host_event_handler
global_service_event_handler=xi_service_event_handler



# UNMODIFIED
accept_passive_host_checks=1
accept_passive_service_checks=1
additional_freshness_latency=15
auto_reschedule_checks=0
auto_rescheduling_interval=30
auto_rescheduling_window=180
bare_update_check=0
cached_host_check_horizon=15
cached_service_check_horizon=15
check_external_commands=1
check_for_orphaned_hosts=1
check_for_orphaned_services=1
check_for_updates=1
check_host_freshness=0
check_result_path=/usr/local/nagios/var/spool/checkresults
check_result_reaper_frequency=10
check_service_freshness=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
daemon_dumps_core=0
date_format=us
debug_file=/usr/local/nagios/var/nagios.debug
debug_level=0
debug_verbosity=1
enable_embedded_perl=1
enable_event_handlers=1
enable_flap_detection=1
enable_notifications=1
enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
event_broker_options=-1
event_handler_timeout=30
execute_host_checks=1
execute_service_checks=1
external_command_buffer_slots=4096
high_host_flap_threshold=20.0
high_service_flap_threshold=20.0
host_check_timeout=30
host_freshness_check_interval=60
host_inter_check_delay_method=s
illegal_macro_output_chars=`~$&|'"<>
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
interval_length=60
lock_file=/usr/local/nagios/var/nagios.lock
log_archive_path=/usr/local/nagios/var/archives
log_external_commands=0
log_file=/usr/local/nagios/var/nagios.log
log_host_retries=1
log_initial_states=0
log_notifications=1
log_passive_checks=0
log_rotation_method=d
log_service_retries=1
low_host_flap_threshold=5.0
low_service_flap_threshold=5.0
max_check_result_file_age=3600
max_check_result_reaper_time=30
max_concurrent_checks=0
max_debug_file_size=1000000
max_host_check_spread=30
max_service_check_spread=30
nagios_group=nagios
nagios_user=nagios
notification_timeout=30
object_cache_file=/usr/local/nagios/var/objects.cache
obsess_over_hosts=0
obsess_over_services=0
ocsp_timeout=5
p1_file=/usr/local/nagios/bin/p1.pl
passive_host_checks_are_soft=0
perfdata_timeout=5
precached_object_file=/usr/local/nagios/var/objects.precache
resource_file=/usr/local/nagios/etc/resource.cfg
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
retained_host_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_service_attribute_mask=0
retain_state_information=1
retention_update_interval=60
service_check_timeout=60
service_freshness_check_interval=60
service_inter_check_delay_method=s
service_interleave_factor=s
sleep_time=0.25
soft_state_dependencies=0
state_retention_file=/usr/local/nagios/var/retention.dat
status_file=/usr/local/nagios/var/status.dat
status_update_interval=10
temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/tmp
use_aggressive_host_checking=0
use_embedded_perl_implicitly=1
use_regexp_matching=0
use_retained_program_state=1
use_retained_scheduling_info=1
use_syslog=1
use_true_regexp_matching=0
My CPU values are much lower but I still don't have data inside the graphs.

Is there a way to reinitialize all the graphs?
rcordeiro
Posts: 30
Joined: Fri Feb 01, 2013 10:12 am

Re: No graphs data

Post by rcordeiro »

Hi,

I always receive this emails with lots of lines like this one:
2013-02-25 16:44:14: ERROR: Target[10.255.0.3_782][_IN_] ' $target->[83]{$mode} ' did not eval into defined data
2013-02-25 16:44:14: ERROR: Target[10.255.0.3_782][_OUT_] ' $target->[83]{$mode} ' did not eval into defined data

What does this mean?

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

Re: No graphs data

Post by abrist »

Looks like this issue can occur from using an SNMP short-name instead of the full OID for a port:

https://lists.oetiker.ch/pipermail/mrtg ... 31693.html
http://www.linuxquestions.org/questions ... em-507850/

In the error: ' $target->[83]{$mode} '
"83" refers to the line in your (/etc/mrtg/mrtg.cfg) config where the problem can be found.
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.
rcordeiro
Posts: 30
Joined: Fri Feb 01, 2013 10:12 am

Re: No graphs data

Post by rcordeiro »

Hi,

I have reduced the amount of bandwidth checks I have, to less than 100 and still I'm able to get results.
Now my CPU is low, and sometimes during the night I get some spikes on the graphs, but not all the data.

Is there any way to initialize the graphs and the data on the graphs?

Regards
Locked