Very weird "hosts down" bug?

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

Moderators: Developers, Moderators

Post Reply
Mikkel
Posts: 32
Joined: Thu May 12, 2005 12:41 am

Very weird "hosts down" bug?

Post by Mikkel »

Recently I added two Cisco Catalyst 2950G switches to Cacti, bringing the total number of devices to 199. When I created the devices I got SNMP information in the top of the screen and I was able to do an SNMP walk of the interfaces.

After creating the graphs, the hosts remained "down". However, I was still able to walk the device for SNMP information in the "create graphs for this host" page. I could even see snmp packets being received on the device (by logging onto console and using "debug snmp packets" command).

In short, Cacti says the device is down, but it is not. Graphs remain empty (NaN). So far nothing weird.

It gets a bit strange when I add another (random) device, does not matter if it's a switch, router,content switch etc. After I add that device (wether it's status is "up" or "down") the former two devices come "up". If I delete the new device (again, it doesn't even have to be "up"), the two switches are "down" again. Same goes for the graphs, when in "up" status, they are updated and actually graph data, but as soon as the status is "down", the graphing stops.

Am I doing something wrong or have I run into a bug?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Are they SNMPv2 devices and do you have net-snmp utilties installed?

What is your host down detection?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Mikkel
Posts: 32
Joined: Thu May 12, 2005 12:41 am

Post by Mikkel »

Yes and yes.

Host down detection method is "Ping and SNMP - Most Recommended".
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What version of php are you running?

When you click on the Cactus on the Cacti Console, what does it say your SNMP support is?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Mikkel
Posts: 32
Joined: Thu May 12, 2005 12:41 am

Post by Mikkel »

PHP 4.4.1

Cacti Variables
Operating System: win32
PHP SNMP Support: yes
Mikkel
Posts: 32
Joined: Thu May 12, 2005 12:41 am

Post by Mikkel »

I have just added a fictional device with a non-existing hostname. Even though this device is "down", the two switches went from "down" to "up".
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What poller are you running cmd.php or cactid? Also, what version of each?

Thanks,

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?
Mikkel
Posts: 32
Joined: Thu May 12, 2005 12:41 am

Post by Mikkel »

I'm running Cactid, version 0.8.6g.
Mikkel
Posts: 32
Joined: Thu May 12, 2005 12:41 am

Post by Mikkel »

Anyone? :(
kjh
Posts: 14
Joined: Wed Jan 18, 2006 2:50 am

Post by kjh »

Hi, I had this problem, too. Try a different ping kind.

Console -> Settings -> Poller -> Downed Host Detection + Ping Type. Try to set the settings different. My servers where now detected as up after set "SNMP Reliable" + "UDP Ping"
Mikkel
Posts: 32
Joined: Thu May 12, 2005 12:41 am

Post by Mikkel »

I changed "Host Detection" to "SNMP-Reliable" and kept ping-type "ICMP". It works!

Thanks for the tip!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests