Sponsored Content
Full Discussion: AIX - snmpd version
Special Forums UNIX and Linux Applications Infrastructure Monitoring AIX - snmpd version Post 302420287 by bakunin on Tuesday 11th of May 2010 08:03:32 AM
Old 05-11-2010
Btw.: apart from the AIX-specific commands which colleague zaxxon already explained you could resort to basic Unix utilities, namely "what", which tells you the revision code. The following example is from a AIX 6.1-system at ML 5, your output should look similar to this:

Code:
bakunin@aix # which snmpd
/usr/sbin/snmpd

bakunin@aix # what /usr/sbin/snmpd
/usr/sbin/snmpd:
        61      1.16  src/bos/usr/ccs/lib/libc/__threads_init.c, libcthrd, bos61B, b2007_33A0 8/2/07 13:09:21
        76 1.17 src/tcpip/usr/sbin/snmpdv3/s_agv123.c, snmp, tcpip61B, b2007_40A7 9/21/07 17:00:12
        03 1.2 src/tcpip/usr/sbin/snmpdv3/snmpd_newlog.c, snmp, tcpip610 2/24/02 11:24:33
        86 1.1 src/tcpip/usr/sbin/snmpdv3/s_cfv123.c, snmp, tcpip610 10/2/01 15:06:56
        98 1.1 src/tcpip/usr/sbin/snmpdv3/s_ourcnf.c, snmp, tcpip610 10/2/01 15:14:23
        93 1.3 src/tcpip/usr/sbin/snmpdv3/s_dynini.c, snmp, tcpip610 6/18/02 17:05:50
        94 1.5 src/tcpip/usr/sbin/snmpdv3/s_dynlst.c, snmp, tcpip61B, b2007_40A7 9/6/07 14:38:27
        91 1.4 src/tcpip/usr/sbin/snmpdv3/s_dynfre.c, snmp, tcpip61B, b2007_40A7 9/6/07 14:38:03
        90 1.5 src/tcpip/usr/sbin/snmpdv3/s_dyncfy.c, snmp, tcpip61B, b2007_40A7 9/7/07 16:44:48
        95 1.6 src/tcpip/usr/sbin/snmpdv3/s_mtable.c, snmp, tcpip610 10/31/06 14:02:06
        02 1.3 src/tcpip/usr/sbin/snmpdv3/snmp_log.c, snmp, tcpip610 6/17/02 19:44:44
        89 1.4 src/tcpip/usr/sbin/snmpdv3/s_dynbas.c, snmp, tcpip61B, b2007_40A7 9/6/07 14:37:21
        01 1.1 src/tcpip/usr/sbin/snmpdv3/snmp_dll.c, snmp, tcpip610 10/2/01 15:16:08
        92 1.7 src/tcpip/usr/sbin/snmpdv3/s_dynfup.c, snmp, tcpip61B, b2007_40A7 9/7/07 16:50:55
        05 1.4 src/tcpip/usr/sbin/snmpdv3/src.c, snmp, tcpip610 6/19/02 12:21:00

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

command to get the AIX version.

and by the is there any command to get the OS currently running regardless of the constructor (HP, IBM...)? thanks! (3 Replies)
Discussion started by: jericho
3 Replies

2. AIX

AIX Version 4 Bacup - HELP!

I am TOTALy new to Unix. One of the internal tapes will be replaced by an external one today. I don't even know where to start....how is the install done and how do I redirect the backup to the new external tape drive? Please help - anyone? (3 Replies)
Discussion started by: aneta0803
3 Replies

3. AIX

AIX Trial Version

Hello, I'm now trying to learn AIX and I found lot of used AIX machines in ebay. I want to clear some doubts before I go for one. 1)Do I need a license to run an AIX machine? 2)Is there any Trial versions available? 3)Some Old Models of AS400 machines( model 150) don't need a license... (1 Reply)
Discussion started by: secofr
1 Replies

4. AIX

AIX version

Hi all Can any1 tell me how to check the AIX version on my server. I have used uname -a but it does not give a specific version number. (4 Replies)
Discussion started by: masquerer
4 Replies

5. AIX

Help me explain mean of AIX Version ?

