Check_snmp_printer no usable bc
Posted: Mon Oct 17, 2016 3:58 pm
I need your help please with this issue:
When i am trying to use this snmp service i am receiving the following error: UNKNOWN: check_snmp_printer: No usable 'bc' binary in '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Here you can find the config for host and command:
HOST
When i am trying to use this snmp service i am receiving the following error: UNKNOWN: check_snmp_printer: No usable 'bc' binary in '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Here you can find the config for host and command:
HOST
- define host{
use linux-server ; Name of host template to use
; This host definition will inherit all variables that are defined
; in (or inherited by) the linux-server host template definition.
host_name bizhubc284e
notes_url http://private ip
alias bizhubc284e
address private ip
max_check_attempts 3
check_period 24x7
check_command check-host-alive
contacts nagiosadmin
notification_interval 60
notification_period 24x7
notification_options d,r
contact_groups admins
}
define service {
host_name bizhubc284e
use generic-service
service_description CONSUM_ALL
check_command check_snmp_printer!public!"CONSUM ALL"!20!10
normal_check_interval 10
retry_check_interval 1
}
- define command {
command_name check_snmp_printer
command_line $USER1$/check_snmp_printer -H $HOSTADDRESS$ -C $ARG1$ -x $ARG2$ -w $ARG3$ -c $ARG4$
}