Gaps in SNMP graph

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

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Gaps in SNMP graph

Post by TheWitness »

Get a bigger box, if it's a VM takes < 5 minutes and not even a reboot. I would say have at least 12 cores. 24 is better.
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?
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

Yes agreed but until then I need to get these hosts back up. Right now the its staking less than 5 min and working fine except around 20 snmp hosts that are stated as down, however if I do snmpwalk they respond properply. Any ideas on how to get them back up? Since not all are broken, only a few. I have tried adding again but does not seem to help.
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

Could it help to restart the snmp daemon or are there any risks to that?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Gaps in SNMP graph

Post by TheWitness »

No, and best bet is to reduce the MAX OIDS for those devices. Many less powerful switches and routers can not do that many in on get request. Like I said, if you don't know what it does, go slowly until you understand.
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?
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

So you mean that they host show as "down" because they time out, and the time out is a result of too high MAX OID per get request? (10)?

Do I change the MAX OID in the poller settings or in the device settings?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Gaps in SNMP graph

Post by TheWitness »

Device. And yes
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?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Gaps in SNMP graph

Post by TheWitness »

Code: Select all

UPDATE host SET max_oids = 5;
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?
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

Ok,

Im down from 10 --> 4 and still the device is shown as "DOWN" in the device list, when getting device info it does not say "SNMP ERROR" at the top but show the device info (as if it was not down)...
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

Regarding:

CODE: SELECT ALL
UPDATE host SET max_oids = 5;

Do I need to update in mysql as well? Is it not enough to update in the device GUI settings?
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

Im not getting any info in the log, since it says the hosts are down it seems the poller is ignoring these hosts even if I change the MAX OID.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Gaps in SNMP graph

Post by TheWitness »

Did you run that MySQL command? That does them all. If the host are being hit with those scripts, you might have to set script servers to 1 again. You never uploaded the script BTW.
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?
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

I did not run it, don't want to change them all, since it has been working fine before.

So if I change the script server to 5 in the GUI then I changed it back to 1 yesterday, do I need to revert somewhere else as well?
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

The change in MAX OIDs does not seem to have an impact. The devices are stated as DOWN but I know that they are not, so something seems to be off with cacti fetching through SNMP?
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

Re: Gaps in SNMP graph

Post by kribbas »

Is there any log file where I can monitor the SNMP attempts?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Gaps in SNMP graph

Post by TheWitness »

You can turn on selective device debug in the general settings for the device or edit device and then turn on debug from the upper right hand corner.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests