09-06-2006
snmpd modification problem
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 response. But when tried with the community string public, it responds.
I killed the snmpd and snmpmibd daemons , and restarted both.
Still it is not responding with new string.
Can anybody help to resolve this..... the OS version 5.2
With thanks in advance
Ajith.
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. 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
3. 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
4. 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
5. 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
6. 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
7. Shell Programming and Scripting
Hi,
I have a file input.txt.
cat input.txt
output is as follows :
I want the output looking like:
cat output.txt
I have a script.
cat input.txt | tr -d '\n' | sed 's/\("name"\)/\1\n/g' > output.txt
here I have to check "name" string and then enter newline. But I want the... (10 Replies)
Discussion started by: mnmonu
10 Replies
8. AIX
Hi everyone, I am struggling with something that I thought it would be really easy. I want to disable snmpd, but every time y reboot my server, it starts again. I've commented it out on the rc.tcpip file, but still it starts automatically.
# Start up the Simple Network Management Protocol (SNMP)... (4 Replies)
Discussion started by: Janpol
4 Replies
9. AIX
Hi,
How to create new SNMP at aix configuration?
Can your share in this the step by step..
regards, (1 Reply)
Discussion started by: williamen
1 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
snmpd(8n) snmpd(8n)
Name
snmpd - Simple Network Management Protocol (SNMP) Agent for ULTRIX gateways and hosts
Syntax
/etc/snmpd [ -d debuglevel logfile ]
Description
The SNMP Agent, performs SNMP operations on an ULTRIX gateway or host. The daemon, which is started up by an entry in the file, sits in
the background and listens on SNMP port 161. When the daemon receives an SNMP packet from a Network Management Station (NMS), the daemon
performs SNMP operations on the packet and returns a valid response to the NMS.
The daemon extracts much of its information from kernel memory. Static variables whose values are not available in the kernel take values
from the SNMP configuration file,
SNMP Trap Support
The cold start and authentication failure trap types are supported by
The cold start trap type is generated by when is restarted. The authentication failure trap type is generated when an attempt at using a
community fails. The attempt fails when an unauthorized client tries to use or the community is used in a way that the community type does
not allow.
The daemon sends traps to all communities specified in the configuration file with a community type
The default is for the daemon to generate authentication failure traps. However, if the following clause is specified somewhere in the
file, authentication failure traps are not generated:
no_authen_traps
SNMP Sets
When the daemon receives a set-request packet, it processes the variables in the packet and verifies that they are valid read-write vari-
ables. While performing this verification, the daemon constructs a linked list of the set requests. After it has completed the verifica-
tion, it performs the actual set operations on the variables, as if they were being performed simultaneously. If any actual set operation
fails, all of the previous set variables from the set-request packet are restored to their old values.
SNMP Supported Variables
For a complete listing of the SNMP Management Information Base (MIB) variables that are supported, see the Guide to Networking.
Options
By default, the daemon uses the command to record its error messages. However, you can obtain certain debugging and trace information by
specifying the flag, the appropriate debug level, and a log file for the output on the command line.
-d debuglevel logfile
Outputs debugging and trace information.
You can specify any one of the following debug levels with the flag:
1 Print the version number, start time, and exit time of Also print out when an SNMP packet is received, the address of the sender, and
the packet size in bytes.
2 Print out what the daemon has read from the file.
3 Dump the SNMP packet that the daemon has just received and is about to process. Also print out the route and interface address that
the daemon is currently looking up. This debug level also dumps the SNMP packet that the server is sending back in response to a
received SNMP message.
4 Dump the variable tree. Also print out the static bootstrap array of tree information.
The output for a debug level includes the information for all levels including and below the level that you specify. For example, if you
specify a debug level of 3, your output includes debug information for levels 3, 2, and 1.
If no debug levels are set, detaches itself from the controlling terminal and executes in the background.
Restrictions
Not all of the MIB variables are supported.
Only the variable is settable.
Files
SNMP configuration file
See Also
snmpext(3n), snmpd.conf(5n), snmpsetup(8n)
RFC 1066--Management Information Base for Network Management of TCP/IP-based Internets
RFC 1067--A Simple Network Management Protocol
Guide to Networking
snmpd(8n)