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
LEARN ABOUT CENTOS
snmpdf
SNMPDF(1) Net-SNMP SNMPDF(1)
NAME
snmpdf - display disk space usage on a network entity via SNMP
SYNOPSIS
snmpdf [COMMON OPTIONS] [-Cu] AGENT
DESCRIPTION
snmpdf is simply a networked version of the typical df command. It checks the disk space on the remote machine by examining the
HOST-RESOURCES-MIB's hrStorageTable or the UCD-SNMP-MIB's dskTable. By default, the hrStorageTable is preferred as it typically contains
more information. However, the -Cu argument can be passed to snmpdf to force the usage of the dskTable.
AGENT identifies a target SNMP agent, which is instrumented to monitor the gievn objects. At its simplest, the AGENT specification will
consist of a hostname or an IPv4 address. In this situation, the command will attempt communication with the agent, using UDP/IPv4 to port
161 of the given target host. See the snmpcmd(1) manual page for a full list of the possible formats for AGENT.
See the snmpd.conf(5) manual page on setting up the dskTable using the disk directive in the snmpd.conf file.
OPTIONS
COMMON OPTIONS
Please see snmpcmd(1) for a list of possible values for COMMON OPTIONS as well as their descriptions.
-Cu Forces the command to use dskTable in mib UCD-SNMP-MIB instead of the default to determine the storage information. Generally, the
default use of hrStorageTable in mib HOST-RESOURCES-MIB is preferred because it typically contains more information.
EXAMPLES
% snmpdf -v 2c -c public localhost
Description size (kB) Used Available Used%
/ 7524587 2186910 5337677 29%
/proc 0 0 0 0%
/etc/mnttab 0 0 0 0%
/var/run 1223088 32 1223056 0%
/tmp 1289904 66848 1223056 5%
/cache 124330 2416 121914 1%
/vol 0 0 0 0%
Real Memory 524288 447456 76832 85%
Swap Space 1420296 195192 1225104 13%
SEE ALSO
snmpd.conf(5), snmp.conf(5)
V5.7.2 25 Jul 2003 SNMPDF(1)