Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring Need implementation of TCP, SNMP and WIMAX in Linux Post 302376921 by Corona688 on Wednesday 2nd of December 2009 04:16:01 PM
Old 12-02-2009
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

snmp on linux

Which is the best link which answers following question: What is use of snmp and How do i set it up in linux (1 Reply)
Discussion started by: uday
1 Replies

2. Programming

Frame buffer implementation in Linux

At present, Iam working on Linux Framebuffer device console. I have a doubt sir. Please solve this. *How to display a string or a character in Frame buffer in C language? *What is the library file (is it <linux/fb.h> or other one?) used to do all I/O function manipulations like printing,... (0 Replies)
Discussion started by: chandra80
0 Replies

3. Linux

usel level TCP implementation for linux

Does anyone know of a user level implementation of the TCP stack for Linux? Thanks, - sumati (1 Reply)
Discussion started by: sumati01
1 Replies

4. Linux

snmp on linux

hello, I use this command: snmpwalk -c public -v2c zeus Timeout: No Response from zeus I then installed net-snmp on zeus. however, this has not changed the situation: snmpwalk -c public -v2c zeus Timeout: No Response from zeus any idea please on how to make the linux server answers... (6 Replies)
Discussion started by: melanie_pfefer
6 Replies

5. IP Networking

snmp linux win

I use snmp protocol on linux, now I have to use snmp on win, i use pc linux. I have activated the service snmp on win but I can not question him on my linux pc, you have any suggestions? (1 Reply)
Discussion started by: fege
1 Replies

6. Infrastructure Monitoring

linux snmp trap relay

Hi all, I'm after a linux utility that can relay all incoming traffic on a certain port to another server. Can anyone recommend a good program? I've taken a look at snmptrapd, but it's not obvious how this can be configured for my requirements. Many thanks. (1 Reply)
Discussion started by: badoshi
1 Replies

7. Ubuntu

Ubuntu dhclient and wimax problem

I use Ubuntu 9.10 Netbook Remix and Intel wimax drivers to connect to wimax networks, but recently I faced with some problems with connection even when the signal is available and it is at some proper level... Here is system log, which may concerns problem occurred: dhclient: Can't allocate... (0 Replies)
Discussion started by: Sapfeer
0 Replies

8. Infrastructure Monitoring

Configuring SNMP in linux

I am trying to enabling SNMP access and trap forwarding for Linux(RHEL5) using following official url from IBM. http://publib.boulder.ibm.com/infocenter/eserver/v1r2/index.jsp?topic=/diricinfo/fqm0_t_enabling_snmp_access_and_trap_forwarding_for_linux.html In my system, snmp and snmplibs are... (1 Reply)
Discussion started by: SiddhV
1 Replies

9. Infrastructure Monitoring

SNMP Linux help

Please could someone help - advise : I am running linux on a HP server, and I have installed the HP SMNP agents to the server. The snmpd process is running ok, I would like to send an snmp test message to the GMI server ( netcool ). Please could someone advise me the snmp command I can use.... (2 Replies)
Discussion started by: venhart
2 Replies

10. UNIX for Advanced & Expert Users

Thread implementation in Linux

I read about Thread implementation in linux. it says a thread is treated as a process. that means every thread (which should be light weight) has it's own task_struct (which is quite heavy, tipically 1.5kb). still results favors linux then other operating system which have additional support for... (0 Replies)
Discussion started by: kg_gaurav
0 Replies
TAPSET::SNMP(3stap)													       TAPSET::SNMP(3stap)

NAME
tapset::snmp - Systemtap simple network management protocol probe points. DESCRIPTION
This family of probe points enhances the Linux system's implementation of the Simple Network Management Protocol (SNMP) by allowing the user to collect per-socket statistics. SNMP data is collected in the Linux kernel by counting various events occurring in the networking subsystem. Linux provides one counter for each type of event, thus providing a system-wide collection of network statistics. These statis- tics can be viewed with the command: netstat -s. The probe points defined in the SNMP group of tapsets allow users to aberrate each SNMP counter into groups of counters. For example, the user may count SNMP events for a single network socket or for a group of sockets. Severals SNMP tapsets have been created. Each tapset represents a single layer of the network stack and defines a group of counters called management information blocks or MIBs. Currently tapsets are provided that support MIBS for IP, TCP layers and the enhanced linux MIB. See the file /usr/include/linux/snmp.h for a list of MIBS supported by linux. PROBE HANDLERS, COUNTERS AND CALLBACKS Each probe represents a single SNMP statistic. The probe's handler is called each time the system performs an operation that would alter the associated statistic. Each probe also defines an indexed set of counters used to record probe hits. The probe handler calls a user sup- plied callback functions to determine which counter to alter. The user's callback should return a key value that will be used to index the counter. For example a callback could return a unique value for each socket. This would results in a separate counter being used for each socket. Each tapset is now described. Examples of probe names and counter names are given. See the tapset itself for a complete list of supported probes. Users of the tapset must provide a callback function matching the name and prototype as shown. IP MIB Tapset: Example probe name: ipmib.InReceives Example counter name: InReceives Callback prototype: ipmib_filter_key:long (skb:long, op:long, SourceIsLocal:long) This user supplied function should compute and return a value used to index the statistical counter. The skb is a pointer to the struct sk_buff being processed at the time. The local ip-address and port number will be located in either the source or destination fields of the network packet. SourceIsLocal will be true if the local address is in the source field. The probe handler will add the value of op to the counter. To skip counting the event return a value of zero. TCP MIB tapset: Example probe name: tcpmib.InSegs Example counter name: InSegs Callback prototype: tcpmib_filter_key:long (sk:long, op:long) This user supplied function should compute and return a value used to index the statistical counter. The sk is a pointer to the struct sock being processed at the time. The probe handler will add the value of op to the counter. To skip counting the event return a value of zero. LINUX MIB tapset: linuxmib.stp Example probe name: linuxmib.DelayedACKs Example counter name: DelayedACKs Callback prototype: linuxmib_filter_key:long (sk:long, op:long) This user supplied function should compute and return a value used to index the statistical counter. The sk is a pointer to the struct sock being processed at the time. The probe handler will add the value of op to the counter. To skip counting the event return a value of zero. EXAMPLE
This example script counts the number of TCP retransmits and records them per-remote address. It displays the counts when terminated. /* Enable the statistic we want to record. */ probe tcpmib.RetransSegs {} /* * Find the remote address and return * it as an index to the counter array. */ function tcpmib_filter_key: long ( sk:long, op:long ){ if ( !sk ) return 0; raddr = sk_get_daddr(sk); return raddr } /* Print the results. */ probe end { foreach (addr in RetransSegs ) printf ("%s %d ",ip_ntop(htonl(addr)), lport) } FILES
/usr/share/doc/systemtap*/examples/tcpipstat.stp SEE ALSO
stap(1), stapprobes(3stap), stapfuncs(3stap) IBM
TAPSET::SNMP(3stap)
All times are GMT -4. The time now is 06:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy