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    


Status - ERROR

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
eterzella.r.t
Cacti User


Joined: 25 Oct 2007
Posts: 65

PostPosted: Tue May 13, 2008 9:43 am    Post subject: Status - ERROR Reply with quote

Install the MacTrack, run then:

php -q /var/www/cacti/plugins/mactrack/poller_mactrack.php -f
05/13/2008 11:32:22 AM - SYSTEM MACTRACK STATS: Time:8.3025 ConcurrentProcesses:20 Devices:2

But in the "Device Tracking Management"->"Device" - with Device "Status Error".

My switchs are Dell PowerConnect 5324 and 3Com SuperStack III.

I create a Device Type for the SuperStack III, follows the photo below:


Quote:
Cacti Version - 0.8.7b
Plugin Architecture - 2.1
Poller Type - Cactid v
Server Info - Linux 2.6.17-10-server
Web Server - Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.3 mod_perl/2.0.2 Perl/v5.8.8
PHP - 5.2.3-1ubuntu6.3
PHP Extensions - zip, xmlwriter, libxml, dom, xmlreader, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dba, date, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, mysql, mysqli, PDO, pdo_mysql, snmp
MySQL - 5.0.24a-Debian_9-log
RRDTool - 1.2.23
SNMP - 5.2.2
Plugins
    Global Plugin Settings (settings - v0.3)
    Thresholds (thold - v0.3.
    Device Monitoring (monitor - v0.8.2)
    Host Info (hostinfo - v0.2)
    Network Tools (tools - v0.2)
    Device Tracking (mactrack - v1.1)
    Documents (docs - v0.1)
    flowview
    uptime
    PHP Network Weathermap (weathermap - v0.95a)
    Cacti-ReportIt (ReportIt - v0.6.0)
    Report Creator (reports - v0.3)
    SuperLinks (superlinks - v0.6)



cacti2.JPG
 Description:
 Filesize:  87.94 KB
 Viewed:  1988 Time(s)

cacti2.JPG



cacti.JPG
 Description:
 Filesize:  29.85 KB
 Viewed:  1988 Time(s)

cacti.JPG


Back to top
eterzella.r.t
Cacti User


Joined: 25 Oct 2007
Posts: 65

PostPosted: Tue May 13, 2008 9:48 am    Post subject: Reply with quote

php /var/www/cacti/plugins/mactrack/poller_mactrack.php -d

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 '2008-05-13 11:56:27'
DEBUG: The next database maintenance run time has been determined to be at '2008-05-13 15:28:25'
DEBUG: Either a scan has been forced, or it's time to check for macs
DEBUG: CMD: /usr/bin/php -q /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=1 -d
DEBUG: CMD: /usr/bin/php -q /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=2 -d
DEBUG: DNS Resolver process launched
DEBUG: A process cycle launch just completed.
DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: MAC addresses to Vendor MACS association pass complete.
DEBUG: MAC VLAN's in VLAN Table Updated.
DEBUG: Finished transferring scan results to main table.
DEBUG: Finished updating site table with collection statistics.
05/13/2008 11:47:37 AM - SYSTEM MACTRACK STATS: Time:8.1818 ConcurrentProcesses:20 Devices:2
You have new mail in /var/mail/cactiuser



/usr/bin/php -q /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=1 -d

DEBUG: HOST: 10.0.0.101 is alive, processing has begun.
DEBUG: WARNING: SITE: SITE - SWITCHS, IP: 10.0.0.101, TYPE: 3Com SuperStack 3, Device Type Not Found in Device Type Table.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',device_type_id='0',scan_type = '1',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='snmp-vestec',snmp_sysName='Switch DMZ',snmp_sysLocation='3com 4226GT',snmp_sysContact='blablabla',snmp_sysObjectID='.1.3.6.1.4.1.43.10.27.4.1.2.11',snmp_sysDescr='3Com SuperStack 3',snmp_sysUptime='175013974',snmp_status='4',last_runmessage='WARNING: Device Type Not Found in Device Type Table.',last_rundate='2008-05-13 11:50:30',last_runduration='0.067' WHERE device_id ='1'
Back to top
eterzella.r.t
Cacti User


Joined: 25 Oct 2007
Posts: 65

PostPosted: Wed May 14, 2008 3:23 pm    Post subject: Reply with quote

Plz help.
Back to top
TheWitness
Developer


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

PostPosted: Thu May 15, 2008 5:02 am    Post subject: Reply with quote

The sysDescr has some special characters. So, just make it 3Com Superstack and take off the "III". I think you will then have better luck.

TheWitness
Back to top
crashergs
Cacti User


Joined: 23 May 2008
Posts: 51

PostPosted: Wed Jun 11, 2008 12:32 pm    Post subject: Reply with quote

has this resolved your issue? I would like to know as well.
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Wed Jun 11, 2008 12:41 pm    Post subject: Reply with quote

TheWitness wrote:
The sysDescr has some special characters. So, just make it 3Com Superstack and take off the "III". I think you will then have better luck.

TheWitness


Yah, I think you're right. I have that switch, and I think I posted the original device settings..

The correct settings are as follows:



SP32-20080611-134042.gif
 Description:
 Filesize:  27.83 KB
 Viewed:  1615 Time(s)

SP32-20080611-134042.gif


Back to top
crashergs
Cacti User


Joined: 23 May 2008
Posts: 51

PostPosted: Wed Jun 11, 2008 8:20 pm    Post subject: Reply with quote

Streaker,

are you having the same issues as the original poster?
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Wed Jun 11, 2008 8:32 pm    Post subject: Reply with quote

Nope, mine works fine.
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