Understand cacti.log

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

Moderators: Developers, Moderators

Post Reply
muriachi
Posts: 14
Joined: Tue Dec 14, 2004 6:54 am
Location: Campinas, BR

Understand cacti.log

Post by muriachi »

In the log of cacti always appear:
CMDPHP: Poller[0] Host[8] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail

I want know what device mean Host[8] ?
What's happening with host[8] ?

Thanks ...
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Turn you logging up to Debug Level: Settings -> General -> Poller Logging Level

That should give you more information. As for host 8, run the following query to find that host.

Code: Select all

SELECT * FROM HOST WHERE id = 8;
[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]
User avatar
jcullen
Posts: 24
Joined: Fri Sep 05, 2003 10:50 pm

??WHere are you running this query from??

Post by jcullen »

Thanks for your help.

Where abouts are you suppose to run this command to find out which host it is referring to??
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Run it in the mysql client.

Do not forget to have the cacti database as you current database.

Code: Select all

use cacti;
[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]
User avatar
jcullen
Posts: 24
Joined: Fri Sep 05, 2003 10:50 pm

Thanks for the Help!!

Post by jcullen »

Thanks so much for your help.

However I cheated I little bit.

I went to the device menu click on a device, and this is the URL

https://XXX.XXX.com/tools/cacti/data_so ... dit&id=349

I just changed the id= to the ID that was in question.
Just a Tid Bit that might help other NEwBies like myself.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

*slaps forhead*

Yah, that works too....

:oops:
[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]
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Look for log enhancement next release to contain a link to take you directly to the host.

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 9 guests