03-11-2009
capture snmp packets in AIX
Hi,
I want to capture snmp packets in AIX.
When i give print from AIX6.1, Printer will give its response thru' snmp.
I used iptrace command like below, but it is not capturing snmp packets other packets are captured like udp, tcp..
1. iptrace command:
/usr/sbin/iptrace -a -i en0 iptrace.out &
2. Give print to printer:
lp -d queue_name file_name
3. view the process:
ps -ef | grep iptrace
4. Kill the process:
kill -1 process_id
5. Report:
ipreport -r -s iptrace.out >/ipreport.network
please help me to capture snmp packets...
Thanks in advance..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Just wondering if anyone knows how can I send an SNMP Trap in Unix Environment(AIX) to another machine (NT/Ux) after having activated the SNMP in the AIX.
Can this be done by using a single command line or do I have to write a script for it?
Thanks in advance for your advices.
:) (1 Reply)
Discussion started by: goliath
1 Replies
2. UNIX for Dummies Questions & Answers
How do I use snoop command to capture multicast packets in the network? (1 Reply)
Discussion started by: caden312
1 Replies
3. UNIX for Advanced & Expert Users
Hi
I would like to monitor CPU usage ( %) , memory utilization and such on an AIX 5.3 with snmp.
How would I do that ? :confused:
If I do "snmpwalk -c public -v1 hosttomonitor" I get nothing about the CPU.
I've done this on Linux ( not much trouble doing it on linux ) but I'm having a hard... (2 Replies)
Discussion started by: art
2 Replies
4. AIX
Hello!
I'm not a expert AIX administrator, but i need to monitorize an AIX V4 system. I want to do it using SNMP but i don't really know how to get CPU, proccess or memory information. I only can get network interfaces information.... How can i add more MIBs to get more info about the AIX... (0 Replies)
Discussion started by: MikelCV
0 Replies
5. AIX
Hi,
I am using smitty to create and configure a print queue. I am giving a print of a text file to the print queue created. I am using this in network.
How to capture network packets of the print from AIX to the printer and printer to AIX.
I tried Wireshark to capture network packets.
I am... (16 Replies)
Discussion started by: meeraramanathan
16 Replies
6. IP Networking
Hi,
I want to capture a certain type of packets (selected according to the protocol) coming to my PC and then transmit them to another PC. I had the idea to use tcpdump to filter input packets and extract those chosen. Well my questions are:
1- after filtering input packets, those that have not... (1 Reply)
Discussion started by: ziedf
1 Replies
7. Infrastructure Monitoring
hi guys
I've configured snmp on some linux
snmpd.conf
rocommunity com_read x.x.x.10
rwcommunity com_write x.x.x.10
Now one of my coworkers asked to do the same that he does on windows for my linux....
But I have no idea how to configure that basically when SNMP is configure there... (5 Replies)
Discussion started by: karlochacon
5 Replies
8. Programming
I have made an packet capture application running on intel machine, it is capturing packets with src address- 17.0.0.0 destination ip- 66.0.0.0, source port- 0, destination port- 0, and protocol- 0 what does these packets mean ?
The code written to interpreter captured bytes is given below.... (5 Replies)
Discussion started by: arunpushkar
5 Replies
9. AIX
Hello Admins,
We need to configure and setup snmp v2 on AIX 6.1 clients.
I don't find snmp v2 related files on AIX servers
. I see there is snmpdv3.conf and v3 installed.
Where can I get snmpdv2 for AIX?
Thanks in advance. (5 Replies)
Discussion started by: snchaudhari2
5 Replies
10. AIX
Hi,
I am planning to disable SNMP in our AIX LPARs. wanted to see by disabling in a test LPAR.
before that, I would like to check disabling this SNMP will impact any of our application or database in anyway. what kind of other software depends on these SNMP daemons ?
Can you please let me... (9 Replies)
Discussion started by: system.engineer
9 Replies
LEARN ABOUT DEBIAN
net-snmp-config
net-snmp-config(1) Net-SNMP net-snmp-config(1)
NAME
net-snmp-config - returns information about installed net-snmp libraries and binaries
SYNOPSIS
net-snmp-config [OPTIONS]
DESCRIPTION
The net-snmp-config shell script is designed to retrieve the configuration information about the libraries and binaries dealing with the
Simple Network Management Protocol (SNMP), built from the net-snmp source package. The information is particularily useful for applications
that need to link against the SNMP libraries and hence must know about any other libraries that must be linked in as well.
OPTIONS
--version
displays the net-snmp version number
--indent-options
displays the indent options from the Coding Style
--debug-tokens
displays a example command line to search to source code for a list of available debug tokens
SNMP Setup commands:
--create-snmpv3-user [-ro] [-a authpass] [-x privpass] [-X DES|AES]
[-A MD5|SHA] [username]
These options produce the various compilation flags needed when building external SNMP applications:
--base-cflags
lists additional compilation flags needed for external applications (excludes -I. and extra developer warning flags, if any)
--cflags
lists additional compilation flags needed
--libs lists libraries needed for building applications
--agent-libs
lists libraries needed for building subagents
--netsnmp-libs
lists netsnmp specific libraries
--external-libs
lists libraries needed by netsnmp libs
--netsnmp-agent-libs
lists netsnmp specific agent libraries
--external-agent-libs lists libraries needed by netsnmp libs
Automated subagent building (produces an OUTPUTNAME binary file): [This feature has not been extensively tested, use at your own risk.]
--compile-subagent OUTPUTNAME [--norm] [--cflags flags]
[--ldflags flags] mibmodule1.c [...]]
--norm leave the generated .c file around to read.
--cflags flags
extra cflags to use (e.g. -I...).
--ldflags flags
extra ld flags to use (e.g. -L... -l...).
Details on how the net-nsmp package was compiled:
--configure-options
Display original configure arguments
--snmpd-module-list
Display the modules compiled into the agent
--prefix
Display the installation prefix
4.2 Berkeley Distribution 16 Nov 2006 net-snmp-config(1)