Feb 11, 2018 - For SNMP v3, click Edit Settings Change the SNMP version to v3 Click Add. Set the host, port, user name, authentication credentials.
IMHO the Sophos UTM is too loose in its SNMP implementation; I'd rather treat this as a Sophos bug than as a bug in SNMP::Info.
If I understand correctly, the Sophos UTM had an empty sysDescr.0 value by default. The description of that object is:
SNMPv2-MIB::sysDescr
sysDescr OBJECT-TYPE
-- FROM SNMPv2-MIB, RFC1213-MIB
-- TEXTUAL CONVENTION DisplayString
SYNTAX OCTET STRING (0..255)
MAX-ACCESS read-only
STATUS mandatory
DESCRIPTION 'A textual description of the entity. This value
should include the full name and version
identification of the system's hardware type,
software operating-system, and networking
software. It is mandatory that this only contain
printable ASCII characters.'
::= { iso(1) org(3) dod(6) internet(1) mgmt(2) mib-2(1) system(1) 1 }
...so it 'should' by default include a a certain level of detail about the hardware and software that the SNMP agent is running on. The object is read-only; virtually all vendors indeed use a format that describes the platform and OS version on it, and don't allow changing it to any other user-settable value; not through SNMP, nor through any other means of configuration.
Of course we could consider working around this implementation, but given that the device also doesn't report a useful value in sysServices, I'd advise against that; we'd be stacking workaround upon workaround.
Basically the Sophos says by default 'I'm a device that doesn't want to identify myself in a commonly accepted way, and I don't provide any network services at any layer of the OSI model'.
@ollyg, what's your position on this?
I want to find all the snmp enabled devices in my network, I got something like how it works in a agent and manager architecture.
I got net-snmp library to create a simple application to get the snmp data from a remote device.I have to write a program to do this ,I want the mac address of the device and some more info.
I got program to get a data from the remote node,But I have one doubt how to get the mac address of the system and what is the oid to get the mac of the device ,
Is there any generic oids which will not vendor specific.I have to get data for all the devices.
Some updates:
Now using snmp tools snmpwalk I am getting may information but among which I want some system info,mac ,os name if avilable ,but I how to program using net-snmp to get these info as I do not know the generic oid by which system name will come.I want to write a program and I have to get some required info so I need the oid ,I have to give this oid to the net-Snmp's function so that it will give me the coresponding result .
I have to use the string name like sysName to get the system name ,If so then in case of mac address there written 'ifPhysAddress.2' and then the mac is mentioned (in the result of snmpwalk).so what is the oid to get the mac as it is different for all the device.
when I am using snmpwalk I am getting one line as follow
SNMPv2-SMI::mib-2.25.3.2.1.3.1 = STRING: 'HP LaserJet Professional P1606dn'
This is the name of the printer .means this oid is for getting the name of the printer (mib-2.25.3.2.1.3.1).Is this true for all the device means if i query to this oid I will get the device name of the corresponding IP what ever be the device may be.Is this correct or not.
Kindly,give some idea.
Thanks
Many monitoring applications will include a network discovery tool which can query snmp on all devices it discovers. Some will even allow you to enter multiple SNMP community strings and it will try each of them.
Here's a script that I use with OpenNMS that will generate an XML file containing snmp-enabled devices and their respective communities.
It accepts IP addresses and multiple community names as input files.