Data Template - SNMP OID gets rewritten

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mikepiko
Posts: 1
Joined: Tue Oct 11, 2016 6:57 am

Data Template - SNMP OID gets rewritten

Post by mikepiko »

Hey there.

I have extended a linux snmpd for some values cacti needs to get.

Not a big deal worked fine for me in the past.

Currently (using the newest Version of Cacti in Debian unstable Repository (0.8.8.ds1-5)+PHP 7.0.11-1) i have problems entering the OID which cacti needs to poll.

if i enter for example:

NET-SNMP-EXTEND-MIB::nsExtendOutLine."dsls".1
after submitting it´s changed to :
NET-SNMP-EXTEND-MIB::nsExtendOutLine.\"dsls\".1

which then got no result from the snmp server.

if you save it in this state again it get´s changed to:

NET-SNMP-EXTEND-MIB::nsExtendOutLine.\\\"dsls\\\".1
and again :
NET-SNMP-EXTEND-MIB::nsExtendOutLine.\\\\\\\"dsls\\\\\\\".1

and so on.

if i enter it double escaped like this:

NET-SNMP-EXTEND-MIB::nsExtendOutLine.\\"dsls\\".1
it will end up like this:
NET-SNMP-EXTEND-MIB::nsExtendOutLine.\\\\\"dsls\\\\\".1

Currently there is no way i can enter it in a state where it could be polled.

Can anyone help me with this ?

Update:
Current workaround for me is to edit the entry directly in the poller_item table of the cacti database (which is not so common for everyone ... :) )

Update 2:
If you create a new data template from scratch it gets saved correctly but when you edit it afterwards it get´s stuck in the state decribed above.

Thanks in Advance !

Mike
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest