Networking :: Can't Connect To Master Agent With Subagent (snmp)?
Mar 24, 2011
Can'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]....
View 1 Replies
ADVERTISEMENT
Jun 22, 2009
I 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 Replies
View Related
Aug 12, 2010
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 Related
Nov 13, 2009
I'm managing a residential network. Each flat is its own subnet, and can only communicate with the other flats through a router (i.e. no broadcast). 95% of these 300 subnets only contains windows computers (from lambda users).
My final goal is to be able to browse the entire network from any computer.
I set up a samba server acting as a wins server, and every computer is aware of it because it is registered in the dhcp. So name resolution is working fine for everyone.
The same samba server is set to be the "Domain master browser":
workgroup = WORKGROUP
wins support = yes
prefered master = yes
local master = yes
domain master = yes
os level = 65
When I browse the network (using "net view" or "browstat view"), I can only see the servers which are in the same subnet as the domain master browser.
Now, when in a subnet the computers arrange themselves to find a "local master browser", the only visible computers are the one in that subnet.
What I don't understand is why all the local masters don't synchronize their lists with the domain master.
So, to sum up, every subnet get the following behaviour:
-if a local master is elected, the only visible computers are the one in the same subnet.
-if no local master is elected, the only visible computers are the one in the subnet of the domain master.
-if I add another samba, configured as a local master winning all elections, then the magic is working and the lists are synchronized.
What is expected:
-every computer can see all the computer from all the subnets.
View 1 Replies
View Related
Jan 20, 2010
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.
View 4 Replies
View Related
Oct 15, 2010
how an agent itself generate trap on some particular situation arises
View 1 Replies
View Related
Mar 14, 2011
I 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 Related
Mar 31, 2010
I have a load balancer with 2 web servers behind it. The web servers rsync with cloud storage to update their apache directories 1 time every hour. Apache is just running php pages that pull/push data to a DB so they dont need to be updated that often. However I need to figure out how to implement a Master/Master MySQL setup to have my web servers point to for the PHP stuff. I need to implement it without having a single point of failure. The Load balancers are useless for failover as they only detect availability based on Ping request. So putting a master/master setup behind a Load Balancer is out. what is the best way to setup the master/master mysql in a HA setup without the use of a load balancer provided by the host?
View 2 Replies
View Related
Aug 29, 2010
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.
View 1 Replies
View Related
Jul 29, 2010
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?
View 3 Replies
View Related
Mar 9, 2011
how to make mib file for snmp....
View 3 Replies
View Related
Sep 14, 2010
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.
View 5 Replies
View Related
Mar 14, 2011
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)
View 6 Replies
View Related
May 31, 2010
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?
View 4 Replies
View Related
May 17, 2010
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.
View 1 Replies
View Related
May 12, 2010
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?
View 1 Replies
View Related
May 18, 2010
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 Related
Mar 16, 2011
snmpwalk -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.
View 4 Replies
View Related
Apr 28, 2011
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 ?
View 4 Replies
View Related
Mar 11, 2011
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 Related
Mar 4, 2011
I'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 Related
Aug 20, 2009
I 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
Mar 25, 2010
This morning, our NIS master server down (due to ram prob), and what happen is all the sun servers able to bind to NIS Slave, but not Linux servers.
Details:
sun_server[sab]% telnet linux01
Trying 10.x.x.x...
Connected to linux01.
Escape character is '^]'.
[Code]....
Where is the prob, in Sun or Linux? In Linux, how to make it able to failover to NIS slave?
View 2 Replies
View Related
Nov 1, 2010
When I run the following GET commad:
./snmpget -m ALL -M /data/net/naamab/snmp/snmp_mib/ -v 3 -a MD5 -l authPriv -u test1 -A welcome1 -x DES -X privpass 127.0.0.1 NOVELSAT-MODULATOR-MIB::nsModLineCMMode.0 -d
I get the error:
Encryption support not enabled.
snmpget: USM encryption error
I have defined a user (and user, view and access) that should work with encryption:
snmpd.conf:
createUser test1 MD5 welcome1 DES privpass
group debugGroup usm test1
view debugView included .1
access debugGroup "" usm priv exact debugView debugView none
General details:
I am using net-snmp on linux embedded
version 5.5
Configuration (part of it):
./configure --target=mips64-octeon-linux-gnu
--build=mips64-octeon-linux-gnu
--host=i686-pc-linux-gnu
message dump:
Sending 64 bytes to UDP: [127.0.0.1]:161->[0.0.0.0]
0000: 30 3E 02 01 03 30 11 02 04 1D 23 6A FA 02 03 00 0>...0....#j....
0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0.....
0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0.....
0048: A0 0E 02 04 4C 08 7B B5 02 01 00 02 01 00 30 00 ....L.{.......0.
Received 118 bytes from UDP: [127.0.0.1]:161->[0.0.0.0]
0000: 30 74 02 01 03 30 11 02 04 1D 23 6A FA 02 03 00 0t...0....#j....
0016: FF E3 04 01 00 02 01 03 04 24 30 22 04 11 80 00 .........$0"....
0032: 1F 88 80 2D 53 AF 7D 00 00 00 00 00 00 00 08 02 ...-S.}.........
0048: 02 02 CF 02 03 01 11 C5 04 00 04 00 04 00 30 36 ..............06
0064: 04 11 80 00 1F 88 80 2D 53 AF 7D 00 00 00 00 00 .......-S.}.....
0080: 00 00 08 04 00 A8 1F 02 04 4C 08 7B B5 02 01 00 .........L.{....
0096: 02 01 00 30 11 30 0F 06 0A 2B 06 01 06 03 0F 01 ...0.0...+......
0112: 01 04 00 41 01 09 ...A..
View 1 Replies
View Related
Jun 27, 2010
how can I configure snmp to receive traps from diffé²¥nt machines??
View 1 Replies
View Related
May 30, 2011
I have a pair of special radio-devices which support SNMP, but the problem is, that if I snmpwalk those devices, I only see few generic values(sysContact, sysDescr, sysServices etc) and nothing else. Most likely I need MIB files so NMS could know what values can be asked from the radio devices? If yes, is there a possibility to get all the OID's device supports without MIB files as those devices have been out or production for years?
View 2 Replies
View Related
Apr 21, 2010
Can any one tell me a network monitoring tool which can monitor remote connectivity and generate a comprehensive report about the link state like up/down, error timings, increase in latency and packet loss rate.
View 3 Replies
View Related
Jun 17, 2010
i was trying mrtg, but when the light go off the graphics get distorted. Trying to adjust the conf files i get nothing than trying rrdtool but i keep having the same problems. So i was thinking to use php, i got working php snmp walk function but i am looking the way to get the bandwidth or usage of the device from snmp or any snmp function but still now i keep searching. Once done this stages i would be able to save the data into an array and the plot it into a graph and personalize the max and min values for avoiding distorted graphs.
View 4 Replies
View Related
Dec 20, 2009
I'm curious as to what defines the SNMP trap info sent by switches? I would like to get updates on 802.1x authentication and state of switches (all manufacturers if possible). Is the data sent via traps determined by the manufacturer or is it possible to modify/select it from the switch MIB?
View 3 Replies
View Related
Jul 3, 2010
how can I configure snmp and snmptrap to receive a trap when the used disk (/home/linux) is 20%
View 1 Replies
View Related