RE: help with

2008-01-04 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jon Sabo > Sent: Friday, January 04, 2008 1:43 PM > I have two hosts that I'm want to check the state of the interfaces, > up or down, on and for some reason the ifOperSTatus ordering doesn't > match. I have a lot of servers

help with

2008-01-04 Thread Jon Sabo
NetSnmp, I have two hosts that I'm want to check the state of the interfaces, up or down, on and for some reason the ifOperSTatus ordering doesn't match. I have a lot of servers that use this check and just one box that doesn't match up. How do I either set this and make it permanent following

RE: How to deny access from only some hosts usinf vacm

2008-01-04 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of arijit > Sent: Friday, January 04, 2008 4:09 AM >If I were to prevent access from only a few specific hosts > (or subnets) to the agent, is there any way to do it using > VACM? If not, what would be a preferred way of im

RE: Warning: Unknown token: agentxRetries

2008-01-04 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Friday, January 04, 2008 2:19 AM > Is there any way to control agentxretries just 1 times?Can i > change somewhere in code to?Is there any fuction to control 5 times? > Thanks a lot! If you a

RE: Net-snmp-5.4.1: problem while coding acknowledgement forInform-Request.

2008-01-04 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Alain GUENRO > Sent: Friday, January 04, 2008 2:08 AM > I am coding a manager with net-snmp-5.4.1 > > I have a problem to acknowledge an Inform-Request. You are aware that net-snmp already comes with a full-featured m

RE: Enterprise trapquestion/send_v2trap API call

2008-01-04 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield > Sent: Friday, January 04, 2008 1:16 AM > On 03/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: > > Note that this *notification* can not be converted > to v1 format. > > If your target receiver is listed as

RE: snmptrapd and AgentX

2008-01-04 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield > Sent: Friday, January 04, 2008 1:05 AM > On 03/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: > > mike-ayers-lap> snmptrapd -C -c snmptrapd.conf -f -Le > > snmptrapd.conf: line 3: Warning: Unknown token: > doNotReta

Re: Enterprise trapquestion/send_v2trap API call

2008-01-04 Thread Dave Shield
On 04/01/2008, McGowen, Wendy <[EMAIL PROTECTED]> wrote: > Our MIB's are still in definition, and since I'm very new > to this side of SNMP, any advice on MIB syntax is greatly appreciated! The first thing to do would be to run them through 'smilint' (or similar) to validate the syntax. Our

RE: Enterprise trapquestion/send_v2trap API call

2008-01-04 Thread McGowen, Wendy
Thanks Dave! Our MIB's are still in definition, and since I'm very new to this side of SNMP, any advice on MIB syntax is greatly appreciated! ~ Wendy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Friday, January 04, 2008 3:16 AM To: Mc

Re: How can I set contextName instead of default NULL

2008-01-04 Thread Dave Shield
On 4 Jan 2008 12:35:06 -, girish <[EMAIL PROTECTED]> wrote: > Well here is the snmpd.conf file which I 've configured Just concentrating the access control settings, you have: > rwuser myuser > rwuser myuser > rwuser myuser > rwuser myuser i.e. four copies of the same entry! plus: > access

How to deny access from only some hosts usinf vacm

2008-01-04 Thread arijit
Hi, If I were to prevent access from only a few specific hosts (or subnets) to the agent, is there any way to do it using VACM? If not, what would be a preferred way of implementing the same? Thanks for all your help. -Arijit __

Re: Warning: Unknown token: agentxRetries

2008-01-04 Thread goon863
Is there any way to control agentxretries just 1 times?Can i change somewhere in code to?Is there any fuction to control 5 times? Thanks a lot!- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Vi

Net-snmp-5.4.1: problem while coding acknowledgement for Inform-Request.

2008-01-04 Thread Alain GUENRO
Hello list, I am coding a manager with net-snmp-5.4.1 I have a problem to acknowledge an Inform-Request. Here is the code in my session callback (taken from function snmp_input() in snmptrapd_handlers.c): - switch (pdu->command) { ca

Re: Re :Re: Re :Re: How can I set contextName instead of default NULL

2008-01-04 Thread Dave Shield
On 4 Jan 2008 06:50:45 -, girish <[EMAIL PROTECTED]> wrote: > Also I modified snmpd.conf as below > access mygroup "mycontext" That's not a valid "access" line. Can you please post the *whole* of the snmpd.conf file, rather than incomplete snippets. I'm not prepared to waste time guessin

Re: Warning: Unknown token: agentxRetries

2008-01-04 Thread Dave Shield
On 04/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am using 5.0.9 net-snmp on blackfin uclinux. A very old release, that is no longer supported. >I can see the codes under agent/mibgroup/agentx/ are not compiled. > Dose it mean that the agentx is not used? Correct. > And the resul

Re: Enterprise trapquestion/send_v2trap API call

2008-01-04 Thread Dave Shield
On 03/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: > > pivot3 OBJECT IDENTIFIER ::= { enterprises 25148 } > > pvt3System MODULE-IDENTITY : > > ::= { pivot3 1 } > > pvt3SysTrapsOBJECT IDENTIFIER ::= { pvt3System 3 } > > > > pvt3DatabankDriveStat

Re: snmptrapd and AgentX

2008-01-04 Thread Dave Shield
On 03/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: > mike-ayers-lap> snmptrapd -C -c snmptrapd.conf -f -Le > snmptrapd.conf: line 3: Warning: Unknown token: doNotRetainNotificationLogs. > snmptrapd.conf: line 4: Warning: Unknown token: dontRetainLogs. > NET-SNMP version 5.4.1 > That should have