Random Project

check_hp

Compaq/HP Agent Check: CPU status – 1.3.6.1.4.1.232.1.2.2.1.1.6 (OID-tree not found, ignoring)
ERROR: No snmp response from 135.x.x.x (alarm)

SNMP agent is running on remote linux server.

define host {
use linux-server
host_name 135-x-x-x.
alias alias
address 135-x-x-x.
check_command check-host-alive
max_check_attempts 3
checks_enabled 1
notification_interval 600 initial_state o
contact_groups Team
}

# service ‘Insight Manager’
define service{
use local-service
host_name 135-x-x-x.
service_description Insight Manager
check_command check_hp!public
contact_groups Team
}

# command ‘check_hp’
define command{
command_name check_hp
command_line $USER1$/check_hp -H $HOSTADDRESS$ -C $ARG1$ -d
}