This is my first Cacti installation and I think I'm almost there.
We're talking Cacti 1.2.16 and it runs on Ubuntu 20.04.2 LTS, NGINX 1.18.0, PHP 7.4.3.
I'm only trying to graph my local machine and I'm specifically trying to graph network traffic and speed. Per day, per week, per month, per year.
So I have created a "Local Linux Machine" device with "SNMP - Interface Statistics" as an associated data query. The re-index method has been set to "Verify All".
At the data sources menu I now have 4 traffic entries and I have created graphs for them. These graphs are empty and what I see are SNMP errors.
I've been using the cmd.php poller and it runs via a cron job.
So I think what I am doing wrong is related to this specific error:
WARNING: Result from SNMP not valid. Partial Result: U
I'd really appreciate some help to get me going.
SNMP errors and empty graphs
Moderators: Developers, Moderators
Re: SNMP errors and empty graphs
Console -> management -> devices -> choose your device and click "Verbose query" in Associated Data Queries on line SNMP - Interface Statistics . Have you got any result?maetrik wrote: ↑Tue May 04, 2021 2:50 am This is my first Cacti installation and I think I'm almost there.
We're talking Cacti 1.2.16 and it runs on Ubuntu 20.04.2 LTS, NGINX 1.18.0, PHP 7.4.3.
I'm only trying to graph my local machine and I'm specifically trying to graph network traffic and speed. Per day, per week, per month, per year.
So I have created a "Local Linux Machine" device with "SNMP - Interface Statistics" as an associated data query. The re-index method has been set to "Verify All".
At the data sources menu I now have 4 traffic entries and I have created graphs for them. These graphs are empty and what I see are SNMP errors.
I've been using the cmd.php poller and it runs via a cron job.
So I think what I am doing wrong is related to this specific error:
WARNING: Result from SNMP not valid. Partial Result: U
I'd really appreciate some help to get me going.
Let the Cacti grow!
Re: SNMP errors and empty graphs
The output:macan wrote: ↑Tue May 04, 2021 3:46 amConsole -> management -> devices -> choose your device and click "Verbose query" in Associated Data Queries on line SNMP - Interface Statistics . Have you got any result?maetrik wrote: ↑Tue May 04, 2021 2:50 am This is my first Cacti installation and I think I'm almost there.
We're talking Cacti 1.2.16 and it runs on Ubuntu 20.04.2 LTS, NGINX 1.18.0, PHP 7.4.3.
I'm only trying to graph my local machine and I'm specifically trying to graph network traffic and speed. Per day, per week, per month, per year.
So I have created a "Local Linux Machine" device with "SNMP - Interface Statistics" as an associated data query. The re-index method has been set to "Verify All".
At the data sources menu I now have 4 traffic entries and I have created graphs for them. These graphs are empty and what I see are SNMP errors.
I've been using the cmd.php poller and it runs via a cron job.
So I think what I am doing wrong is related to this specific error:
WARNING: Result from SNMP not valid. Partial Result: U
I'd really appreciate some help to get me going.
Code: Select all
Total: 0.000000, Delta: 0.000000, Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
Total: 0.000000, Delta: 0.000000, Running Data Query [4].
Total: 0.000000, Delta: 0.000000, Found Type = '3' [SNMP Query].
Total: 0.000000, Delta: 0.000000, XML file parsed ok.
Total: 0.010000, Delta: 0.000000, Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count:
Total: 0.010000, Delta: 0.010000, Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 0
Total: 0.010000, Delta: 0.000000, No SNMP data returned
Re: SNMP errors and empty graphs
You have to configure snmp on linux machine:
https://kifarunix.com/quick-way-to-inst ... ntu-20-04/
https://kifarunix.com/quick-way-to-inst ... ntu-20-04/
Let the Cacti grow!
Re: SNMP errors and empty graphs
Thanks! I had that configured but turns out it was not properly configured.macan wrote: ↑Wed May 05, 2021 2:18 am You have to configure snmp on linux machine:
https://kifarunix.com/quick-way-to-inst ... ntu-20-04/
Still have to tweak some settings but I got it working by starting out with a very default config;
Code: Select all
rocommunity public
rocommunity6 public
Re: SNMP errors and empty graphs
For security is better to use other than default community string (public).maetrik wrote: ↑Wed May 05, 2021 2:30 amThanks! I had that configured but turns out it was not properly configured.macan wrote: ↑Wed May 05, 2021 2:18 am You have to configure snmp on linux machine:
https://kifarunix.com/quick-way-to-inst ... ntu-20-04/
Still have to tweak some settings but I got it working by starting out with a very default config;
Code: Select all
rocommunity public rocommunity6 public
Let the Cacti grow!
Who is online
Users browsing this forum: No registered users and 0 guests