09-08-2010
Yeah 90% of my job is SNMP on Nix... it is a very dull and full on thing to explain to people when you get right into it.
Cacti forums are a great place to find out information, but, if you just wish to get something going then install the package for your system of NetSNMP and the basic config parameters are fairly straight forward setup you allowed zones and community string (recommend v2c BTW).
After this start /etc/init.d/snmpd start and you should be able to connect.
Then you may need to start looking into MIB's.
10 More Discussions You Might Find Interesting
1. SCO
Want to setup snmp with mib to track system issues on SCO OS5.0.5. Is there somewhere I can look that will give me insight in how to answer some of the questions the mkdev snmp asks? (0 Replies)
Discussion started by: herd5cusa
0 Replies
2. Linux
Can anybody please tell me how to configure linux to receive snmp traps from a windows server? I am not able to receieve snmp traps on unix machines specifically linux and solaris. I have tried starting snmptrapd service on linux but it didn't work. Is there anything special that I have to do on... (2 Replies)
Discussion started by: iamtulipin
2 Replies
3. Shell Programming and Scripting
When I tried to connect snmp from one server to another server
Timeout: No Response from server is comming Pls suggest (0 Replies)
Discussion started by: madhusmita
0 Replies
4. UNIX for Advanced & Expert Users
hi all :)
does anyone ever set up an SNMP?? security team asked me to configure or set up my SNMP since it was set by default or no one configure it. but I do not know how to do it, I try to search using google but its hardly to find the tutorial on how to setup this snmp
I read this... (8 Replies)
Discussion started by: flekzout
8 Replies
5. Red Hat
Guys,
Need your help coz my server runs in local time GMT +8, but when client use ftp and login, the resulting timestamp seen in each file is in UTC format. We need to set that the time should be the same as GMT +8 when in ftp session.
I am using RHEL 5.3.
root@]# ll
total 1740... (2 Replies)
Discussion started by: shtobias
2 Replies
6. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
7. Programming
Hi,
I'm trying to set two OID's in the same PDU (so both OIDs and values are sent in the same packet) at present I am only able to send one at a time which does not trigger the hardware response as the two specific OID's need to be set simultaneously in order to work.
I'm using perl along... (0 Replies)
Discussion started by: MCLASS
0 Replies
8. Ubuntu
Hello,
How can I set up a ubuntu server as a FTP server?
Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies
9. Infrastructure Monitoring
Dear Champs,
I am new to unix, and need to configure linux server to send below traps to a SNMP server.
Monitoring TRAP Disk Space Low
Monitoring TRAP Memory Low
Monitoring TRAP CPU high
Monitoring TRAP Admin login/Logoff
Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies
10. UNIX for Dummies Questions & Answers
i am working with embedded system -Dell DCS management sub system. my question is as below:
currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 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)