Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Nov 18, 2018 10:16 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Serial Number Base OID Option?
PostPosted: Mon Sep 29, 2008 1:43 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 9:54 am
Posts: 47
What is this,Serial Number Base OID?
Can someone explain,please

/pgus


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 30, 2008 6:19 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14802
Location: MI, USA
If your device stores the serial number as an OID or group of group of OID's accessible via a snmpwalk, then specify that in the Device Type.

However, I don't know if it actually works :( It's been a while since I touched that code.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 02, 2008 3:17 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 9:54 am
Posts: 47
Hi!

But that are the purpose? Can I view it somewhere?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 03, 2008 10:31 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14802
Location: MI, USA
It's not visible in the interface, but in the database. That was a UI component that I never finished.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 15, 2009 7:57 am 
Offline
Cacti User
User avatar

Joined: Tue Sep 12, 2006 3:06 am
Posts: 116
TheWitness wrote:
It's not visible in the interface, but in the database.

TheWitness


Mmh... :(

searched through the entire DB, wasn't able to find nothing else than the

mac_track_device_types.serial_number_oid

but it's stored anywhere in the DB?


Top
 Profile  
 
 Post subject: Re: Serial Number Base OID Option?
PostPosted: Tue May 30, 2017 3:59 am 
Offline
User avatar

Joined: Tue May 30, 2017 3:50 am
Posts: 8
I think 'Device Serial Number' is not used yet in Mactrack DB, only 'serial_number_oid' exist, but not used in SNMP request functions and not stored in DB.
But for serials, in most cases, can be used this standard OID:
entPhysicalSerialNum.1 (.1.3.6.1.2.1.47.1.1.1.1.11.1)
(not always .1 at the end on different vendors)
This command will show list of available Serials on device
Code:
snmpwalk -v2c -c public <device-ip> .1.3.6.1.2.1.47.1.1.1.1.11

For searching available 'serials' in your MIB tree, can be used this command:
Code:
snmptranslate -TB '.*erial.*'

###########
In past, in code of plugin, was exist column 'serial_number' in table 'mac_track_devices', but it was deleted:
Code:
./database_upgrade.php: delete_column("mac_track_devices", "serial_number",   "ALTER TABLE `mac_track_devices` DROP COLUMN `serial_number`, ENGINE=MyISAM;");

And this 'serial_number_oid' variable was added to table 'mac_track_device_types' (i think for adding automatics for getting serials via SNMP):
Code:
./database_upgrade.php: add_column("mac_track_device_types", "serial_number_oid", "ALTER TABLE `mac_track_device_types` ADD COLUMN `serial_number_oid` VARCHAR(100) DEFAULT '' AFTER `scanning_function`, ENGINE=MyISAM;");


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group