Add extTable to SNMPd or change sysDescr.
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.
#1 Updated by Jim Pingle over 6 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:
#2 Updated by Mike Stupalov over 6 years ago
I found old mails in mailing list, which discussed the issue:
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"