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
4665
Files:
FileDescription
check_junos_portflap.shcheck_junos_portflap.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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$
}