Skip to content

A script that checks the AC status of a Gigamon G-TAP-ATX.

License

Notifications You must be signed in to change notification settings

joubbi/check_g-tap_power

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

check_g-tap_power

This is a script that checks the AC status of a Gigamon G-TAP-ATX.

The script logs in and connects with telnet to the tap, then issues a "show system" and looks for the power status. (The device doesn't support a more secure protocol)

Usage

Make sure that you have expect installed on your system.

Supply the hostname or IP address of the tap and the telnet password as arguments to the script.

The script can be added to Op5 or some other Nagios like system.

Define the command like this:

check_g-tap_power.exp $HOSTADDRESS$ $ARG1$

Tested with G-TAP-ATX Firmware Version: 2.2.27

Version history

  • 1.1 2016-06-02 Minor cleanup of dialogues and help.
  • 1.0 2015-10-23 Initial version.

Licensed under the Apache License Version 2.0

Written by farid@joubbi.se

http://www.joubbi.se/monitoring.html

About

A script that checks the AC status of a Gigamon G-TAP-ATX.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published