Shailendra Karody | 1 Oct 2003 07:24
Picon
Favicon

RMON support in version 5.0.9

Hi,

Can any one please let me know if version 5.0.9 comes with an RMON agent? If 
not, does this version provide MIB access routines for RMON 1 and 2 MIB.

Thanks,
Shailendra

_________________________________________________________________
Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
FREE!  http://msnmessenger-download.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Shailendra Karody | 1 Oct 2003 07:10
Picon
Favicon

RMON support in version 5.0.9

Hi,

Can anyone let me know if the version 5.0.9 comes with an RMON agent. If 
not, does this release provide RMON MIB access routines for RMON 1 and RMON 
2.

Thanks,
Shailendra

_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $29.95/month 
(depending on the local service providers in your area).  
https://broadband.msn.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Benoit Moeremans | 1 Oct 2003 11:13
Picon

process monitoring

Hello,
I'm looking for the best way to monitore with snmp a lot of process on remote hosts (on linux). I put in the snmpd.conf the process. I know how to get the value of the errorflag. But does someone already scripted something?
 
Thnx in advance,
Benoit
Robert Story | 1 Oct 2003 16:26

Re: Delegated requests

On Tue, 30 Sep 2003 15:55:40 +0200 Milani wrote:
MG> I've a question concerning the delegated requests handling when no
MG> agent/sub-agent architecture is used.
MG> Suppose there's an SNMP request that takes a while in order
MG> to be completed (for example, a remote resource must be interrogated this
MG> taking some seconds). In such a case, in the meantime this operation is
MG> pending, is it possible to serve other incoming operations or the agent
MG> will be blocked ?

Other get requests may be processed, but for a set request all other processing is blocked.

MG> Is it mandatory to use the agent/sub-agent
MG> architecture to deal with delegated requests since the Net-snmp demon is
MG> a single-thread process ?

No, it should work in snmpd as well. 

--

-- 
Robert Story; NET-SNMP Junkie, NET-POLICY Flunkie
<irc://irc.openprojects.net/#net-snmp>   <http://www.net-snmp.org/>
<irc://irc.openprojects.net/#net-policy> <http://net-policy.sourceforge.net/>

You are lost in a twisty maze of little standards, all different. 

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

spvijayakumar | 1 Oct 2003 15:58

RE: net-snmp crash on hpux11

Hello Johannes,

  Thanks for your valuable inputs.  I made changes to the three files,
ip.c, tcp.c and udp.c and compiled them.
  snmpd was returning all the statistics of ip.c, tcp.c and udp.c.
Thanks very much.

  I am trying to install net-snmp in HP-UX 11.11.  Could you please
inform me which version of gcc I have to use to install net-snmp
on HP-UX 11.11.

  I am not able to compile because I am getting gcc 3.3.1 compilation 
error message:
  /usr/include/machine/sys/setjmp.h:45: redefinition of `struct label_t'
In file included from mibII/tcp.c:34:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:440: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:442: parse error before "bsize_t"
mibII/tcp.c:104:27: netinet/tcpip.h: No such file or directory

  Could you please help me in this regard?  I am struggling for the
past 3 days.

  Kindly cc your reply to: spvijayakumar <at> yahoo.com also.

Thanks & Regards,
Vijay.

-----Original Message-----
From: Johannes Schmidt-Fischer [mailto:jsf <at> InterFace-AG.de] 
Sent: Tuesday, September 30, 2003 4:17 AM
To: Sp.vijaya kumar
Cc: net-snmp-users <at> lists.sourceforge.net; net-snmp-coders <at> lists.sourceforge.net
Subject: Re: net-snmp crash on hpux11

Hello Vijay,

it seems as if there are some statements missing in the respective files 
(but I don't know why, probably I forgot to send them in as patches).

So the three files ip.c, tcp.c and udp.c (all to be found in 
agent/mibgroup/mibII) are to patched as follows (the patches are built 
against net-snmp 5.0.8):

*** ip.c        Mon Dec  9 12:10:49 2002
--- ip.c        Tue Sep 30 00:18:32 2003
***************
*** 514,519 ****
--- 514,544 ----
           return (u_char *) & ipstat.dwRoutingDiscards;
   #endif                          /* WIN32 */

+ #ifdef hpux11
+     case IPFORWARDING:
+     case IPDEFAULTTTL:
+     case IPINRECEIVES:
+     case IPINHDRERRORS:
+     case IPINADDRERRORS:
+     case IPFORWDATAGRAMS:
+     case IPINUNKNOWNPROTOS:
+     case IPINDISCARDS:
+     case IPINDELIVERS:
+     case IPOUTREQUESTS:
+     case IPOUTDISCARDS:
+     case IPOUTNOROUTES:
+     case IPREASMTIMEOUT:
+     case IPREASMREQDS:
+     case IPREASMOKS:
+     case IPREASMFAILS:
+     case IPFRAGOKS:
+     case IPFRAGFAILS:
+     case IPFRAGCREATES:
+     case IPROUTEDISCARDS:
+         long_return = (long) ipstat;
+         return (u_char *) & long_return;
+ #endif        /* hpux11 */
+
       default:
           DEBUGMSGTL(("snmpd", "unknown sub-id %d in var_ip\n", 
vp->magic));
       }

*** tcp.c       Fri May 17 18:05:13 2002
--- tcp.c       Tue Sep 30 00:20:45 2003
***************
*** 443,448 ****
--- 443,468 ----
       case TCPOUTRSTS:
           return (u_char *) & tcpstat.dwOutRsts;
   #endif
+
+ #ifdef hpux11
+     case TCPRTOALGORITHM:
+     case TCPRTOMIN:
+     case TCPRTOMAX:
+     case TCPMAXCONN:
+     case TCPACTIVEOPENS:
+     case TCPPASSIVEOPENS:
+     case TCPATTEMPTFAILS:
+     case TCPESTABRESETS:
+     case TCPCURRESTAB:
+     case TCPINSEGS:
+     case TCPOUTSEGS:
+     case TCPRETRANSSEGS:
+     case TCPINERRS:
+     case TCPOUTRSTS:
+         long_return = (long) tcpstat;
+         return (u_char *) & long_return;
+ #endif        /* hpux11 */
+
       default:
           DEBUGMSGTL(("snmpd", "unknown sub-id %d in var_tcp\n", 
vp->magic));
       }

*** udp.c       Fri May 17 18:05:14 2002
--- udp.c       Tue Sep 30 00:22:23 2003
***************
*** 319,324 ****
--- 319,333 ----
           return (u_char *) & udpstat.dwInErrors;
   #endif                          /* WIN32 */

+ #ifdef hpux11
+     case UDPINDATAGRAMS:
+     case UDPNOPORTS:
+     case UDPOUTDATAGRAMS:
+     case UDPINERRORS:
+       long_return = (long) udpstat;
+         return (u_char *) & long_return;
+ #endif        /* hpux11 */
+
       default:
           DEBUGMSGTL(("snmpd", "unknown sub-id %d in var_udp\n", 
vp->magic));
       }

Please let me know whether these patches work for you, especially 
whether you get those values you're missing currently.

If so, I'll send these patches together with the patch for var_route.c I 
sent you before to the net-snmp patches list.

Johannes

Sp.vijaya kumar schrieb:
> Hello Johannes,
> 
>   Now, I am writing from my yahoo mail.
> 
>   Thanks very much for your kind explanation.
>   I have one more problem with net-snmp 5.0.8 w.r.to
> hpux11 that
>   when I issue "snmpwalk" on mib-2 objects a few IP,
> UDP and TCP statistics are not displayed.
>    Details:
> 
>    1) from object ipForwarding to ipFragCreates
> (totally 19 objects) under IP are not displayed.
>    2) TCP: objects from tcpRtoAlgorithm to tcpOutRsts (totally 14) are 
> not displayed during snmpwalk on  mib-2.
>    3) UDP: from udpInDatagrams to udpOutDatagrams
> (totally 4) objects are not shown.
> 
>   If you have any idea on this, I would request you to
> kindly revert back.
> 
> Thanks & Regards,
> Vijay.
> 
> 
> ______________________________________________________________________
> __
> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk

--

-- 
Johannes Schmidt-Fischer

InterFace AG                 phone  +49 (0)89 / 610 49 - 207
Leipziger Str. 16            fax    +49 (0)89 / 610 49 - 85
D-82008 Unterhaching         mobile +49 (0)171/ 787 76 01
http://www.InterFace-AG.com  mailto:jsf <at> InterFace-AG.de

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Dave Shield | 2 Oct 2003 10:15
Picon

Re: snmptrapd -m MIBLIST option


>   I'm trying to understand how the -m miblist option applies to snmptrapd.
>   Since snmptrapd is receiving the traps I don't understand how it is 
>   influenced by which miss are loaded.

You're perfectly correct - it will receive incoming traps regardless of
which MIBs are loaded.  The MIB files are purely needed for interpreting
and displaying the contents of these traps.

For example, a snmptrapd.conf setting of the form

	traphandle .1.3.6.1.6.3.1.1.5.1  /path/to/my/script

will work regardless of what MIB files are loaded.
But an entry of the form

	traphandle coldStart  /path/to/my/script

will only work if the SNMPv2-MIB file is loaded (despite being
exactly the same thing).

The MIB files will also affect how values are displayed (or passed
to the trap handler scripts).   If the relevant MIB file is loaded,
then the OID will use the textual descriptor, and any appropriate
display hints will be applied.   If the relevant MIB file is not
loaded, then it'll use the numeric OID instead, and display the
value as raw data.

OK?

Dave

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Johannes Schmidt-Fischer | 1 Oct 2003 19:01
Picon
Favicon

Re: net-snmp crash on hpux11

Hello Vijay,

I never used gcc for compiling net-snmp (or ucd-snmp) under HP-UX 11i 
(11.11), because luckily I have HP's ANSI C Compiler installed. But I've 
heard from others that it should work with gcc 3.1 and 3.2.

Did you install this gcc version as a binary version from the internet, 
or did you download the sources and bootstrapped it yourself? From what 
I know there is no binary gcc version available in the internet which 
works for HP-UX 11i, the versions I know of only work for HP-UX 11.0, 
and these versions don't work with HP-UX 11i.

Sorry, but at the moment I can't help you further.

Johannes

spvijayakumar schrieb:
> Hello Johannes,
> 
>   Thanks for your valuable inputs.  I made changes to the three files,
> ip.c, tcp.c and udp.c and compiled them.
>   snmpd was returning all the statistics of ip.c, tcp.c and udp.c.
> Thanks very much.
> 
>   I am trying to install net-snmp in HP-UX 11.11.  Could you please
> inform me which version of gcc I have to use to install net-snmp
> on HP-UX 11.11.
> 
>   I am not able to compile because I am getting gcc 3.3.1 compilation 
> error message:
>   /usr/include/machine/sys/setjmp.h:45: redefinition of `struct label_t'
> In file included from mibII/tcp.c:34:
> /usr/include/sys/socket.h:439: parse error before "sendfile"
> /usr/include/sys/socket.h:440: parse error before "bsize_t"
> /usr/include/sys/socket.h:441: parse error before "sendpath"
> /usr/include/sys/socket.h:442: parse error before "bsize_t"
> mibII/tcp.c:104:27: netinet/tcpip.h: No such file or directory
> 
>   Could you please help me in this regard?  I am struggling for the
> past 3 days.
> 
>   Kindly cc your reply to: spvijayakumar <at> yahoo.com also.
> 
> Thanks & Regards,
> Vijay.
> 
> -----Original Message-----
> From: Johannes Schmidt-Fischer [mailto:jsf <at> InterFace-AG.de] 
> Sent: Tuesday, September 30, 2003 4:17 AM
> To: Sp.vijaya kumar
> Cc: net-snmp-users <at> lists.sourceforge.net; net-snmp-coders <at> lists.sourceforge.net
> Subject: Re: net-snmp crash on hpux11
> 
> 
> Hello Vijay,
> 
> it seems as if there are some statements missing in the respective files 
> (but I don't know why, probably I forgot to send them in as patches).
> 
> So the three files ip.c, tcp.c and udp.c (all to be found in 
> agent/mibgroup/mibII) are to patched as follows (the patches are built 
> against net-snmp 5.0.8):
> 
> *** ip.c        Mon Dec  9 12:10:49 2002
> --- ip.c        Tue Sep 30 00:18:32 2003
> ***************
> *** 514,519 ****
> --- 514,544 ----
>            return (u_char *) & ipstat.dwRoutingDiscards;
>    #endif                          /* WIN32 */
> 
> + #ifdef hpux11
> +     case IPFORWARDING:
> +     case IPDEFAULTTTL:
> +     case IPINRECEIVES:
> +     case IPINHDRERRORS:
> +     case IPINADDRERRORS:
> +     case IPFORWDATAGRAMS:
> +     case IPINUNKNOWNPROTOS:
> +     case IPINDISCARDS:
> +     case IPINDELIVERS:
> +     case IPOUTREQUESTS:
> +     case IPOUTDISCARDS:
> +     case IPOUTNOROUTES:
> +     case IPREASMTIMEOUT:
> +     case IPREASMREQDS:
> +     case IPREASMOKS:
> +     case IPREASMFAILS:
> +     case IPFRAGOKS:
> +     case IPFRAGFAILS:
> +     case IPFRAGCREATES:
> +     case IPROUTEDISCARDS:
> +         long_return = (long) ipstat;
> +         return (u_char *) & long_return;
> + #endif        /* hpux11 */
> +
>        default:
>            DEBUGMSGTL(("snmpd", "unknown sub-id %d in var_ip\n", 
> vp->magic));
>        }
> 
> *** tcp.c       Fri May 17 18:05:13 2002
> --- tcp.c       Tue Sep 30 00:20:45 2003
> ***************
> *** 443,448 ****
> --- 443,468 ----
>        case TCPOUTRSTS:
>            return (u_char *) & tcpstat.dwOutRsts;
>    #endif
> +
> + #ifdef hpux11
> +     case TCPRTOALGORITHM:
> +     case TCPRTOMIN:
> +     case TCPRTOMAX:
> +     case TCPMAXCONN:
> +     case TCPACTIVEOPENS:
> +     case TCPPASSIVEOPENS:
> +     case TCPATTEMPTFAILS:
> +     case TCPESTABRESETS:
> +     case TCPCURRESTAB:
> +     case TCPINSEGS:
> +     case TCPOUTSEGS:
> +     case TCPRETRANSSEGS:
> +     case TCPINERRS:
> +     case TCPOUTRSTS:
> +         long_return = (long) tcpstat;
> +         return (u_char *) & long_return;
> + #endif        /* hpux11 */
> +
>        default:
>            DEBUGMSGTL(("snmpd", "unknown sub-id %d in var_tcp\n", 
> vp->magic));
>        }
> 
> *** udp.c       Fri May 17 18:05:14 2002
> --- udp.c       Tue Sep 30 00:22:23 2003
> ***************
> *** 319,324 ****
> --- 319,333 ----
>            return (u_char *) & udpstat.dwInErrors;
>    #endif                          /* WIN32 */
> 
> + #ifdef hpux11
> +     case UDPINDATAGRAMS:
> +     case UDPNOPORTS:
> +     case UDPOUTDATAGRAMS:
> +     case UDPINERRORS:
> +       long_return = (long) udpstat;
> +         return (u_char *) & long_return;
> + #endif        /* hpux11 */
> +
>        default:
>            DEBUGMSGTL(("snmpd", "unknown sub-id %d in var_udp\n", 
> vp->magic));
>        }
> 
> Please let me know whether these patches work for you, especially 
> whether you get those values you're missing currently.
> 
> If so, I'll send these patches together with the patch for var_route.c I 
> sent you before to the net-snmp patches list.
> 
> Johannes
> 
> Sp.vijaya kumar schrieb:
> 
>>Hello Johannes,
>>
>>  Now, I am writing from my yahoo mail.
>>
>>  Thanks very much for your kind explanation.
>>  I have one more problem with net-snmp 5.0.8 w.r.to
>>hpux11 that
>>  when I issue "snmpwalk" on mib-2 objects a few IP,
>>UDP and TCP statistics are not displayed.
>>   Details:
>>
>>   1) from object ipForwarding to ipFragCreates
>>(totally 19 objects) under IP are not displayed.
>>   2) TCP: objects from tcpRtoAlgorithm to tcpOutRsts (totally 14) are 
>>not displayed during snmpwalk on  mib-2.
>>   3) UDP: from udpInDatagrams to udpOutDatagrams
>>(totally 4) objects are not shown.
>>
>>  If you have any idea on this, I would request you to
>>kindly revert back.
>>
>>Thanks & Regards,
>>Vijay.
>>
>>
>>______________________________________________________________________
>>__
>>Want to chat instantly with your online friends?  Get the FREE Yahoo!
>>Messenger http://mail.messenger.yahoo.co.uk
> 
> 
> 

--

-- 
Johannes Schmidt-Fischer

InterFace AG                 phone  +49 (0)89 / 610 49 - 207
Leipziger Str. 16            fax    +49 (0)89 / 610 49 - 85
D-82008 Unterhaching         mobile +49 (0)171/ 787 76 01
http://www.InterFace-AG.com  mailto:jsf <at> InterFace-AG.de

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Sandra R. Souza | 3 Oct 2003 15:02
Picon

memAvailReal

Hi People,

   When I execute a snmpwalk I get the following values :
snmpwalk -Os -c public -v 1 xxxx.xxxxx.unicamp.br .1.3.6.1.4.1.2021.4

memIndex.0 = INTEGER: 0
memErrorName.0 = STRING: swap
memTotalSwap.0 = INTEGER: 8394392
memAvailSwap.0 = INTEGER: 8394392
memTotalReal.0 = INTEGER: 4194304
memAvailReal.0 = INTEGER: 1120776
memTotalFree.0 = INTEGER: 5683592
memMinimumSwap.0 = INTEGER: 16000
memSwapError.0 = INTEGER: 0
memSwapErrorMsg.0 = STRING:

   memTotalFree is the total of memAvailSwap+memAvailReal. ? But the
result of this addition is=
9515168 not 5683592. How can I enterpret this?

Thanks Sandra

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Chris Hammond | 3 Oct 2003 18:35

snmptrapd and snmptt

I am trying to install snmptt.  I followed the instructions and added the traphandler line to the snmptrapd.conf

but it doesn't look as though it is being forwarded to the trap handler.  I can see the traps being received by

snmptrapd in the syslog but that is it.  Does anyone here use snmptt that can help me t/s my setup.  I don't

claim to be a Linux expert but I am even newer to this area than Linux.

Thanks

Chris Hammond

meffo@libero.it | 3 Oct 2003 18:47
Picon
Favicon

AgentX and Informs

Hi Everyone,

   I have a question regarding AgentX support. I use net-snmp as master agent AgentX. My sub-agent need to send
traps that must become inform in SNMP. In other words, net-snmp should send inform instead of standard trap.

How can I get this behaviour ? It seems that UCD remaps AgentX notify with a normal trap.

Thanks in advance

Meffo

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Gmane