Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Silva
bySilva, July 15, 2014
Can you please help me solve a problem as sent in e-mail? I want to know exactly the command I use to monitor the traffic on Cisco interfaces, kind if 90Mbps is reached on interface an WARNING is generated etc.
But now the error is GigabitEthernet1/31:UP (no usable data - 201 rows) (1 UP): OK
Below my services.cfg
define service{
host_name br-spo-cbo-acc71
service_description Checagem de Trafego
check_command check_netint!GigabitEthernet1/31
max_check_attempts 3
normal_check_interval 2
retry_check_interval 2
check_period 24x7
notification_interval 28800
notification_period 24x7
notification_options w,c,r
contact_groups administrador
}
Below hosts.cfg
define host {
use switch ; Name of host template to use
host_name br-spo-cbo-acc71
alias hostfiber.com.br-10.99.0.71
hostgroups Infraestrutura
address 10.99.0.71
check_command check-host-alive
max_check_attempts 3
notification_interval 28800
notification_period 24x7
notification_options d,u,r
contact_groups administrador
}
Below my checkcommands:
# check_netint command definition
define command{
command_name check_netint
command_line /usr/lib64/nagios/plugins/check_netint.pl -H $HOSTADDRESS$ -C H0STL0C4T10N -2 -n $ARG1$ -f -Y -k -B -u -d -w 5,5 -c 90,90
}
But now the error is GigabitEthernet1/31:UP (no usable data - 201 rows) (1 UP): OK
Below my services.cfg
define service{
host_name br-spo-cbo-acc71
service_description Checagem de Trafego
check_command check_netint!GigabitEthernet1/31
max_check_attempts 3
normal_check_interval 2
retry_check_interval 2
check_period 24x7
notification_interval 28800
notification_period 24x7
notification_options w,c,r
contact_groups administrador
}
Below hosts.cfg
define host {
use switch ; Name of host template to use
host_name br-spo-cbo-acc71
alias hostfiber.com.br-10.99.0.71
hostgroups Infraestrutura
address 10.99.0.71
check_command check-host-alive
max_check_attempts 3
notification_interval 28800
notification_period 24x7
notification_options d,u,r
contact_groups administrador
}
Below my checkcommands:
# check_netint command definition
define command{
command_name check_netint
command_line /usr/lib64/nagios/plugins/check_netint.pl -H $HOSTADDRESS$ -C H0STL0C4T10N -2 -n $ARG1$ -f -Y -k -B -u -d -w 5,5 -c 90,90
}
[root@nagios plugins]# /usr/lib64/nagios/plugins/check_snmp_juniper6500.pl -H 10.99.0.250 -C H0STL0C4T10N -v 2c -T cpu -w 80 -c 90
Alarm at 15
SNMP v1 login
UNKNOWN : Value not given by the appliance: Received noSuchName(2) error-status at error-index 1.
[root@nagios plugins]# /usr/lib64/nagios/plugins/check_snmp_juniper6500.pl -H 10.99.0.250 -C H0STL0C4T10N -v2 -T cpu -w 80 -c 90
Alarm at 15
SNMP v2c login
Argument "noSuchObject" isn't numeric in numeric le (
Alarm at 15
SNMP v1 login
UNKNOWN : Value not given by the appliance: Received noSuchName(2) error-status at error-index 1.
[root@nagios plugins]# /usr/lib64/nagios/plugins/check_snmp_juniper6500.pl -H 10.99.0.250 -C H0STL0C4T10N -v2 -T cpu -w 80 -c 90
Alarm at 15
SNMP v2c login
Argument "noSuchObject" isn't numeric in numeric le (
bySilva, March 24, 2014
[root@nagios ~]# /usr/lib64/nagios/plugins/check_netscreen_cpu -H 10.99.0.251 -C H0STL0C4T10N -w 70 -c 90 -v 2
Argument "noSuchObject" isn't numeric in sprintf at /usr/lib64/nagios/plugins/check_netscreen_cpu line 141.
OK: host '10.99.0.251', CPU Load: Avg:(0.00%)| stat=noSuchObject%;70;90;0;100;
[root@nagios ~]#
Argument "noSuchObject" isn't numeric in sprintf at /usr/lib64/nagios/plugins/check_netscreen_cpu line 141.
OK: host '10.99.0.251', CPU Load: Avg:(0.00%)| stat=noSuchObject%;70;90;0;100;
[root@nagios ~]#