Device status "unknow"
Moderators: Developers, Moderators
Device status "unknow"
I have installed CactiEZ packet , And status of device on Device Tracking > Devices is "unknow" , my poller is IDLE , I use cisco 2950 ,3550
Thx
Thx
did you try some of the mactrak utils under console? Also, what is your mactrack settings for polling? you may have to wait until the next time around.
You could also run it manually from the command line.
You could also run it manually from the command line.
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Can you give us the exact text (minus confidentual info) that these 2 commands output?
Code: Select all
php -q poller_mactrack.php -f -d
php -q mactrack_scannner.php -id=1 -d
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Your problem is that your device type is not being recognized in the Device Type database. You need to add an entry for it. BTB, I can't believe I wrote this tool. I miss it's elegance. (BTB, I say that because I am no longer doing network Monitoring work ).
TheWitness
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?
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?
This is result of 2 command.
[root@localhost mactrack]# php -q mactrack_scanner.php -id=1 -d
DEBUG: ERROR: Device with Id of '1' not found in database. Can not continue.
[root@localhost mactrack]# php -q poller_mactrack.php -d -f
\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 '2006-10-13 10:50:07'
DEBUG: The next database maintenance run time has been determined to be at '2006-10-14 0:00:00'
DEBUG: Either a scan has been forced, or it's time to check for macs
DEBUG: CMD: /usr/bin/php -q /var/www/html/plugins/mactrack/mactrack_scanner.php -id=10 -d
DEBUG: DNS Resolver process launched
DEBUG: A process cycle launch just completed.
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.
10/13/2006 10:49:49 AM - SYSTEM MACTRACK STATS: Time:4.0777 ConcurrentProcesses:7 Devices:1
[root@localhost mactrack]# php -q mactrack_scanner.php -id=1 -d
DEBUG: ERROR: Device with Id of '1' not found in database. Can not continue.
[root@localhost mactrack]# php -q poller_mactrack.php -d -f
\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 '2006-10-13 10:50:07'
DEBUG: The next database maintenance run time has been determined to be at '2006-10-14 0:00:00'
DEBUG: Either a scan has been forced, or it's time to check for macs
DEBUG: CMD: /usr/bin/php -q /var/www/html/plugins/mactrack/mactrack_scanner.php -id=10 -d
DEBUG: DNS Resolver process launched
DEBUG: A process cycle launch just completed.
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.
10/13/2006 10:49:49 AM - SYSTEM MACTRACK STATS: Time:4.0777 ConcurrentProcesses:7 Devices:1
Hi friend,
I have some issue is device_type_id=0 , I don't have device_type_id=0 in my table mac_track_device_types.
And i have manual add this record in database , Result is device_type_id=1 only.
Thx.
[root@localhost mactrack]# php -q mactrack_scanner.php -id=1 -d
DEBUG: HOST: 192.168.222.181 is alive, processing has begun.
DEBUG: WARNING: SITE: Bangkok, IP: 192.168.222.181, TYPE: Cisco Internetwork Operating System Soft, 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='APACIME',snmp_sysName='F29RSTLDEV01',snmp_sysLocation='',snmp_sysContact='',snmp_sysObjectID='.1.3.6.1.4.1.9.1.429',snmp_sysDescr='Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA6, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Fri 21-Oct-05 01:59 by yenanh',snmp_sysUptime='819767658',snmp_status='4',last_runmessage='WARNING: Device Type Not Found in Device Type Table.',last_rundate='2006-10-13 15:33:29',last_runduration='0.068' WHERE device_id ='1'
[root@localhost mactrack]#
I have some issue is device_type_id=0 , I don't have device_type_id=0 in my table mac_track_device_types.
And i have manual add this record in database , Result is device_type_id=1 only.
Thx.
[root@localhost mactrack]# php -q mactrack_scanner.php -id=1 -d
DEBUG: HOST: 192.168.222.181 is alive, processing has begun.
DEBUG: WARNING: SITE: Bangkok, IP: 192.168.222.181, TYPE: Cisco Internetwork Operating System Soft, 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='APACIME',snmp_sysName='F29RSTLDEV01',snmp_sysLocation='',snmp_sysContact='',snmp_sysObjectID='.1.3.6.1.4.1.9.1.429',snmp_sysDescr='Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA6, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Fri 21-Oct-05 01:59 by yenanh',snmp_sysUptime='819767658',snmp_status='4',last_runmessage='WARNING: Device Type Not Found in Device Type Table.',last_rundate='2006-10-13 15:33:29',last_runduration='0.068' WHERE device_id ='1'
[root@localhost mactrack]#
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You need a router or layter 3 switch defined in order to get IP Addresses. I expect that you need a little trainig, although I never wrote a manual.
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That's interesting, you should post more details.
Thanks,
TheWitness
Thanks,
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?
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?
This log is happen when i run php -q poller_mactrack -d -f .
PHP Warning: mysql_pconnect(): Lost connection to MySQL server during query in /var/www/html/lib/adodb/drivers/adodb-mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Lost connection to MySQL server during query in /var/www/html/lib/adodb/drivers/adodb-mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Lost connection to MySQL server during query in /var/www/html/lib/adodb/drivers/adodb-mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Lost connection to MySQL server during query in /var/www/html/lib/adodb/drivers/adodb-mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Lost connection to MySQL server during query in /var/www/html/lib/adodb/drivers/adodb-mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Lost connection to MySQL server during query in /var/www/html/lib/adodb/drivers/adodb-mysql.inc.php on line 355
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That's bad, you should increase your connection count in MySQL, or check that server for a bad nic/cabling/duplex.
TheWitness
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?
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?
Hi,
I have the same problem that realbatis has encoutered... I only get Error status under when scanning my devices...
The whitness, could you please give an exemple of what I should add in the mac_track_device_type_table for the device_type=0 ?
for our information, I'm trying to mactrack Cisco CatOS switchs...
Thanks
I have the same problem that realbatis has encoutered... I only get Error status under when scanning my devices...
The whitness, could you please give an exemple of what I should add in the mac_track_device_type_table for the device_type=0 ?
for our information, I'm trying to mactrack Cisco CatOS switchs...
Thanks
Who is online
Users browsing this forum: No registered users and 4 guests