Cacti Log File Questions

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Marador
Posts: 5
Joined: Sun Oct 03, 2004 6:43 pm

Cacti Log File Questions

Post by Marador »

Hey Everyone,

Below is a snipet of my log, i am trying to find out if there is a way to identifiy which host[x] associates with which hosts.

Any help would be much appreciated.


10/26/2004 08:36:38 AM - SYSTEM STATS: Time: 97.0234 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 18, Hosts/Process: 18
10/26/2004 08:36:19 AM - CMDPHP: Poller[0] Host[15] WARNING: Result from SNMP not valid. Partial Result:
10/26/2004 08:35:18 AM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
10/26/2004 08:35:14 AM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
Hip
Posts: 18
Joined: Wed Sep 01, 2004 5:21 am
Location: Switzerland

Post by Hip »

Hello Marador,

The host number between the brackets is in fact the host id that is stored in the database.

Using an SQL query, you can fetch the hostname / description of these hosts with the following query:

Code: Select all

SELECT hostname, description FROM host WHERE id='x'
Note: obviously, you should replace the x with the number in brackets (keeping the apostrophes).

Alternatively, you may go on the "Console -> Devices" page and look at the links of all the devices. This host id is in the link.

Hope that helps.
Marador
Posts: 5
Joined: Sun Oct 03, 2004 6:43 pm

Post by Marador »

Thanks mate,

I had to use the Mysql query because i couldnt find it listed under Device, but now i have something to work with.

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest