03-22-2013
I will have to look for doing it "manually", give me a moment, to a day (as I have a plane to catch shortly).
1) Use smitty otherserv to turn it off
Ulimately, it will do/tell you (I found it already!) to use this command.
# /usr/sbin/chrctcp -S -d snmpd
However, if you are hardening AIX, a much easier way is to use aix security expert - aixpert.
# aixpert -l h probably does more than you want.
# aixpert -l m is a good basic starting point.
You can do them in either order, aixpert knows what to do. FYI you can also create a custom XML file (once you understand better whet you want) to make something different.
To save a lot of typing - I recommend reading the man page and/or Security.pdf (to be found at/via AIX InfoCenter).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good day
I always find these error messages on /var/adm/messages
it appear every 15 mn , does any body know how to stop these messages without stopping the daemon , i tried to restart the daemon by uising Kill -HUP 332
please find below the error messages that appear always in... (1 Reply)
Discussion started by: itsgeorge
1 Replies
2. AIX
Hi Gurus,
I am relatively new in AIX.
I have a problem in modifying the community string in snmpd.
I have edited the /etc/snmpd.conf file and changed the default community name 'public' to new one (P@@$w0rd).
When I tried to query my aix server with the new string , it is not giving any... (1 Reply)
Discussion started by: helloajith
1 Replies
3. UNIX for Dummies Questions & Answers
i just wonder how to count total traffic and traffic on specified ports (e.g. 192.168.0.1:139 and etc.. ). How can it be done?
(FreeBSD 6.2 i386)
Thx. (5 Replies)
Discussion started by: hachik
5 Replies
4. Linux
Hello to all.
For setting my MRTG i want get snmp-info with LAN interface eth0
but information about snmpd daemon very small :( (0 Replies)
Discussion started by: jess_t03
0 Replies
5. Solaris
Solaris 8
I have a question about snmpd. My software is running on one box. This box has 2 snmp managers. Is it possible to configure snmpd on my software box such that only one of the managers can perform snmpsets? I want my *redundant* snmp manager only to be able receive traps and do... (1 Reply)
Discussion started by: jalburger
1 Replies
6. HP-UX
Hi there all,
I am running here an HP UX 11i v1.
I got snmpd running here now.
But how do I configure it so it also shows the HD's and swap and RAM's?
So I can get the info back to Solarwinds Orion?
All I get now is network card status.
I want as many info as posible..
Thanx and... (0 Replies)
Discussion started by: draco
0 Replies
7. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
8. Infrastructure Monitoring
Hi,
I have a P595 server with AIX 5.3 and i need to know what version of snmpd i use on this:
Example: On solaris i use Net-snmpd 5.4.2.1 (netsnmp-5.4.2.1-sol9-sparc-local) because i can see the package.
How can i see what snmpd package is installed on the AIX?
Thanks... (3 Replies)
Discussion started by: anonymouzz
3 Replies
9. Red Hat
Hi all Expertise,
I have following issue to solve,
SSL / TLS Renegotiation DoS (low) 222.225.12.13
Ease of Exploitation Moderate
Port 443/tcp
Family Miscellaneous
Following is the problem description:------------------
Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
10. Red Hat
Hello All,
SNMPD dying after 2 mins once it started. Here is the configuration
Oct 12 04:43:00 localhost systemd: Starting Simple Network Management Protocol (SNMP) Daemon....
Oct 12 04:43:00 localhost snmpd: dlopen failed: /usr/lib64/libcmaX64.so: cannot open shared object file: No such... (1 Reply)
Discussion started by: shekar777
1 Replies
LEARN ABOUT SUNOS
snmpconf
snmpconf(1M) System Administration Commands snmpconf(1M)
NAME
snmpconf - creates and modifies SNMP configuration files
SYNOPSIS
snmpconf
snmpconf -g basic_setup
snmpconf [options] [file_to_create]
DESCRIPTION
The snmpconf utility is a simple script that walks you through setting up a configuration file, step-by-step. It works by asking you a
series of questions. It creates the configuration file based on your responses.
In its default mode of operation, snmpconf prompts you with menus showing sections of the various configuration files it knows about. When
you selects a section, a submenu is shown listing the descriptions of the tokens that can be created in that section. When a description is
selected, you are prompted with questions that determine the specification of the selected token.
When you quit snmpconf, any configuration files that have been edited are saved to the local directory. snmpconf supplies comments in the
configuration files for each change.
A particularly useful option is the -g switch, which walks you through a specific set of configuration questions. For an example, invoke:
# snmpconf -g basic_setup
This command walks you through an initial setup of the snmpd daemon.
OPTIONS
The following options are supported:
-f
Force overwriting existing files in the current directory without prompting the user.
-i
When finished, install the files in the location where the global system commands expect to find them.
-p
When finished, install the files into the user's home directory's .snmp subdirectory. Applications will search for configuration files
in this location.
-I directory
When finished, install the files into the directory directory.
-a
Do not issue queries. Read in the various known configuration files and write them back out again. This has the effect of "auto-com-
menting" the configuration files for you.
-r all | none
Read in either all or none of the found configuration files. Normally, snmpconf prompts you for which files you wish to read in.
-R file,...
Read in a specific list of configuration files.
-g groupname
Groups of configuration entries can be created that can be used to walk a user through a series of questions to create an initial con-
figuration file. There are no menus to navigate, just a list of questions. The command:
# snmpconf -g basic_setup
provides a good example.
-G
List all the known groups.
-c configdir
snmpconf uses a directory of configuration information to learn about the files and questions that it should be asking. This option
tells the utility to use a different location for configuring itself.
-q
Run slightly more quietly than the default. Because this is an interactive program, this option is not recommended. It removes informa-
tion from the output that might be helpful to you.
-d
Turn on copious debugging output.
-D
Add more (beyond -d) debugging output in the form of Perl variable dumps.
EXAMPLES
Example 1: Adding Comments to snmpd.conf
The following command reads in an snmpd.conf file and adds comments describing what each token does.
# snmpconf -R /etc/sma/snmp/snmpd.conf -a -f snmpd.conf
EXIT STATUS
0
Successful completion.
1
A usage syntax error. A usage message displays.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsmcmd |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
snmpd(1M), snmpd.conf(4), snmp_config(4), attributes(5)
SunOS 5.10 20 Jan 2004 snmpconf(1M)