Disable SNMP polling

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
rdilallo
Posts: 17
Joined: Sun Jun 05, 2005 4:22 pm
Location: St. Louis, MO

Disable SNMP polling

Post by rdilallo »

Okay, here's a crazy question...

I want to use Cacti to monitor Microsoft devices WITHOUT having SNMP enabled. Can it be done? I've seen issues where the poller will not collect the data from my WMI queries because it first wants to check the device with SNMP.

Any takers?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Change the polling downtime method to Ping only. Then your WMI query scripts should work fine.
rdilallo
Posts: 17
Joined: Sun Jun 05, 2005 4:22 pm
Location: St. Louis, MO

Post by rdilallo »

That's fine, however, when you first add a device, it checks SNMP. This will cause the device to show a status of "down". How do I get around that?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

After first adding it, the status should be UNKNOWN. Can you truly ping your host from the cacti computer fine?
rdilallo
Posts: 17
Joined: Sun Jun 05, 2005 4:22 pm
Location: St. Louis, MO

Post by rdilallo »

I can still ping them. I can also run a perl script against one of the devices to gather WMI information. It seems that when the poller runs, my RRD's don't update. Looking at the poller log, it's because I can't communicate via SNMP. Ugh... :)
rdilallo
Posts: 17
Joined: Sun Jun 05, 2005 4:22 pm
Location: St. Louis, MO

Post by rdilallo »

Something interesting...
So, I started over with the site. I removed locahost. I went to settings and configured my site to use ping only (no snmp). I added back localhost and a remote server. Localhost shows "SNMP not in use", while the remote server says "SNMP error." What's that about?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The SNMP error has to do with cacti trying to query the device for some basic SNMP info. It's related to this thread. If cacti polls the device with your scripts fine, then you can ignore the snmp error.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

This is default behavir, if you clear the read string (hokey workaround), Cacti will ignore the SNMP string and it will instead say "SNMP Not In Use".

TheWitness
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 2 guests