A Nagios plugin to check in OLT Fiberhome if ONUs status is UP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
old_tl1
LICENSE
README.md
check_pon_fiberhome_snmp.py

README.md

Nagios check PON status in OLT Fiberhome

This plugin can test all Fiberhome pon slot with 8 or 16 PONs if PON link status is UP or DOWN

The plugin check if in all PONs of a specific SLOT has customers, if a PON port have one or more customers and PON status is DOWN one alarm is generated.


Nagios check PON in OLT Fiberhome

Written by Jorge Luiz Taioque
This plugin check status of a PON Slot connected in a specific OLT
and return if these PON operational state is UP or DOWN

Dependences

apt install python3
apt install python3-pip
apt install libsnmp-dev snmp-mibs-downloader
apt install gcc python3-dev
pip3 install easysnmp

-----

Usage:

./check_pon_fiberhome [IP_OLT] [SLOT]
Like:
./check_pon_fiberhome 10.10.10.1 1
put only the slot_number and pon_number before and after slash /

In nagios service.cfg use:
check_command: check_pon_fiberhome!10.10.10.1!1

Configuring nagios

In nagios command.cfg use:
define command{
command_name check_pon_fiberhome
command_line $USER1$/check_pon_fiberhome $ARG1$ $ARG2$
}