I thing there was a request to change the REGEXP_SNMP_TRIM into snmp.php to be able to query the interface status long time ago, and still not changed !
Is it planed to do it in a future release ?
And it will not change the functionallity of snmp.php
It will change for the following value:
define("REGEXP_SNMP_TRIM", "/(hex|counter(32|64)|gauge|gauge(32|64)|float|ipaddress|string|integer):|(up|down)\(|\)$/i");
and changing the interface.xml the following way will alos solve the issue:
<ifOperStatus>
<name>Status</name>
<method>walk</method>
<source>VALUE/REGEXP:[a-zA-Z]{1,}\(([1-]{1})+\)$</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.2.2.1.8</oid>
</ifOperStatus>
Source and direction
thanks
Change to take interface status make it works
Moderators: Developers, Moderators
Change to take interface status make it works
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Change to take interface status make it works
Two words "pull request"
Before history, there was a paradise, now dust.
Re: Change to take interface status make it works
One quick question, In a pool request, should just put the code I propose to change, or can I do more ?
Text of explanation of what to do or whatever.
Sorry to ask that but I'm willing to do it, but need to be sure of what I'm doing !
Text of explanation of what to do or whatever.
Sorry to ask that but I'm willing to do it, but need to be sure of what I'm doing !
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Change to take interface status make it works
Look at some of the dozens that have been logged and committed already.
Before history, there was a paradise, now dust.
Re: Change to take interface status make it works
Well I try to create one, but so far I just add some comment, and I can find 4 files on my pull request
Bu none of then where added by my
Sorry, but I'm not an expert of githut, and I can't find any help on it !!
I'm not even sure the base is master, the compare is develop!
So looking at all that where done before, dosen't help of how to do it!!
Any help to help will be nice
Bu none of then where added by my
Sorry, but I'm not an expert of githut, and I can't find any help on it !!
I'm not even sure the base is master, the compare is develop!
So looking at all that where done before, dosen't help of how to do it!!
Any help to help will be nice
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Change to take interface status make it works
Well one day you will move from your 'githut' to a real live GitHub. Wait for you moment, and make it happen.
Before history, there was a paradise, now dust.
Re: Change to take interface status make it works
After 3 tests, i was able to do it,
and the 2 changes proposed where accepted.
I'm not sur I can't say thanks for the help !!
and the 2 changes proposed where accepted.
I'm not sur I can't say thanks for the help !!
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Who is online
Users browsing this forum: No registered users and 1 guest