Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Unable to see serial number for Linux devices (Shravan Hulyalkar)
--- Begin Message ---
Hello All,

I was able to add the Linux devices after installing SNMP and adding the
correct SNMP settings to the snmpd.conf file.

I have tried adding the different MIBs which i found online on stack
overflow.

This is the snmpd.conf file.























*# Please see /usr/share/doc/packages/net-snmp/EXAMPLE.conf for a# more
complete example and snmpd.conf(5).## Writing is disabled by default for
security reasons.  If you'd like# to enable it uncomment the rwcommunity
line and change the community# name to something nominally secure (keeping
in mind that this is# transmitted in clear text).# don't use ' < > in
strings for syslocation or syscontact# Note that if you define the
following here you won't be able to change# them with snmpsetsyslocation
Server Roomsyscontact Sysadmin (root@localhost)# These really aren't meant
for production use.  They include all MIBS# and can use considerable
resources.  See snmpd.conf(5) for information# on setting up groups and
limiting MIBS.rocommunity arista 10.125.0.72view systemview included
.1.3.6.1.2.1.1view systemview included .1.3.6.1.2.1.25.1.1view systemview
included .1.3.6.1.4.1# rwcommunity mysecret 127.0.0.1*

As you can see here in netdisco its not able to grab the serial number.


System Name cptdevc01n38
Location Server Room
Contact Sysadmin (root@localhost)
Vendor / Model Net-SNMP
<http://10.125.0.72:5000/search?tab=device&matchall=checked&q=Net-SNMP&vendor=Net-SNMP>
 / linux
<http://10.125.0.72:5000/search?tab=device&matchall=checked&q=linux&model=linux>
OS / Version Linux
<http://10.125.0.72:5000/search?tab=device&matchall=checked&q=Linux&os=Linux>
 / 4.12.14-95.29-default / Net-SNMP 5.7.3
<http://10.125.0.72:5000/search?tab=device&matchall=checked&q=4.12.14-95.29-default%20%2F%20Net-SNMP%205.7.3&os_ver=4.12.14-95.29-default%20%2F%20Net-SNMP%205.7.3>
Serial Number
Chassis ID
Description Linux cptdevc01n38 4.12.14-95.29-default #1 SMP Thu Aug 1
15:34:33 UTC 2019 (47e48a4) x86_64
Administration  SSH  Telnet  Web <https://10.125.12.178/>
SNMP Class SNMP::Info::Layer3::NetSNMP
<https://metacpan.org/pod/SNMP%3A%3AInfo%3A%3ALayer3%3A%3ANetSNMP>
Uptime 7 months 19 days 04:10:34
Layers
Last Discover 2021-10-05 07:05
Last Arpnip
Last Macsuck
Hardware Status Fan:
PS1 []:
PS2 []:
MAC Address
VTP Domain
In the module inventory its seen like this

[image: Screen Shot 2021-10-05 at 4.06.58 PM.png]



Can someone please help if there are any pointers I need to follow.

Thanks in advance
-- 

Regards,
Shravan Hulyalkar
(669)247-9901

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to