Answer the question
In order to leave comments, you need to log in
Need script for Zabbix. How to organize the output of data on a known command?
The task is to count subscribers on network equipment and display the collected data in Zabbix.
With the show vpls mac-table count instance PPPoE-xxxx command, we get a table with the number of subscribers (xxxx is the hardware hostname).
We need a script that would automate this work and display the received data in Zabbix.
Can anyone help with the script / share it ready?
PS We are mainly talking about Juniper MX series equipment
Answer the question
In order to leave comments, you need to log in
But this trap 1.3.6.1.4.1.2636.3.67.1.1.3.8.0 via SNMP does not return what you need, I have MX with PPPoE as a brace, I take it off like that.
If we take such a perl script as a basis and set in the COMMANDS file:
conf t
show vpls mac-table count instance PPPoE-xxxx
end
, as I understand it, the received data will be logged, which we will already try to fasten to Zabbix?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question