Any thoughts on how to make the rrd's be generated?
what to do when mrtg fails to generate rrd's
what to do when mrtg fails to generate rrd's
Any thoughts on how to make the rrd's be generated?
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: what to do when mrtg fails to generate rrd's
Do you see any errors when you run the following command?
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfgAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: what to do when mrtg fails to generate rrd's
Nothing concerning that host 10.0.0.50
Code: Select all
[root@NagiosXI ~]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
SNMP Error:
no response received
SNMPv2c_Session (remote host: "10.11.51.254" [10.11.51.254].161)
community: "ImaxRW"
request ID: 1674085092
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 497
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 on [email protected]:161::::2:v4only
at /usr/bin/mrtg line 2330
2016-05-11 16:08:25: WARNING: skipping because at least the query for ifInOctets.1 on 10.11.51.254 did not succeed
2016-05-11 16:08:25: WARNING: no data for ifInOctets&ifOutOctets:[email protected]. Skipping further queries for Host 10.11.51.254 in this round.
2016-05-11 16:08:36: ERROR: Target[10.11.51.254_1][_IN_] ' $target->[299]{$mode} ' did not eval into defined data
2016-05-11 16:08:36: ERROR: Target[10.11.51.254_1][_OUT_] ' $target->[299]{$mode} ' did not eval into defined data
2016-05-11 16:08:36: ERROR: Target[10.11.51.254_2][_IN_] ' $target->[300]{$mode} ' did not eval into defined data
2016-05-11 16:08:36: ERROR: Target[10.11.51.254_2][_OUT_] ' $target->[300]{$mode} ' did not eval into defined data
2016-05-11 16:08:36: ERROR: Target[10.0.3.147_11][_IN_] ' $target->[326]{$mode} ' did not eval into defined data
2016-05-11 16:08:36: ERROR: Target[10.0.3.147_11][_OUT_] ' $target->[326]{$mode} ' did not eval into defined data
2016-05-11 16:08:36: ERROR: Target[10.0.3.146_11][_IN_] ' $target->[332]{$mode} ' did not eval into defined data
2016-05-11 16:08:36: ERROR: Target[10.0.3.146_11][_OUT_] ' $target->[332]{$mode} ' did not eval into defined data
[root@NagiosXI ~]#
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: what to do when mrtg fails to generate rrd's
Can you post the file: /etc/mrtg/conf.d/10.0.0.50.cfg
Go into CCM
Find the host object CenturyLink-Border
Click the disk icon
Paste the text config here in a code block
Find the service objects for CenturyLink-Border
Click the disk icon for one of them
Paste the text config here in a code block
From your screenshots I can see they have an unknown status, but what is the error message being displayed?
Go into CCM
Find the host object CenturyLink-Border
Click the disk icon
Paste the text config here in a code block
Find the service objects for CenturyLink-Border
Click the disk icon for one of them
Paste the text config here in a code block
From your screenshots I can see they have an unknown status, but what is the error message being displayed?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: what to do when mrtg fails to generate rrd's
RRD file does not existBox293 wrote:From your screenshots I can see they have an unknown status, but what is the error message being displayed?
File doesn't existCan you post the file: /etc/mrtg/conf.d/10.0.0.50.cfg
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
Re: what to do when mrtg fails to generate rrd's
Code: Select all
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.5.2
# Date: 2016-05-11 16:26:13
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name CenturyLink-Border
use xiwizard_switch_host
address 10.0.0.50
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contacts rbuckle
contact_groups Engineering
notification_interval 60
notification_period xi_timeperiod_24x7
icon_image switch.png
statusmap_image switch.png
_xiwizard switch
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: what to do when mrtg fails to generate rrd's
I also need:
Find the service objects for CenturyLink-Border
Click the disk icon for one of them
Paste the text config here in a code block
Can you post the file: /etc/mrtg/conf.d/10.0.0.50.cfg
Find the service objects for CenturyLink-Border
Click the disk icon for one of them
Paste the text config here in a code block
Can you post the file: /etc/mrtg/conf.d/10.0.0.50.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: what to do when mrtg fails to generate rrd's
The cfg file does not exist, i will get the other information when i get back to a computer
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
Re: what to do when mrtg fails to generate rrd's
Sure, whenever you are ready.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: what to do when mrtg fails to generate rrd's
Code: Select all
###############################################################################
#
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.5.2
# Date: 2016-05-16 10:20:55
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define service {
host_name CenturyLink-Border
service_description Ping
use xiwizard_switch_ping_service
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts rbuckle
contact_groups Engineering
_xiwizard switch
register 1
}
define service {
host_name CenturyLink-Border
service_description To CenturyLink Bandwidth
use xiwizard_switch_port_bandwidth_service
check_command check_xi_service_mrtgtraf_bits!10.0.0.50_1.rrd!50.00,50.00!80.00,80.00!M
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
contacts rbuckle
contact_groups Engineering
_xiwizard switch
register 1
}
define service {
host_name CenturyLink-Border
service_description To CenturyLink Status
use xiwizard_switch_port_status_service
check_command check_xi_service_ifoperstatus!Canopy!1!-v 2
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts rbuckle
contact_groups Engineering
_xiwizard switch
register 1
}
define service {
host_name CenturyLink-Border
service_description To Core 1 Bandwidth
use xiwizard_switch_port_bandwidth_service
check_command check_xi_service_mrtgtraf!10.0.0.50_2.rrd!500.00,500.00!800.00,800.00!M
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
contacts rbuckle
contact_groups Engineering
_xiwizard switch
register 1
}
define service {
host_name CenturyLink-Border
service_description To Core 1 Status
use xiwizard_switch_port_status_service
check_command check_xi_service_ifoperstatus!Canopy!2!-v 2
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts rbuckle
contact_groups Engineering
_xiwizard switch
register 1
}
define service {
host_name CenturyLink-Border
service_description To Core 2 Bandwidth
use xiwizard_switch_port_bandwidth_service
check_command check_xi_service_mrtgtraf!10.0.0.50_3.rrd!500.00,500.00!800.00,800.00!M
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
contacts rbuckle
contact_groups Engineering
_xiwizard switch
register 1
}
define service {
host_name CenturyLink-Border
service_description To Core 2 Status
use xiwizard_switch_port_status_service
check_command check_xi_service_ifoperstatus!Canopy!3!-v 2
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts rbuckle
contact_groups Engineering
_xiwizard switch
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License