I am planning to disable SNMP in our AIX LPARs. wanted to see by disabling in a test LPAR.
before that, I would like to check disabling this SNMP will impact any of our application or database in anyway. what kind of other software depends on these SNMP daemons ?
Can you please let me know the exact use of SNMP in AIX. I understand that SNMP is used to collect information about network connected servers/routes/devices etc. (will it affect NFS file systems ? )
ours is a small shop. we never used SNMP config files to setup anything specially.
Code:
[root@testlpar]/root>which snmpd
/usr/sbin/snmpd
[root@testlpar]/root>ls -ltr /usr/sbin/snmpd
lrwxrwxrwx 1 root system 9 Jan 07 2015 /usr/sbin/snmpd -> snmpdv3ne
lrwxrwxrwx 1 root system 8 Jan 07 2015 /usr/sbin/clsnmp -> clsnmpne
[root@testlpar]/home/tesusr>cd /etc/snmp
snmpd.boots snmpd.conf snmpd.peers snmpdv3.conf snmpinterfaces/ snmpmibd.conf
when we installed AIX 71, SNMP v3 non-encrypted version came along with it. please see details below. we never had an opportunity use SNMP agents/server for any purpose.
Code:
Subsystem Group PID Status
aixmibd tcpip 3121214 active
hostmibd tcpip 3232324 active
snmpmibd tcpip 3323232 active
snmpd tcpip 3212121 active
Please let me know disabling SNMP related daemons or services will cause any issues. thank you.
Last edited by system.engineer; 04-13-2016 at 05:57 PM..
Hi,
Just wondering if anyone knows how can I send an SNMP Trap in Unix Environment(AIX) to another machine (NT/Ux) after having activated the SNMP in the AIX.
Can this be done by using a single command line or do I have to write a script for it?
Thanks in advance for your advices.
:) (1 Reply)
Hi
I would like to monitor CPU usage ( %) , memory utilization and such on an AIX 5.3 with snmp.
How would I do that ? :confused:
If I do "snmpwalk -c public -v1 hosttomonitor" I get nothing about the CPU.
I've done this on Linux ( not much trouble doing it on linux ) but I'm having a hard... (2 Replies)
Hello!
I'm not a expert AIX administrator, but i need to monitorize an AIX V4 system. I want to do it using SNMP but i don't really know how to get CPU, proccess or memory information. I only can get network interfaces information.... How can i add more MIBs to get more info about the AIX... (0 Replies)
Hi,
I want to capture snmp packets in AIX.
When i give print from AIX6.1, Printer will give its response thru' snmp.
I used iptrace command like below, but it is not capturing snmp packets other packets are captured like udp, tcp..
1. iptrace command:
/usr/sbin/iptrace -a -i en0... (1 Reply)
Hi, I tried to do some research on this subject, but got nothing conclusive.
I have the following need:
I have different servers with AIX versions 3.2.5 through 4.3.2.
Some of them have two ASCI terminals connected.
I have a shell script that is executed by a user on the main console... (2 Replies)
Hello everyone,
Can anyone help me please. I want to disable SSH direct access for an AIX user.
For example, if I have USER1 and USER2. I want to disactivate direct access for USER2. The user must enter his login (USER1) and his password and then he can do su - USER2 .
Thanks, (3 Replies)
Hello Admins,
We need to configure and setup snmp v2 on AIX 6.1 clients.
I don't find snmp v2 related files on AIX servers
. I see there is snmpdv3.conf and v3 installed.
Where can I get snmpdv2 for AIX?
Thanks in advance. (5 Replies)
Hello,
We're working on securing the AIX environment. started with disabling unused services on AIX.
Below are the entries which are not commented on my test LPAR (even other LPARs).
ntalk dgram udp wait root /usr/sbin/talkd talkd
daytime stream tcp nowait root... (1 Reply)
Hi,
We've a requirement to disable the protocols SSLv3, SSL v2 and TLS 1.0.
And have TLS 1.2 enabled using AEAD (Authentication Encryption with Associated Data).
This is the only information i have,
I'm not sure how to proceed, was trying to find information using google.
Can you... (6 Replies)
The company I work for has various AIX servers that I've recently migrated to AIX 7.1 (from 6.1). Some are powerHA clusters some are not. Likewise, the systems engineer that I replaced had net-snmp installed on said clustered systems. Long story short I am re-invoking AIX's native SNMP (v3) for... (1 Reply)
Discussion started by: davix
1 Replies
LEARN ABOUT SUNOS
snmp_config
snmp_config(4) File Formats snmp_config(4)NAME
snmp_config - overview of Net-SNMP configuration files
SYNOPSIS
snmp_config
DESCRIPTION
This page gives an overview of the various configuration files used by the Net-SNMP software that is shipped with the Solaris operating
system.
In a configuration file, lines beginning with a hash character (#) are treated as a comment and are not parsed.
Search Order
By default, the Net-SNMP applications look for configuration files in the following directories in the order listed:
1. /etc/sma/snmp
2. /usr/sfw/lib
3. $HOME/.snmp
In each of these directories, the Net-SNMP applications look for files with the extensions .conf and local.conf, in that order.
The default search path described above can be overridden by setting the environment variable SNMPCONFPATH to a colon-separated list of
directories. SNMPCONFPATH is used to allow users to place configuration files in specific directories for their application needs. Cur-
rently defaulted to /etc/sma/snmp and /usr/local/share/snmp.
Applications that store persistent data will also look in the /var/net-snmp directory for configuration files.
Switching Configuration Types in Mid-File
You can switch in mid-file the configuration type that the parser is supposed to be reading. For example, assume you want to turn on packet
dumping output for the agent by default, but you do not want to turn on packet dumping for the rest of the applications (such as snmpget
and snmpwalk). Normally, to enable packet dumping, you would enter a line such as the one below in the snmp.conf file:
dumpPacket true
Such a line turns on packet dumping for all of the applications. Instead, you can put the same line in the snmpd.conf file so that it
applies only to the snmpd daemon. However, you need to tell the parser to expect this line. You do this by putting a special, type-specifi-
cation token inside square brackets. For example, inside your snmpd.conf file you can enter:
[snmp] dumpPacket true
This tells the parser to parse the line as if it were inside a snmp.conf file instead of an snmpd.conf file. If you want to parse multiple
lines rather than just one, you can make the context switch apply to the remainder of the file or until the next context switch directive
by putting the special token on a line by itself:
# make this file handle snmp.conf tokens:
[snmp]
dumpPacket true
logTimestamp true
# return to our original snmpd.conf tokens:
[snmpd]
rocommunity mypublic
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsmcmd |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO snmpd.conf(4), attributes(5), sma_snmp(5)SunOS 5.10 16 Jan 2004 snmp_config(4)