DATA Query SNMP-Interface (User are not add on Page)

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

Hello all

I am experiencing some odd issues, some of users are showing on
Data Query [SNMP - Interface Statistics] and some user are not showing.




Regards,
SAchin
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by netniV »

Can you post examples of who is missing that you expect, or who is present that you do not expect?

Could you also provide screenshots and further explaination, if possible, on how to reproduce the issue?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

sure sir,
I have 15 user on my mikrotik router, out of 15 there are only 10 user are showing on cacti [SNMP - Interface Statistics]
there is no user who is present that i did not expect.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by netniV »

Are you using the MicroTek plugin?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

no sir, actually i am new to cacti, connecting mikrotik device by snmp v2. after successfully adding host, cacti shows all port details with user (which created already on mikrotik device), but after adding host i created some user on mikrotik out of which some user are showing on SNMP-Interface while some are not.

I can provide u remote desktop for same.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by netniV »

You said you are using the standard SNMP query, can you provide the SNMPWALK output that shows missing users?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

pl. guide how how can i provide SNMPWALK query
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by netniV »

Lets try things the easier way first if you're not sure how to do that.

When you edit the device in question, you should have a section labelled Associated Data Queries at the bottom which will have a line called SNMP - Interface Statistics. On the right hand side of that line will be two different refresh buttons, one will likely be green and says Reload Query, the other will be Verbose Query (click on this!).

Once the page reloads, you will have a new section called Data Query Debug Information and that will list all the indexes that if can find by default. Additionally, it will show headers saying Click to show data query output for 'fieldname' and clicking on that section will give you the values being returned for that given field listed by index.

I am a little confused though with your wording as you say you are trying to list the users, but this query is for interfaces, not users (unless the microtek actually includes them).
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

Thanks for your kind reply, after reload the query it will show all user data on verbose query..
but now some users graph were not created..
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

Dear Sir, I am getting RRD tool issue at utilities:
Here are the details:

Date Thu, 18 Jan 2018 16:15:50 +0530
Cacti Version 0.8.8f
Cacti OS unix
SNMP Version NET-SNMP version: 5.7.3
RRDTool Version
ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.[/b][/size]
Hosts 4
Graphs 73
Data Sources Script/Command: 6
SNMP: 3
SNMP Query: 62
Script Query - Script Server: 2
Total: 73


Pl. guide.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by netniV »

What version of RRD Tool is installed, and what version have you set in the settings of Cacti?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

Pl. guide how to check installed version of cacti on ubuntu, while at system setting RRDtoll 1.2X is there


Regards,
SAchin
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

waiting for your kind response.
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by sachin19 »

hello,

RRDtool installed version is 1.5.5-4, but in Cacti settings there is avalaible version are 1.0.x to 1.4.x, i think ihave downgraded installed rrdtool version.


Pl. suggest
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: DATA Query SNMP-Interface (User are not add on Page)

Post by netniV »

Apply the code fix that was suggested on one of the many threads you posted on.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest