Networking :: Fetch Information Of Network Agent Using Snmp?
Jun 22, 2009I have to fetch the information present in MIB of network agent.. i dont how to strat my program. pls text one sample program.
View 3 RepliesI have to fetch the information present in MIB of network agent.. i dont how to strat my program. pls text one sample program.
View 3 RepliesCan't connect to master agent: netstat -an | grep master gives me unix 2 [ ACC ] STREAM LISTENING 451121 /var/agentx/masterand if I run snmpd -f -Le -Dagentx I get:
agentx_register_app_config_handler: registering .conf token for "agentxsocket"
agentx/subagent: init_subagent sess 08052880
agentx_register_app_config_handler: registering .conf token for "agentxsocket"
[code]....
Since OS 11.4 I don't get information about my disks any more.
I only get
hrStorageDescr.1 = STRING: Physical memory
hrStorageDescr.3 = STRING: Virtual memory
hrStorageDescr.6 = STRING: Memory buffers
hrStorageDescr.7 = STRING: Cached memory
hrStorageDescr.10 = STRING: Swap space
hrStorageDescr.33 = STRING: /dev/shm
...
But I cannot find the disk (disk / 5%)
hrStorageDescr.31 = STRING: /
...
After installing Slackware 13.1, I find that I am getting the message:scripts should use an informative user-agent string with contact informationwhen I access certain websites. Wiki pages, for example. This happens only with Konqueror. Any ideas as to what I might change to gain access to content,
View 1 Replies View RelatedOn a new fresh install of Lucid I am unable to fetch sensor information using this procedure [URL]... LM sensors et al are installed, but after running the sensors-detect command (twice), typing sensors into Terminal gives me "no sensors found". This same system (with no hardware or bios changes) displayed all the sensors OK in Jaunty. etc/modules looks like this. Am I supposed to uncomment # Chip drivers w83627ehf?
QUOTE
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Generated by sensors-detect on Wed May 26 14:38:00 2010
# Chip drivers
[Code]...
I'm trying to configure SNMP service to send traps to SNMP server. I've installed net-snmp-utils, now I need to configure the "snmpd.conf" file...
View 2 Replies View RelatedI have a network connection between 3 computers sharing the same net bandwidth with the same router (modem), I wanted to know how much every one of this network taking from the bandwidth, I want an easy program like switch-sniffer (see the pic) to scan the network and tell me how much every one taking from this network in real time.
View 14 Replies View RelatedI have to setup a WiFi network for a hotel. There are several possibilities, but for me the best one is to setup a open Wifi network with web authentication for single user. What is the best solution in terms of compatibility, security, reliability, etc? I don't know many solution for web authentication, only the RADIUS project.
View 1 Replies View RelatedI have a question regarding the configuration of Network Connection. My wired connection is fine right now and when I check the network connection applet, it display active information of eth0. However, when I click the Configure button, the Network Connection window appears but there's nothing in the Wired panel. Should there be a eth0 in that panel? I remember I had one before, but after I messed with some configuration of VPN, my network became unstable and I remove the Network Manager to try to solve the problem. Since then, there's nothing in my Network Connection window, though I can still connect to my router with eth0. Now even after I reinstalled the Network Manager, I still don't get anything.
View 7 Replies View RelatedI've problem to access snmp devices through nat.Some devices I can access others not ...All are the same devices...What I see that I have problems it the device has logical interfaces and I want access with snmp to the logical interface...
View 2 Replies View RelatedI am using orion snmp monitor in my network and I have no problem with windows systems but linux systems have some problem first of all snmp monitor shows cpu load on 100% all the time that is completely wrong and secong my snmp monitor can just show cpu and memory and response time information of linux systems and not disk information and nothing more. this is my /etc/snmp/snmpd.conf file content:
com2sec paranoid default public
group MyROSystem v1 paranoid
group MyROSystem v2c paranoid
group MyROSystem usm paranoid
group MyROGroup v1 readonly
[Code]....
I installed MRTG some hours ago. Everything works fine (disk, cpu,..), except the network graph.
For this graph, it's only work for ~3 cycles (15min), then... nothing.
This is the part of mrtg.cfg:
Code:
The number for eth0 is 3
Code:
SNMP is running:
Code:
Crontab is configured for mrtg (and seems it's not the problem because the other graphs works well):
Code:
In attachement is the graph for the memory (working!) and .. for the network, as you can see, only one small pic at the beginning.
This worked fine in 9.04, but doesn't in 9.10 (fresh install).
If I tell my ssh-agent about a private encrypted key via "ssh-add .ssh/mykey" then everything works fine.
But if I log out and then log back in it's not there and there is no Gnome prompt to ask for the password to decrypt. So I have to do an "ssh-add" everytime I log in.
how an agent itself generate trap on some particular situation arises
View 1 Replies View RelatedI work on Linux Regression testing and I am writing a script to automate(shell scripting) the netperf tool when I need to determine the performance(throughput) of agent and client(individually) and I shall be running a shell script on (lets say) client first. But how to obtain the synchronization between them both as I need to execute a command even in board(agent) side to get the script going.
View 1 Replies View RelatedLately when I've tried to update my packages many of them don't update. I get nothing out of the ordinary when using the terminal but when I try to update via the Update manger I get this error message:
Code:
Error message:
Fetch failed: W:Failed to fetch bzip2:/var/lib/apt/lists/partial/mirror.steadfast.net_debian_dists_testing_main_source_Sources Hash Sum mismatch
W:Failed to fetch bzip2:/var/lib/apt/lists/partial/mirror.steadfast.net_debian_dists_testing_main_binary-amd64_Packages Hash Sum mismatch, W:Failed to fetch http://mirror.steadfast.net/debian/dists/testing/updates/main/source/Sources 404 Not Found [IP: 208.100.4.53 80]
[Code]...
I've tried several different mirrors but get the same error with every one. Same result with ftp as well. Yesterday I upgraded to Wheezy and every package successfully upgraded, but today the problem started again.
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 need to enable SNMP on our Suse linux boxes, so that What's Up Gold can monitor them.
I need to add the community name, that I know, but where?
how to make mib file for snmp....
View 3 Replies View RelatedI 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?
I am facing issues on few machines but rest all are ok. They have the same config but I don't know what is wrong. I tried as much as I could but couldn't fix it. Here is the rpms installed on this client
[code]...
The same config is working for all clients but have problems with few machines. May be I am doing something wrong in config or testing at very basic level.
I have an issue when sending snmp traps. I have an embedded system connected to a SNMP manager. I am sending traps from the box to the manager continuosly. After sometime I don't see any trpas coming out.
I get this error message.
Cannot open file /proc/net/tcp ...
: Too many open files
Cannot open file /proc/net/snmp ...
: Too many open files
What could be the reason for such an error?
I have recently set up nagios on a ubuntu server (9.10), and set it up to monitor all the servers, switches etc, following the quickstart guide provided on the nagios website.My problem is this:I have setup the nagios-plugins, and tried to set it up to monitor the network switches via SNMP but receive the following within the nagios web interface:SNMP problem - No data received from host I tried it from the command line, and got the exact same error.Is there some further configuration I need to do to be able to get this data?I've used up all my google-fu, and read over everyone else's problems on every forum I could find, but to no avail.
View 6 Replies View Relatedsnmpwalk -v1 -c public localhost system
No log handling enabled - using stderr logging
MIB search path: /root/.snmp/mibs:/usr/local/share/snmp/mibs
Cannot find module (HOST-RESOURCES-MIB.txt): At line 0 in (none)
SNMPv2-MIB::sysDescr.0 = STRING: Linux ipbrick 2.6.30.10-586-smp-64gb #2 SMP Mon Dec 28 14:44:55 GMT 2009 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (17496443) 2 days, 0:36:04.43
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
SNMPv2-MIB::sysName.0 = STRING: ipbrick
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (configure /etc/snmp/snmpd.local.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.7 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.9 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module to describe generic objects for network interface sub-layers
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (1) 0:00:00.01
End of MIB
Why are some errors in the beginning of the output? How can I remove them? The file HOST-RESOURCES-MIB.txt is in /usr/local/share/snmp/mibs.
I have created this thread as it sis realy hard for me to send traps from my Linux workstation... I m lost with v1/v2/v3 snmp... So here is the initial configuration: (without traps)
rocommunity myrocom
rwcommunity MyL33tP4ss 10.5.32.202
rwcommunity MyL33tP4ss 127.0.0.1
syslocation "FR"
syscontact root
From there i can "poll" my system. But what should i do if i want my Linux system sending traps when disks are full or system overloaded etc...I have found information on Internet but not easily understandable It is for v3:
rwuser admin
createUser admin MD5 mypasword
#
# From there i would have to comment the lines regarding the communities
#
[code]....
10.5.32.202 is my management host ... is this config ok ? But it seems that trap2sink is for v2 ? How does it work ?
I was following the installation guide of SNMP client and server [URL], but when I do an apt-get install snmp scli tkmib the /etc/snmp/snmpd.conf is empty with nothing inside..
View 7 Replies View RelatedI'm trying to get SNMP setup so I can send custom snmp trap messages. I followed this "How to" [URL] and I think I have it setup and working. This is my fist time messing around with SNMP, and I don't know where to check to see if I received the trap message. Do the snmp trap message even get logged any where?
View 1 Replies View RelatedI am trying to monitor a Centos 5.3 box using SNMP and I am having a lot of trouble getting the data that i need from it. Everytime I try to get information from the UCD-SNMP MIB it returns "End of MIB". It is my understanding that UCD-SNMP is a standard package when Net-SNMP is installed and should always be there. Then why can't I access it? I have tried removing the reinstalling Net-SNMP, but that hasn't worked. My server is update date on all it's patches as well. It is quite old hardware, but I don't believe that should affect SNMP from being gathered. Iptables is down, and I cant' even get it from the local machine.
View 1 Replies View Related