Hi.
Just recently instsalled new version of cacti (have parallell 0.8.XXX) on a RPI.
I have used cacti for quite some time and setup templates for snmp polling and some other stuff.
In this version I can't seem to set up a data source and graph template that actually generates a graph.
I only get -nan and an empty graph on both my wget-script DSs and my SNMP DSs.
If I create a graph based on the "SNMP-host OID template" I manage to get 1 graph for host x.
But graphs 2 and on end up with "nan".
If I run a DS check, I get an invalid output but I get a correct value when running snmpget in the CLI.
Going mad over this....what am I doing wrong???
Tnx!
Set up:
Date Thu, 19 Jan 2023 17:43:25 +0100
Cacti Version 1.2.23
Cacti OS unix
RSA Fingerprint f0:71:1e:41:55:e5:3b:e0:35:10:5f:a4:10:8f:96:23
NET-SNMP Version NET-SNMP version: 5.9.3
RRDtool Version Configured 1.7.2+
RRDtool Version Found 1.7.2
Devices 28
Graphs 108
Data Sources Script/Command: 17
SNMP Get: 30
SNMP Query: 38
Script Server: 35
Script Server Query: 1
Total: 121
templated data source/graph issue.
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: templated data source/graph issue.
Post some lines from your Cacti.log.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: templated data source/graph issue.
2023-01-18 00:00:08 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-18 00:00:08 - SYSTEM STATS: Time:7.3524 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:59:09 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:59:08 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:59:08 - SYSTEM STATS: Time:7.3512 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:58:09 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:58:08 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:58:08 - SYSTEM STATS: Time:7.3499 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:57:10 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:57:09 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:57:09 - SYSTEM STATS: Time:7.3483 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:56:10 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:56:09 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:56:09 - SYSTEM STATS: Time:7.3487 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:55:10 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:55:09 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:55:08 - SYSTEM STATS: Time:7.3490 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-18 00:00:08 - SYSTEM STATS: Time:7.3524 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:59:09 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:59:08 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:59:08 - SYSTEM STATS: Time:7.3512 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:58:09 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:58:08 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:58:08 - SYSTEM STATS: Time:7.3499 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:57:10 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:57:09 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:57:09 - SYSTEM STATS: Time:7.3483 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:56:10 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:56:09 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:56:09 - SYSTEM STATS: Time:7.3487 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
2023-01-17 23:55:10 - SYSTEM MAINT STATS: Time:0.03
2023-01-17 23:55:09 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023-01-17 23:55:08 - SYSTEM STATS: Time:7.3490 Method:cmd.php Processes:1 Threads:1 Hosts:25 HostsPerProcess:25 DataSources:137 RRDsProcessed:95
Re: templated data source/graph issue.
You can do a few things. First, to see the results from polling, out the problematic device into debug mode, second verify you have valid poller items.
Before history, there was a paradise, now dust.
Who is online
Users browsing this forum: No registered users and 2 guests