Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Timeouts when querying devices

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
lavermil



Joined: 15 Feb 2007
Posts: 45
Location: Phoenix, Arizona

PostPosted: Thu Feb 15, 2007 8:05 pm    Post subject: Timeouts when querying devices Reply with quote

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
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Fri Feb 16, 2007 5:24 pm    Post subject: Reply with quote

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
Back to top
lavermil



Joined: 15 Feb 2007
Posts: 45
Location: Phoenix, Arizona

PostPosted: Fri Feb 16, 2007 5:44 pm    Post subject: Reply with quote

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
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9723
Location: MI, USA

PostPosted: Fri Feb 16, 2007 8:17 pm    Post subject: Reply with quote

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

TheWitness
Back to top
lavermil



Joined: 15 Feb 2007
Posts: 45
Location: Phoenix, Arizona

PostPosted: Wed Feb 28, 2007 4:38 pm    Post subject: Reply with quote

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.
Back to top
lavermil



Joined: 15 Feb 2007
Posts: 45
Location: Phoenix, Arizona

PostPosted: Wed Mar 07, 2007 10:47 pm    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group