Bug #2893
closedAdd extTable to SNMPd or change sysDescr.
100%
Description
Please add extTable lines in bSNMPd config (/var/etc/snmpd.config) like:
# Extension commands (extTable) extNames.0 = "uname" extCommand.0 = "/usr/bin/uname -a" extNames.1 = "uptime" extCommand.1 = "/usr/bin/uptime"
or make custom sysDescr. For example, like:
SNMPv2-MIB::sysDescr.0 = STRING: pfsense.localdomain pfSense-2.1 FreeBSD 8.1-RELEASE-p13
This is necessary to be able identified over snmp as system with pfSense.
(Now pfSense system does not distinguish from normal system with FreeBSD.
Updated by Jim Pingle over 11 years ago
The commands would only work if the user has the UCD module loaded, which is possible on 2.1. I would hesitate to add these in hardcoded though, opting to have a rowhelper-style control where you could enter as many commands as desired.
A patch to add the commands hardcoded can be grabbed from here:
http://files.pfsense.org/jimp/patches/add_extcommands_2893.patch
Updated by Mike Stupalov over 11 years ago
I found old mails in mailing list, which discussed the issue:
http://www.mail-archive.com/support@pfsense.com/msg08634.html
Unfortunately, since then, nothing has changed..
sysDescr change is preferable because it will not depending on the module UCD.
offers the following format:
"$os $host $version $platform $base $base_version $base_hardware"
for example monowall is displayed, as follows:
SNMPv2-MIB::sysDescr.0 = STRING: "m0n0wall gw.de56.net 1.33 generic-pc FreeBSD 6.4-RELEASE-p5 i386"
Updated by Jim Pingle over 11 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset dadf8ebb488c6dbefc84cf1a104e1d34e41966bb.
Updated by Renato Botelho about 10 years ago
- Status changed from Feedback to Resolved