Timeouts when querying devices

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
lavermil
Posts: 45
Joined: Thu Feb 15, 2007 2:25 pm
Location: Phoenix, Arizona

Timeouts when querying devices

Post by lavermil »

Hello,

I have noticed a lot of queries timeout. I decided to disable all but one switch and 1 6509 Sw/Router (distribution) to see if it was still going ot happen and it did. Why would they be doing this?

Here is an example of what I am seeing.

sudo /usr/bin/php /srv/www/htdocs/cacti/plugins/mactrack/poller_mactrack.php -d -f
Password:
DEBUG: About to enter MacTrack poller processing
DEBUG: Into Processing. Checking to determine if it's time to run.
DEBUG: Checking if user changed the start time
DEBUG: Checking if user changed the maintenance time
DEBUG: The next run time has been determined to be at '2007-02-16 17:37:00'
DEBUG: The next database maintenance run time has been determined to be at '2007-02-16 0:00:00'
DEBUG: Either a scan has been forced, or it's time to check for macs
DEBUG: CMD: /usr/bin/php -q /srv/www/htdocs/cacti/plugins/mactrack/mactrack_scanner.php -id=5 -d
DEBUG: CMD: /usr/bin/php -q /srv/www/htdocs/cacti/plugins/mactrack/mactrack_scanner.php -id=14 -d
DEBUG: DNS Resolver process launched
DEBUG: A process cycle launch just completed.
DEBUG: Waiting on 2 to complete prior to exiting.
DEBUG: Waiting on 2 to complete prior to exiting.
**TRUNCATED**
Timeout: No Response from ops-as-03:161
**TRUNCATED**
DEBUG: Waiting on 0 to complete prior to exiting.
DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: Finished transferring scan results to main table.
DEBUG: Finished updating site table with collection statistics.
02/15/2007 05:58:39 PM - SYSTEM MACTRACK STATS: Time:309.4061 ConcurrentProcesses:7 Devices:21
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Run these independently and post the output.

TheWitness

DEBUG: CMD: /usr/bin/php -q /srv/www/htdocs/cacti/plugins/mactrack/mactrack_scanner.php -id=5 -d
DEBUG: CMD: /usr/bin/php -q /srv/www/htdocs/cacti/plugins/mactrack/mactrack_scanner.php -id=14 -d
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?
lavermil
Posts: 45
Joined: Thu Feb 15, 2007 2:25 pm
Location: Phoenix, Arizona

Post by lavermil »

TheWitness wrote:Run these independently and post the output.

TheWitness

DEBUG: CMD: /usr/bin/php -q /srv/www/htdocs/cacti/plugins/mactrack/mactrack_scanner.php -id=5 -d
DEBUG: CMD: /usr/bin/php -q /srv/www/htdocs/cacti/plugins/mactrack/mactrack_scanner.php -id=14 -d
With the latest version in the SVN you don't have -id as an option.

Network Mac Tracker Master Process Control Version 1.0, Copyright 2005 - Larry Adams

usage: poller_mactrack.php [-sid=site_id] [-d] [-h] [--help] [-v] [--version]

-sid=site_id - the mac_track_sites site_id to scan
-f - Force the execution of a collection process
-d - Display verbose output during execution
-v --version - Display this help message
-h --help - display this help message
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Of course, you misread what I posted.... Read again.

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?
lavermil
Posts: 45
Joined: Thu Feb 15, 2007 2:25 pm
Location: Phoenix, Arizona

Post by lavermil »

I moved this subject to the main tread the other day. Not sure if you want to track it in this thread or in that one.
lavermil
Posts: 45
Joined: Thu Feb 15, 2007 2:25 pm
Location: Phoenix, Arizona

Post by lavermil »

TheWitness wrote:Of course, you misread what I posted.... Read again.

TheWitness
Larry,

FYI, the reason this is timing out is because the timeout for snmpbulkwalk is not long enough. an option to change this in the "add device" section would be nice.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests