Следуйте инструкциям в видео ниже, чтобы узнать, как установить наш сайт как веб-приложение на главный экран вашего устройства.
Примечание: this_feature_currently_requires_accessing_site_using_safari
#Cisco ASA Commands
define command{
command_name check_asa_interface
command_line $USER1$/check_cisco_asa.pl -H $HOSTADDRESS$ -c $ARG1$ -n $ARG2$
}
define command{
command_name check_asa_version
command_line $USER1$/check_cisco_asa.pl -H $HOSTADDRESS$ -c $ARG1$ -m d
}
define command{
command_name check_asa_uptime
command_line $USER1$/check_cisco_asa.pl -H $HOSTADDRESS$ -c $ARG1$ -m u
}
#Cisco IPS Commands
define command{
command_name check_ips_cpu
command_line $USER1$/check_cisco_ips.pl -H $HOSTADDRESS$ -C $ARG1$ -2 -w $ARG2$ -c $ARG3$ -T cpu
}
define command{
command_name check_ips_health
command_line $USER1$/check_cisco_ips.pl -H $HOSTADDRESS$ -C $ARG1$ -2 -w $ARG2$ -c $ARG3$ -T health
}
define command{
command_name check_ips_mem
command_line $USER1$/check_cisco_ips.pl -H $HOSTADDRESS$ -C $ARG1$ -2 -w $ARG2$ -c $ARG3$ -T mem
define host{
use generic-switch ;
host_name IPS1 ;
alias IPS1 ;
address 172.30.0.1 ;
hostgroups switches ;
}
define service{
use generic-service ; Inherit values from a template
host_name IPS1 ; The name of the host the service is associated with
service_description PING ; The service description
check_command check_ping!200.0,20%!600.0,60% ; The command used to monitor the service
normal_check_interval 5 ; Check the service every 5 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined
}
define service{
use generic-service
host_name IPS1
service_description CPU
check_command check_ips_cpu!cisco!70%,50%,40%!90%,70%,50%
normal_check_interval 5
retry_check_interval 1
}
define service{
use generic-service
host_name IPS1
service_description Health
check_command check_ips_health!cisco!1,0,1,1!0,1,5,5
normal_check_interval 5
retry_check_interval 1
}
define service{
use generic-service
host_name IPS1
service_description Sensor Memory Usage
check_command check_ips_mem!cisco!60%!80%
normal_check_interval 5
retry_check_interval 1
}
/usr/local/etc/rc.d/nagios stop
/usr/local/etc/rc.d/nagios start
# Cisco IPS CPU
my $cisco_cpu_5m = "1.3.6.1.4.1.9.9.109.1.1.1.1.8.1"; # Cisco CPU load (5min %)
my $cisco_cpu_1m = "1.3.6.1.4.1.9.9.109.1.1.1.1.7.1"; # Cisco CPU load (1min %)
my $cisco_cpu_5s = "1.3.6.1.4.1.9.9.109.1.1.1.1.6.1"; # Cisco CPU load (5sec %)
# Cisco IPS Memory
my $cisco_mem_used = "1.3.6.1.4.1.9.9.221.1.1.1.1.7.1.1"; # Cisco Mem Used
my $cisco_mem_free = "1.3.6.1.4.1.9.9.221.1.1.1.1.8.1.1"; # Cisco Mem Free
my $cisco_cpu_5m = "1.3.6.1.4.1.9.9.109.1.1.1.1.3.1"; # Cisco CPU load (5min %)
my $cisco_cpu_1m = "1.3.6.1.4.1.9.9.109.1.1.1.1.4.1"; # Cisco CPU load (1min %)
my $cisco_cpu_5s = "1.3.6.1.4.1.9.9.109.1.1.1.1.5.1"; # Cisco CPU load (5sec %)
my $cisco_mem_used = "1.3.6.1.4.1.9.9.48.1.1.1.5.1"; # Cisco Mem Used
my $cisco_mem_free = "1.3.6.1.4.1.9.9.48.1.1.1.6.1"; # Cisco Mem Free
./check_cisco_ips.pl -H ipадрес цыски -C ваше community -2 -T cpu -w 70%,50%,40% -c 90%,70%,50%
Cisco IPS CPU : 5sec = 0 %, 2min = 0 %, 5min = 0 % : OK
Argument "v6.0.1" isn't numeric in numeric lt (<) at ./check_cisco_ips.pl line 312