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.
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
apt install python3 apt install python3-pip apt install libsnmp-dev snmp-mibs-downloader apt install gcc python3-dev pip3 install easysnmp
-----
./check_pon_fiberhome [IP_OLT] [SLOT]
Like:
./check_pon_fiberhome 10.10.10.1 1
put only the slot_number after olt IP address
In nagios service.cfg use:
check_command: check_pon_fiberhome!10.10.10.1!1
In nagios command.cfg use:
define command{
command_name check_pon_fiberhome
command_line
}