Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_junos_portflap.sh

Rating
0 votes
Favoured:
0
Current Version
2.0
Last Release Date
2018-03-27
Compatible With
  • Nagios 3.x
Owner
Twitter Handle
rjholtz
License
MIT
Hits
4474
Files:
FileDescription
check_junos_portflap.shcheck_junos_portflap.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This script checks the last time an interface on a junos device has flapped up or down and reports the answer.

Examples:
define service{
hostgroups srx,ex2200
host firewall1,switch1
service_description Port State fe-0/0/1
check_command check_junos_port!fe-0/0/1
use generic-service
}

define command{
command_name check_junos_port
command_line $USER1$/check_junos_portflap.sh $HOSTADDRESS$ $ARG1$
}
This script checks the last time an interface on a junos device has flapped up or down and reports the answer.


Examples:
define service{
hostgroups srx,ex2200
host firewall1,switch1
service_description Port State fe-0/0/1
check_command check_junos_port!fe-0/0/1
use generic-service
}

define command{
command_name check_junos_port
command_line $USER1$/check_junos_portflap.sh $HOSTADDRESS$ $ARG1$
}