A
A
Andrey Bondarchuk2014-12-04 10:08:21
Zabbix
Andrey Bondarchuk, 2014-12-04 10:08:21

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

3 answer(s)
K
Konstantin, 2014-12-04
@fallen8rwtf

snmp does not have this parameter?

S
Sergey Petrikov, 2014-12-04
@RicoX

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.

A
Andrey Bondarchuk, 2014-12-05
@sh1kima26

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 question

Ask a Question

731 491 924 answers to any question