End Device Tracking Add-On for Cacti

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

I'm not sure if this is just since the upgrade (though I think it partially is), but none of the switches hanging off of the big floor switches are being seen (show up as error - though I know at least one of them used to show up as unkown).

I have a 3500s hanging off of both of the two 4006s. Even the 4006 with all of it's blades showing up isn't giving up the 3500. Is there anything I can/need to do to allow this info to be passed?

cacti/snmpwalk is able to get to those devices.
marcmo
Posts: 27
Joined: Wed Sep 21, 2005 3:39 pm

Post by marcmo »

All-

I've been trying to get the mac_track plugin working and I'm unable to get the tab to even appear. I've just upgraded to .86h and everything else appears to work, even my other plugins, I just don't seem to be able to get the mac_tarck plugin going. Any ideas on where to start?

Thanks,

marcmo
marcmo
Posts: 27
Joined: Wed Sep 21, 2005 3:39 pm

Post by marcmo »

DOH!

I think I found my problem. The plugin should be labeled mactrack not mac_track in config.php correct? The directory under plugins should be .... mac_track or mactrack? I used a link to cover my bases but what is correct.?

Thanks,

marcmo
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

I updated the code for mactrack from svn, and now my tab is gone as well...? The name I have in config.php is the same as the folder - which is the same as it has always been.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

knobdy wrote:I updated the code for mactrack from svn, and now my tab is gone as well...? The name I have in config.php is the same as the folder - which is the same as it has always been.
The plugin name has changed from mac_track to mactrack, and will not work otherwise. Certain parts of the plugin architecture rely on the folder name being correct to initialize the plugins.
jarhead
Cacti User
Posts: 59
Joined: Tue Nov 22, 2005 2:24 pm
Location: Portland, Or

Post by jarhead »

I am having some weird issues with 4006's also when they are set at version 2 they seem to work for the most part. They actually find the user ports and then do the sql inserts for the mac address's and the IP's associated with them. but at the end I get this

DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='*******',snmp_sysName='pdx1-7a-406t-a',snmp_sysLocation='',snmp_sysContact='',snmp_sysObjectID='.1.3.6.1.4.1.9.1.448',snmp_sysDescr='Cisco Internetwork Operating System Software IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-IS-M), Version 12.1(11b)EW1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc2) TAC Support: http://www.cisco.com/tac Copyright (c) 1986-2002 by cisco Systems, Inc.',snmp_sysUptime='1102233790',snmp_status='3',last_runmessage='ERROR: Device Type Not Found in Device Type Table.',last_rundate='2006-01-05 16:36:57',last_runduration='33.5404' WHERE device_id ='1'

I did add it to the device type table that is what allowed me to get this far. When I change this to snmp version 1 it fails miserably.

It does find the vlans

DEBUG: VLAN Analysis for VLAN: 102 is complete. ACTIVE PORTS: 23

but then it shows this

DEBUG: Processing has begun for VLAN: 102
DEBUG: No user ports on this network.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 102, VLAN_NAME: it-server, ACTIVE PORTS: 0

it does enter the Mac's into the tables like this

DEBUG: SQL: REPLACE INTO mac_track_ips (site_id,device_id,hostname,description,port_number,mac_address,ip_address,scan_date) VALUES ('1','1','pdx1-7a-406t-a','pdx1-7a-406t-a','281','HEX-00:00:50:8B:D','Network Address: 0A:3D:48:FC','2006-01-05 16:36:57')

but there is no IP associated entry

With version 2 I can get data into the database because I can see it with phpMyAdmin but I can not see it when I search the sites.

Any clues????
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Do you have php_snmp extension loaded? What version of PHP, what version of Net-SNMP.

Please create a php file called phpinfo.php with the following contents <?php phpinfo(); ?>

Place that file in your web root and then run if from the browser. Post the results.

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?
jarhead
Cacti User
Posts: 59
Joined: Tue Nov 22, 2005 2:24 pm
Location: Portland, Or

Post by jarhead »

It is a freebsd 5.4 server
php 5.1.1
net-snmp 5.2.2




