[root@big-bad-joe /]# more /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
------------------------------------------------------------------
I am trying to configure SNMP server using xinetd on red hat. I am using non-standard port for it. My connection to server fails. I see the following log messages in /var/log:
Jan 26 17:23:31 [userid] xinetd[15023]: START: my-snmp pid=15047 from=192.128.11.21 Jan 26 17:23:31 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15047 duration=0(sec) Jan 26 17:23:32 [userid] xinetd[15023]: START: my-snmp pid=15050 from=192.128.11.21 Jan 26 17:23:32 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15050 duration=0(sec)
can anybody help to point out what is wrong in my config?
finnaly i can run my ubuntu server 9.04 well, thnx to this great member of ubuntuforums.org now, i wanna i wannna install SNMP on my system, but after i do that, when i wanna connect with another client, it give me error like this :
Code: no response received SNMPv1_Session (remote host: "10.100.7.179" [10.100.7.179].161) community: "public" request ID: 862383236 PDU bufsize: 8000 bytes
[Code]...
10.100.7.179 is my client, i allready install snmp agent on it. but why still eror then? plz give some help. thnx before
Is it possible to configure the RHEL 5.5 syslog to accept SNMP traps? That is I want to use a central logging server to pick up other systems syslogs, and SNMP messages from systems that cannot use remote syslog functions.
I want to add a few linux server to our monitoring system (solarwinds).
We have to get this information by snmp.The items we need are: 1-In Byte Transferred on every network interface 2-Out Byte Transferred on every network interface. 3-Memory Usage 4-Memory Free 5-CPU usage 6-Free Disk space on partiotion 7-Uptime
I could not find snmp OID or names for this object to fetch.
I have been trying to set up SNMP monitoring using Cricket. I believe I have Cricket running fine, however I also believe that I have SNMP set up wrong. When I do an SNMPWALK I get the following:
[Code]....
This tells me I have SNMP running, however I would expect to see a lot more data... Am I correct, should I see more data? I spoke to a friend, and he suggested that I have something not set up correctly in SNMP dealing with the community string...
recently i have installed Squid Server and i want to monitor traffic in my lan with mrtg. so i have installed snmp but when i run "snmp -v 1 -c public localhost" i have got "Timeout: no response from localhost". i have turned off the firewall but i get same error.
I just narrowly passed another exam on UNIX Academy. Their DVDs are incredible. While I made some mistakes here and there.I was really stumbled upon a question that was formulated something like "SNMP for managing Linux machines remotely".I can't remember the exact definition. I'm not sure what it was about.I was under impression that SNMP it is a carrier protocol for commands like "ping" and "traceroute". I was trying to read about it online but it is way too broad and technical, they're loosing me on very first page. I suspect there's some kind of product or technology that uses SNMP in some way to handle Linux, I'm not sure.
Iam using snmp to access the remote system data.But according to the requirement iam encoding the snmp request data to OAMPDU packet format and sending to remote system.the remote system receives the OAMPDU packet,decodes it and is sending the snmp packet to snmp agent through UDP socket which is bind to port 161.but iam unable to receive the response from snmp agent.i have created a udp socket which is bind to 161 port to receive the response.
if i use any other free port number other than 161 for receiving snmp agent is not sending the response to that port.can any one please suggest me how to overcome this problem.Can we configure the different ports for tx,rx ?How do we know on which port does snmp sends the response ???
I need to be able to send snmp traps based on certain severity or content of syslog messages. Can this be done from standard linux? Alternatively, are there MIB's out there that support syslog events so I can get the status from snmp?
I am trying to calculate band Width on few interfaces. Every thing works fine, bandWidth goes up when user loged in it goes down the moment working hrs are over. Only problem is once in a while it show negative bandWidth ? I make that script to send information in-case it negative. here are few examples
Code:
from IP XX.X.X.X interface X inCounters new = 1056124169 old = 484753332 outCounters new = 71539457 old = 4205963496 inDelta = 571370837
[code]....
Code:
inPut utilization = (change x 8 X 100) / (change in time X connection speed)
but that would not matter because , problem is caused by lowering count on in and out packets.
I have tried to install and configure Hudson in centos distro version 5.Installed hudson with tomcat by deploying .war files.after configuration was completed, builded a project.It displayed build was completed successfully.but I was not able to download output of build.
So I rechecked configuration,found that i havent set artifact file pattern to archive. how to set artifact file pattern and how to get build output. how to manage hudson by using configure system and configure options.what is the correct way to configure public hudson?.
I have installed Net-SNMP.It is binded to port udp 161I start it with the command: snmpd -Lo when I do snmpget -v 1 -c public localhost system.sysObjectID.0on the same machine the snmpd is running on- I get a respond SNMPv2-MIB::sysObjectID.0 = OID: ccitt.1when I send same request from another machine (using SNMPc program) - I see no reaction.I used "wireshark" to monitor packets, and I see the requests sent from the other machine. I also see them get to the first machine.
I just installed a fresh copy of RHEL 5.4 64-bit on a new machine, taking default configuration during the setup process. Then I realized we need to install SNMP on it. I found the following packages on the RHEL DVD and tried to install them, using both the Red Hat GUI for package installation and also through the command "rpm -i {package_name.rpm}". But I am getting dependency errors. The dependent components are not found on the DVD even though I have it inserted in the drive. Can someone advise how I can add SNMP to an existing RHEL machine?
I'm configuring a server for Zenoss monitoring over SNMP, but the SNMP process is running on 127.0.0.1:161 instead of 0.0.0.0:161, according to "netstat -an | grep -i udp".
Not sure why this is happening, but Zenoss reports that SNMP is not running due to this. My snmpd.conf file is the same as all of the other servers that are running SNMP, but this is the first Debian server I've tried to add (the other's are CentOS).
I have a favor to ask, I've been having a really hard time trying to understand how snmp traps work, what can they do for you, and why they are useful. I've done some research and I've even set up snmp clients on linux systems, not necessarily the traps. I know they communicate on port 161 and 162 and I also know that you set them up to connect to a community string. Still I cant grasp the concept. If you don't mind can any one break it down for me, in very basic terms.
am not able to install snmp in ubuntu, this is the code i followed from ....., "apt-get update and then apt-get install snmpd. the problem occurs is "could not resolve sg.security.com" and i cant updates using update manager.
I have enabled SNMP monitoring in my debian box (using apt-get install snmp) and configured it to allow my PC to query the server.
I'm able to query the server and get SNMP data but when I get STG to give me a per/second graph of the interface octets, it only updates the data every 12 seconds or so.
Is this a setting in SNMP which could be causing this problem? If so, how can I enable it so that SNMP can give me up to the second octet rates.
2 machines (one of them working as a server to monitor the network with IP 192.168.100.110 and the other one to be monitored with IP address 192.168.100.1):
In the first machine:
snmpwalk -v1 localhost -c public sysName (working fine) snmpwalk -v1 192.168.100.1 -c public sysName (don't works -> Timeout: No Response from 192.168.100.1)
In the monitored machine:
snmpwalk -v1 192.168.100.110 -c public sysName (it works) snmpwalk -v1 localhost -c public sysName (dont works -> Timeout: No Response from localhost)
I'm trying to sniff snmp traps being sent to a NMS. I'm setting -s to 0 but when I start sniffing, some of the packets, instead of being decoded, show me messages like this:
Code: [len1468<asnlen1663] What is that supposed to mean?
In my linux machine i installed snmp and try to change the port number, but i got the following error" snmpd dead but subsys locked "in /var/log/messages Error opening specified endpoint "udp:1161"Server Exiting with code 1
In a nutshell, my situation is that I need snmpgetnext. My understanding is that this should be installed with net-snmp (net-snmp.x86_64 specifically); this is not occuring. I cannot use it as a command, and I have tried quite a few searches (whereis, find / -iname "snmpgetnext", "snmpget*" | grep next, "*next*" | grep snmp, and a host of similar oddities). Can I find snmpgetnext in a yum repository, preferably an official one?
More specifically, I'm using a software package that requires CentOS with kernel 2.6.18-53.somethingorother. This is a separate issue that has been brought up with the vendor. Generally this just means I install CentOS 5.1 and don't do a full upgrade. we are monitoring with Nagios. The Nagios check_snmp plugin won't compile without a valid path to snmpgetnext, which I can't get to install. This is severly hampering my ability to monitor the server.