Skip to content

Icinga2 health check for ArubaOS-CX based devices

Notifications You must be signed in to change notification settings

rittermit/check_arubaoscx_health

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

check_arubaoscx_health is an icinga2 check which queries AurubaOS-CX based switches for various health parameters.

Depending on the switch type and OS version different things are available and will be reported.

Monitored Health Parameters:

  • Fan status e.g. arubaWiredFanState, arubaWiredFanName
  • VSX status e.g. arubaWiredVsxDeviceRole, arubaWiredVsxConfigSync, arubaWiredVsxIslOperState
  • PSU status e.g. arubaWiredPSUName, arubaWiredPSUState

Example output:

AOS_CX_HEALTH OK - Aruba JL479A 8320 TL.10.09.0010 
	FAN status: 10 ok PSU status: 2 ok 
	VSX status: secondary sync enabled inSync

Usage

check_arubaoscx_health [-CHt] [long options...] <some-arg>
	-H STR --host STR       Aruba CX OS hostname
	-C STR --community STR  SNMP community
	-t INT --timeout INT    Timeout

	--help                  print usage message and exit

Installation

You will need some perl modules. On Debian/Ubuntu based systems:

apt-get install libnet-snmp-perl liblist-moreutils-perl \
	libmonitoring-plugin-perl libgetopt-long-descriptive-perl 

TODO

Temperature Sensors:

ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorName.1.3.1.1 = STRING: 1/1-1
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorName.1.3.1.2 = STRING: 1/1-2
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorName.1.3.1.3 = STRING: 1/1-3
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorState.1.3.1.1 = STRING: normal
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorState.1.3.1.2 = STRING: normal
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorState.1.3.1.3 = STRING: normal
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorTemperature.1.3.1.1 = INTEGER: 28500 millidegrees Celsius
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorTemperature.1.3.1.2 = INTEGER: 26500 millidegrees Celsius
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorTemperature.1.3.1.3 = INTEGER: 25500 millidegrees Celsius
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorMinTemp.1.3.1.1 = INTEGER: 26000 millidegrees Celsius
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorMinTemp.1.3.1.2 = INTEGER: 24000 millidegrees Celsius
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorMinTemp.1.3.1.3 = INTEGER: 22500 millidegrees Celsius
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorMaxTemp.1.3.1.1 = INTEGER: 32500 millidegrees Celsius
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorMaxTemp.1.3.1.2 = INTEGER: 30000 millidegrees Celsius
ARUBAWIRED-TEMPSENSOR-MIB::arubaWiredTempSensorMaxTemp.1.3.1.3 = INTEGER: 28500 millidegrees Celsius

About

Icinga2 health check for ArubaOS-CX based devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%