Temperature Monitoring of HP Switch
Posted: Mon May 13, 2024 5:17 am
Hello,
I am trying to monitor the temperature on HP switch, for this reason i have defined the command and services as follow.
here is the command:
define command {
command_name check_snmp
command_line $USER1$/check_snmp -H 10.176.64.1 -o iso.3.6.1.2.1.99.1.1.1.4.25
}
here is the service:
define service {
use generic-service ; Inherit default values from a template
host_name oswitch00
service_description Temp
check_command check_snmp
}
but on my nagios core interface i have error:
(No output on stdout) stderr:
Moreover, i used this command to see check_snmp works manually or not:
./check_snmp -H 10.176.64.1 -C public -P 2c -o iso.3.6.1.2.1.99.1.1.1.4.25
but this gives me segmentation fault (core Dumped)
i am using nagios core version Nagios Core 4.4.13
Thanks
I am trying to monitor the temperature on HP switch, for this reason i have defined the command and services as follow.
here is the command:
define command {
command_name check_snmp
command_line $USER1$/check_snmp -H 10.176.64.1 -o iso.3.6.1.2.1.99.1.1.1.4.25
}
here is the service:
define service {
use generic-service ; Inherit default values from a template
host_name oswitch00
service_description Temp
check_command check_snmp
}
but on my nagios core interface i have error:
(No output on stdout) stderr:
Moreover, i used this command to see check_snmp works manually or not:
./check_snmp -H 10.176.64.1 -C public -P 2c -o iso.3.6.1.2.1.99.1.1.1.4.25
but this gives me segmentation fault (core Dumped)
i am using nagios core version Nagios Core 4.4.13
Thanks