M
M
Maxim Ryazanov2017-06-09 11:15:00
SNMP
Maxim Ryazanov, 2017-06-09 11:15:00

How to monitor ifOperStatus in cacti?

Is it possible in cacti, out of the box, to monitor such a simple thing as port status - UP / DOWN? Errors on ports and traffic - please, but the port is alive or not, I did not find it. Kakti, like, not quite out of the box. Thold still attached

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Ryazanov, 2017-07-27
@Gaernebjorn

Curve filter in the script must be added.
At the very beginning of cacti/lib/snmp.php
Bring it _approximately_ to this form.
define("REGEXP_SNMP_TRIM", "/(hex|counter(32|64)|gauge|gauge(32|64)|float|ipaddress|string|integer):|(up|down)\(|\)$/i ");
And yet, it seems, you need to fix it in cacti/resource/snmp_queries/interfaces.xml in the ifoperstatus input section on the output. I'm not sure, because it works for me anyway

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question