Perf graphs for generic SNMP Check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
transmax
Posts: 23
Joined: Mon May 28, 2012 12:04 am

Perf graphs for generic SNMP Check

Post 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

}
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Perf graphs for generic SNMP Check

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Perf graphs for generic SNMP Check

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
transmax
Posts: 23
Joined: Mon May 28, 2012 12:04 am

Re: Perf graphs for generic SNMP Check

Post by transmax »

Jumping ahead, I changed the names, etc to remove the # character. All good now.

Thanks for your help.

Cheers,

Lee Benson
Transmax