Running the special edition of Nagios XI 2024R1.3.3.
I seem to have some very fundamental problems wrapping my mind around how to produce performance graphs. I was under the impression that all I need is to return performance data separated from the rest of the output by a pipe symbol, and graphs would 'magically' appear.
I would like to graph the temperature of two CPU's in one of my computers. To this end, I have created a script that is surfaced through SNMP. So, for example, snmpget -v 2c -c public 10.0.0.11 .ucdavis UCD-SNMP-MIB::extOutput.1 would give me UCD-SNMP-MIB::extOutput.1 = STRING: CPU0: 42.0C; CPU1: 26.0C | CPU0=42.0C CPU1=26.0C.
The Nagios check is set up like this:
Code: Select all
define service {
host_name 10.0.0.11
service_description CPU Temperature
use xiwizard_snmp_service
check_command check_xi_service_snmp!-o 'UCD-SNMP-MIB::extOutput.1' -C 'public' -P 2c!!!!!!!
max_check_attempts 5
check_interval 1
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard snmp
register 1
}Can you please give me a pointer to what steps I have missed?
Thanks!