Page 1 of 1

Perf Graphs for generic SNMP Check

Posted: Thu May 31, 2012 11:01 pm
by transmax
I'm having problems getting an snmp check to create a performance graph.

When I go to the Performance Graph tab I get : "No performance graphs were found for this service."

rrd file exists, as does the xml file (though I honestly don't understand much of them)

System details:
CentOS 6, 64-bit
Manual install of XI, latest version
Nothing very far from the standard install

below are the service config and associated templates:

define service {
host_name fnr-tmc-srx240
service_description CPU #2
use xiwizard_snmp_service
check_command check_xi_service_snmp! -o 1.3.6.1.4.1.2636.3.1.13.1.8.9.2.0.0 -C xxxxxx -P 1 -l "%CPU" -u "%" -w 75 -c 85
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard snmp
register 1
}

define service {
name xiwizard_snmp_service
check_command check_xi_service_snmp
is_volatile 0
max_check_attempts 5
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
obsess_over_service 1
check_freshness 0
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 60
notifications_enabled 1
failure_prediction_enabled 1
register 0

}

Re: Perf Graphs for generic SNMP Check

Posted: Fri Jun 01, 2012 9:41 am
by lmiltchev
What are the names of the *.rrd and *.xml files? What is the output of the following command:

Code: Select all

ll /usr/local/nagios/share/perfdata

Re: Perf Graphs for generic SNMP Check

Posted: Fri Jun 01, 2012 11:02 am
by lmiltchev
Just to give you heads up - we found a bug, associated with the use of illegal characters (the "#" in particular) in the service description. It should be fixed in the next release of Nagios XI.

Re: Perf Graphs for generic SNMP Check

Posted: Sun Jun 03, 2012 4:19 pm
by transmax
Jumping ahead, I changed the names, etc to remove the # character. All good now.

Thanks for your help.

Cheers,

Lee Benson
Transmax