System FreeBSD logtest.webtrends.corp 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Thu Jan 5 14:18:12 GMT 2006 root@logtest.webtrends.corp:/usr/obj/usr/src/sys/GENERIC i386
Build Date Dec 30 2005 18:29:49
Configure Command './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-spl' '--with-regex=php' '--with-apxs=/usr/local/sbin/apxs' '--disable-ipv6' '--prefix=/usr/local' 'i386-portbld-freebsd5.4'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/etc/php.ini
Scan this dir for additional .ini files /usr/local/etc/php
additional .ini files parsed /usr/local/etc/php/extensions.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support disabled
Registered PHP Streams php, file, http, ftp, compress.bzip2, https, ftps, compress.zlib
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, bzip2.*, convert.iconv.*, zlib.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies



--------------------------------------------------------------------------------

PHP Credits

--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log syslog syslog
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir /usr/local/lib/php/20050922 /usr/local/lib/php/20050922
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .: .:
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_time 60 60
memory_limit 8M 8M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 8M 8M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off


apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.34 (Unix) mod_auth_pam/1.1.1 PHP/5.1.1 mod_ssl/2.8.25 OpenSSL/0.9.8a
Apache Release 10334100
Apache API Version 19990320
Hostname:Port logtest.webtrends.corp:80
User/Group www(80)/80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /usr/local
Loaded Modules mod_auth_pam, mod_php5, mod_ssl, mod_setenvif, mod_so, mod_unique_id, mod_log_forensic, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_define, mod_env, mod_vhost_alias, mod_mmap_static, http_core

Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0


Apache Environment
Variable Value
DOCUMENT_ROOT /usr/local/www/data
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-us
HTTP_CONNECTION Keep-Alive
HTTP_HOST logtest.webtrends.corp
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
PATH /sbin:/bin:/usr/sbin:/usr/bin
REMOTE_ADDR 10.61.17.86
REMOTE_PORT 1992
SCRIPT_FILENAME /usr/local/www/data/phpinfo.php
SERVER_ADDR 10.61.17.147
SERVER_ADMIN you@your.address
SERVER_NAME logtest.webtrends.corp
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.34 Server at logtest.webtrends.corp Port 80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.34 (Unix) mod_auth_pam/1.1.1 PHP/5.1.1 mod_ssl/2.8.25 OpenSSL/0.9.8a
UNIQUE_ID Q71gwwo9EZMAAAHSDbM
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /phpinfo.php
SCRIPT_NAME /phpinfo.php


HTTP Headers Information
HTTP Request Headers
HTTP Request GET /phpinfo.php HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Encoding gzip, deflate
Accept-Language en-us
Connection Keep-Alive
Host logtest.webtrends.corp
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
HTTP Response Headers
X-Powered-By PHP/5.1.1
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html


bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.2, 30-Dec-2001


ctype
ctype functions enabled


curl
CURL support enabled
CURL Information libcurl/7.15.1 OpenSSL/0.9.8a zlib/1.2.1


date
date/time support enabled
Timezone Database Version 2005.14
Timezone Database internal
Default timezone Africa/Abidjan

Directive Local Value Master Value
date.timezone no value no value


dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.22
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled


ftp
FTP support enabled


gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.10
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled


iconv
iconv support enabled
iconv implementation libiconv
iconv library version 1.9

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1


imap
IMAP c-Client Version 2004
SSL Support enabled


ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.161 2005/08/03 14:07:22 sniper Exp $
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20230


libxml
libXML support active
libXML Version 2.6.22
libXML streams enabled


mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.1

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.substitute_character no value no value


mcrypt
mcrypt support enabled
Version 2.5.7
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value


mysql
MySQL Support enabled
Active Persistent Links 1
Active Links 1
Client API version 4.1.16
MYSQL_MODULE_TYPE no value
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off


odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library no value
ODBC_INCLUDE no value
ODBC_LFLAGS no value
ODBC_LIBS no value

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited


openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8a 11 Oct 2005


pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.2 01-Aug-2005


pdf
PDF Support enabled
PDFlib GmbH Version 6.0.2
PECL Version 2.0.3
Revision $Revision: 1.143 $


posix
Revision $Revision: 1.70.2.1 $


session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 7200 7200
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0


SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.7 $
Schema support enabled


snmp
NET-SNMP Support enabled
NET-SNMP Version 5.2.2


soap
Soap Client enabled
Soap Server enabled

Directive Local Value Master Value
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_ttl 86400 86400


SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RuntimeException, SplFileObject, SplObjectStorage, UnderflowException, UnexpectedValueException


SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.7 2005/11/25 16:01:41 sniper Exp $
SQLite Library 2.8.16
SQLite Encoding iso8859