Anyone can help me explain the mean of AIX 5L 5.3 ML3 I don't know "what re - 5L mean and ML3 mean " Tks all. (2 Replies)
Discussion started by: quan0509
2 Replies

6. AIX

aix version 5

I have been given multiple years of login files to determine workload. How do I determine the year in regards to the login. This is what is looks like now. witkoaxdm/_0Sep 13 07:45 still logged in. thank you (1 Reply)
Discussion started by: wildchild
1 Replies

7. AIX

Does anyone know the version of make on AIX 5.1 & 5.3?

Could you tell me the version of default make on AIX 5.1 & 5.3? (2 Replies)
Discussion started by: redraiment
2 Replies

8. UNIX for Advanced & Expert Users

HACMP version for AIX 6.1

Hello. We are using AIX 5.3 with HACMP 5.4.1. At this moment AIX and clustering are using 2 servers. A third server is added. It does not seem to work with HACMP. Are there any controle checks? Thank you if you could help. Regards, Ynze van Aken Netherlands (0 Replies)
Discussion started by: yvanaken
0 Replies

9. UNIX for Dummies Questions & Answers

Linux version of aix 'uname'

Hello all, Does linux have a command which performs a similar function to aix uname -a Thanks (3 Replies)
Discussion started by: Grueben
3 Replies

10. UNIX for Beginners Questions & Answers

AIX version selection

Hi, I would like to upgrade my AIX box 6.1 to 7.1/7.2. Current info of my AIX 6.1 box / > oslevel -s 6100-09-11-1810 System Model: IBM,9117-MMD Machine Serial Number: xxx Processor Type: PowerPC_POWER7 Processor Implementation Mode: POWER 7 Processor Version: PV_7_Compat Number Of... (10 Replies)
Discussion started by: Phat
10 Replies
Info::Layer3::NetSNMP(3pm)				User Contributed Perl Documentation				Info::Layer3::NetSNMP(3pm)

NAME
SNMP::Info::Layer3::NetSNMP - SNMP Interface to L3 Net-SNMP Devices AUTHORS
Bradley Baetz and Bill Fenner SYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $netsnmp = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myrouter', Community => 'public', Version => 2 ) or die "Can't connect to DestHost. "; my $class = $netsnmp->class(); print "SNMP::Info determined this device to fall under subclass : $class "; DESCRIPTION
Subclass for Generic Net-SNMP devices Inherited Classes SNMP::Info::Layer3 Required MIBs UCD-SNMP-MIB NET-SNMP-TC HOST-RESOURCES-MIB Inherited Classes' MIBs See SNMP::Info::Layer3 for its own MIB requirements. GLOBALS
These are methods that return scalar value from SNMP $netsnmp->vendor() Returns 'Net-SNMP'. $netsnmp->os() Returns the OS extracted from "sysDescr". $netsnmp->os_ver() Returns the software version extracted from "sysDescr", along with the Net-SNMP version. $netsnmp->uptime() Returns the system uptime instead of the agent uptime. NOTE: discontinuity timers and other Time Stamp based objects are based on agent uptime, so use orig_uptime(). $netsnmp->serial() Returns ''. Globals imported from SNMP::Info::Layer3 See documentation in SNMP::Info::Layer3 for details. TABLE ENTRIES
These are methods that return tables of information in the form of a reference to a hash. Overrides $netsnmp->i_ignore() Returns reference to hash. Increments value of IID if port is to be ignored. Ignores loopback Table Methods imported from SNMP::Info::Layer3 See documentation in SNMP::Info::Layer3 for details. NOTES
In order to cause SNMP::Info to classify your device into this class, it may be necessary to put a configuration line into your snmpd.conf similar to sysobjectid .1.3.6.1.4.1.8072.3.2.N where N is the object ID for your OS from the "NET-SNMP-TC" MIB (or 255 if not listed). Some Net-SNMP installations default to an incorrect return value for "system.sysObjectId". In order to recognize a Net-SNMP device as Layer3, it may be necessary to put a configuration line similar to sysservices 76 in your snmpd.conf. perl v5.12.4 2011-09-28 Info::Layer3::NetSNMP(3pm)
All times are GMT -4. The time now is 12:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy