What is this,Serial Number Base OID?
Can someone explain,please
/pgus
Serial Number Base OID Option?
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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 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: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It's not visible in the interface, but in the database. That was a UI component that I never finished.
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?
Re: Serial Number Base OID Option?
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
For searching available 'serials' in your MIB tree, can be used this command:
###########
In past, in code of plugin, was exist column 'serial_number' in table 'mac_track_devices', but it was deleted:
And this 'serial_number_oid' variable was added to table 'mac_track_device_types' (i think for adding automatics for getting serials via SNMP):
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: Select all
snmpwalk -v2c -c public <device-ip> .1.3.6.1.2.1.47.1.1.1.1.11
Code: Select all
snmptranslate -TB '.*erial.*'
In past, in code of plugin, was exist column 'serial_number' in table 'mac_track_devices', but it was deleted:
Code: Select all
./database_upgrade.php: delete_column("mac_track_devices", "serial_number", "ALTER TABLE `mac_track_devices` DROP COLUMN `serial_number`, ENGINE=MyISAM;");
Code: Select all
./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;");
Who is online
Users browsing this forum: No registered users and 0 guests