Directive Local Value Master Value
sqlite.assoc_case 0 0


standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.83 90.83
date.sunset_zenith 90.83 90.83
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value


tokenizer
Tokenizer Support enabled


xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.22


zip
Zip support enabled


zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1
Linked Version 1.2.1

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value


Additional Modules
Module Name


Environment
Variable Value
HOME /
PATH /sbin:/bin:/usr/sbin:/usr/bin


PHP Variables
Variable Value
_SERVER["DOCUMENT_ROOT"] /usr/local/www/data
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] logtest.webtrends.corp
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
_SERVER["PATH"] /sbin:/bin:/usr/sbin:/usr/bin
_SERVER["REMOTE_ADDR"] 10.61.17.86
_SERVER["REMOTE_PORT"] 1992
_SERVER["SCRIPT_FILENAME"] /usr/local/www/data/phpinfo.php
_SERVER["SERVER_ADDR"] 10.61.17.147
_SERVER["SERVER_ADMIN"] you@your.address
_SERVER["SERVER_NAME"] logtest.webtrends.corp
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"] <ADDRESS>Apache/1.3.34 Server at logtest.webtrends.corp Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"] Apache/1.3.34 (Unix) mod_auth_pam/1.1.1 PHP/5.1.1 mod_ssl/2.8.25 OpenSSL/0.9.8a
_SERVER["UNIQUE_ID"] Q71gwwo9EZMAAAHSDbM
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /phpinfo.php
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["PATH_TRANSLATED"] /usr/local/www/data/phpinfo.php
_SERVER["PHP_SELF"] /phpinfo.php
_SERVER["REQUEST_TIME"] 1136484547
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["HOME"] /
_ENV["PATH"] /sbin:/bin:/usr/sbin:/usr/bin
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Did you "roll your own" build of PHP?

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?
jarhead
Cacti User
Posts: 59
Joined: Tue Nov 22, 2005 2:24 pm
Location: Portland, Or

Post by jarhead »

yes, I did a build of php5 from the ports directory. Also did the same for net-snmp. I did download cacti and use that instead of the ports tree.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Jarhead,

I will see if I can put a hack in MacTrack to cleanup the strings.

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?
fin51
Posts: 6
Joined: Fri Nov 18, 2005 8:12 am

Working nicely

Post by fin51 »

Just wanted to say thanks for all the hard work. Now that I have synced up with the plugin in cvs, all is working ok. I just wanted to know when the "Port's to ignore" function will be working. Also are you going to have dns resolution enabled for the ip's that mactrack finds. It would be nice to have so you could look up a hostname for instance. Anyway, thanks again for everything and look forward to newer improved versions.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Port's to ignore should be working. You need to specify a list of ports, in the format shown by the View Tab, in the cell. Each port must be separated by a colon ":". I would like someone to test that feature since I have not tested it.

I would like it tested with, and without spaces between the colons.

As far as DNS resolution is concerned, you might notice in Settings->Device Tracking, some DNS information. I have rough plumbed this feature, and now I have to find a way to efficiently implement it. I don't want to wait to the end as that would be very inneficient. Especially when,

1) Your DNS is not setup 100%
2) You have 40,000 IP's as I do

I am scanning every 4 hours with 8-10 concurrent processors on a 4 way HT box and it takes way too long. Mainly because of those nasty 4006 switches.

But if you set the DNS timeout to be 500 ms and 50% of your 40,000 IP's timeout. With a single process, that would take 20,000x.5 seconds to complete or 3 hours. Not good. I'm working on it though.

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?
fin51
Posts: 6
Joined: Fri Nov 18, 2005 8:12 am

Ports ignore not working

Post by fin51 »

I already added the correct ports to ignore but they still show up. I did seperate them as you suggested but still no luck. Is there anything I can do to test or debug why this is not working. Once that is working then I may change over to the plugin completely and drop Netdisco.

Thanks........
Dwayne_Dibbley
Cacti User
Posts: 52
Joined: Sun Sep 18, 2005 3:38 pm

Post by Dwayne_Dibbley »

Running the plugin build 55 with the updated plugin files to allow util running. Devices are scanned but nothing shows in the MACTRACK tab empty even if i select the site and device. The Device reports 75 user ports 4 trunk ports under device tracking menu?

No errors in log file.

Nigel
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests