Re: Delayed notification when using IP-MIB::ipAddressTable instead of IP-MIB::ipAddressTable

2024-01-15 Thread Niels Baggesen
Den 11-01-2024 kl. 14:25 skrev Christophe Leroy via Net-snmp-coders: When using IP-MIB::ipAddrTable the manager is notified immediately but when using IP-MIB::ipAddressTable the notification is delayed several seconds and after investigation it looks like it is because the content of IP-MIB

Delayed notification when using IP-MIB::ipAddressTable instead of IP-MIB::ipAddressTable

2024-01-11 Thread Christophe Leroy via Net-snmp-coders
esses assigned to interfaces and/or creation/deletion of interfaces, and we have a requirement that the manager gets notified within a few seconds. Using Net-SNMP version 5.9.3 When using IP-MIB::ipAddrTable the manager is notified immediately but when using IP-MIB::ipAddressTable the notificati

[PATCH 6/9] SNMP-NOTIFICATION-MIB: Add missing trailing newlines to debug statements

2018-06-21 Thread Bart Van Assche
--- agent/mibgroup/notification/snmpNotifyTable_data.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent/mibgroup/notification/snmpNotifyTable_data.c b/agent/mibgroup/notification/snmpNotifyTable_data.c index 9a2b42f98734..ee768143d169 100644 --- a/agent/mibgroup

Implementing a generic "device fault" notification

2012-10-22 Thread Giuseppe Modugno
I have a private MIB implemented in the Net-SNMP agent. Several objects defined in this MIB can be retrieved from external electronic devices connected to the agent embedded PC by a serial RS232 bus. So I have a MIB sub-tree related to Device1, another sub-tree for Device2 and so on. I want to

Re: Notification on parameter change

2012-10-16 Thread Dave Shield
On 16 October 2012 14:10, Giuseppe Modugno wrote: > In this case, why to use the "service object" somethingChangedOID? The > OID of the changed instance can be retrieved from the "extra" (not > specified in the MIB) varbind that contains the value too, so the > OBJ

Re: Notification on parameter change

2012-10-16 Thread Giuseppe Modugno
Il 16/10/2012 09:56, Dave Shield ha scritto: > Remember that you can always append additional varbinds to a > notification payload - over and above those listed in the MIB definitions. > So as well as the > somethingChangedOID.0 = theOidThatChanged > > varbind, the notif

Re: Notification on parameter change

2012-10-16 Thread Dave Shield
On 16 October 2012 09:05, Giuseppe Modugno wrote: >> Remember that you can always append additional varbinds to a >> notification payload - over and above those listed in the MIB definitions. > Really? I thought I was forced to append just the varbinds defined in > the MIB.

Re: Notification on parameter change

2012-10-16 Thread Giuseppe Modugno
Il 16/10/2012 09:56, Dave Shield ha scritto: > On 16 October 2012 08:32, Giuseppe Modugno wrote: >> Now I'd like to have an agent that sends a notification for *each* >> parameter: if an alarm occurs, if the user change a setting (even >> through SNMP SET) and so on.

Re: Notification on parameter change

2012-10-16 Thread Dave Shield
On 16 October 2012 08:32, Giuseppe Modugno wrote: > Now I'd like to have an agent that sends a notification for *each* > parameter: if an alarm occurs, if the user change a setting (even > through SNMP SET) and so on. > > The only approach I know is to define in the MIB a diff

Notification on parameter change

2012-10-16 Thread Giuseppe Modugno
agent that sends a notification for *each* parameter: if an alarm occurs, if the user change a setting (even through SNMP SET) and so on. The only approach I know is to define in the MIB a different NOTIFICATION-TYPE for each parameter, so I'll have a MIB composed by two main trees: o

Bad parse of NOTIFICATION-TYPE When Null in OBJECTS

2012-02-06 Thread chengkeke
Hi All, Error "Bad parse of NOTIFICATION-TYPE" is displayed when define a node with OBJECTS is {}/null. The MIB can be compiled successfully in Mg-Soft browser. Net-snmp 5.5. Is it a known issue? Have it fixed in later version? When we define a node with OBJECTS is {} in MIB

Sending notification (SNMP v2 trap) by the SNMP agent using mib2c.notify.conf configuration file

2011-11-29 Thread prashant n
Hi Dave, * Thanks for your valuable feedback.* * * Please suggest me which method i need to follow whether DisMan Event MIB or mib2c.notify.conf, for generating SNMPv2 traps ? *Thanks in Advance* *Prashant Nirni* * * * * On 29 November 2011 10:22, prashant n wrote: > Now sugges

Re: Sending notification (SNMP v2 trap) by the SNMP agent using mib2c.notify.conf configuration file

2011-11-29 Thread Dave Shield
On 29 November 2011 10:22, prashant n wrote: > Now suggest me on following things > > 1)  What is the actual difference between  generating traps by using DisMan > Event MIB and by using 'mib2c.notify.conf' configuration file ? The code template generated by 'mib2c.notify.conf' will give you

Sending notification (SNMP v2 trap) by the SNMP agent using mib2c.notify.conf configuration file

2011-11-29 Thread prashant n
Hi Dave, *Thanks for your valuable feedback.* * * * * I am able to send SNMPv2 trap using DisMan Event MIB with your great support. I have gone through FAQ* How can i get the agent to generate a trap ( or inform) ?* *Now suggest me on following things* * * 1) What is the actu

Re: Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread Dave Shield
On 28 November 2011 15:20, prashant n wrote: > 1) How to add variable bindings to trap ? Please read the snmpd.conf(5) man page. In particular, the section describing OPTIONS to the "monitor" directive > 2) ... > But my application requires that DisMan Event MIB must generate a trap when > the 

Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread prashant n
Hi Dave, *Thanks for your quick response*. I found solution for trap generation , as i reported problem in previous mail. I included following line in snmpd.conf * monitor -r 10 -e ScalarEvent myScalarTest .1.3.6.1.4.1.38151.1.1.1 > 3* i,e instead of textual

Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread prashant n
Hi Dave, *Thanks for your quick response*. When i run the agent following error i am getting *"trigger OID: integerObject* */usr/local/share/snmp/snmpd.conf: line 16: Error: unknown monitor OID* *net-snmp: 1 error(s) in config file(s)"* line 16 contains : *monitor -r 10 myScalarT

Re: Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread Dave Shield
On 28 November 2011 10:57, prashant n wrote: >> What is the value of 'integerObject.0' ? >  Default value of integerObject.0 = 20 Hmmm... that should have generated a trap when the agent started up. Which did you start first - snmpd or snmptrapd? Try leaving snmptrapd running, and stop snmpd

Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread prashant n
Hi Dave, * Thanks for your valuable feedback.* * * Default value of integerObject.0 = 20 *Thanks in Advance* *Prashant Nirni* On 28 November 2011 10:53, prashant n wrote: > Thanks for your valuable feedback. > I included following lines on snmpd.conf > iquerySecName

Re: Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread Dave Shield
On 28 November 2011 10:53, prashant n wrote: >               Thanks for your valuable feedback. > I included following lines on snmpd.conf > iquerySecName   myuser > monitor -r 10  myScalarTest   integerObject > 3 > > I run the snmptrapd and snmpd on separate terminals. I have done the same as > y

Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread prashant n
Hi Dave, *Thanks for your valuable feedback.* I included following lines on snmpd.conf iquerySecName myuser monitor -r 10 myScalarTest integerObject > 3 I run the snmptrapd and snmpd on separate terminals. I have done the same as you suggested in previous mail but i cant able t

Re: Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread Dave Shield
On 28 November 2011 09:15, prashant n wrote: > I created a new snmpv3 user  using following command >net-snmp-config --create-snmpv3-user -a "my_password" myuser > After that i queried  using SNMPv3 options using following commands: > $ snmpget -v 3 -u myuser -l authNoPriv -a MD5 -A my_passw

Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread prashant n
Hi Dave, *Thanks for your valuable feedback*. SNMPv3 user settings: I created a new snmpv3 user using following command *net-snmp-config --create-snmpv3-user -a "my_password" myuser* When i run above command following response i got.. *adding the following line to /var/net-snmp/snm

Re: Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-28 Thread Dave Shield
On 28 November 2011 07:26, prashant n wrote: > As per your suggestion i have gone through  README.snmpv3 file (in the > source tree) and the SNMPv3 tutorials on the web pages. > I worked on SNMPv3 queries as suggested in README.snmpv3 file > and it worked fine. So you can send SNMPv3 queries to t

Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-27 Thread prashant n
Hi Dave, *Thanks for your valuable feedback.* As per your suggestion i have gone through README.snmpv3 file (in the source tree) and the SNMPv3 tutorials on the web pages. I worked on SNMPv3 queries as suggested in README.snmpv3 file and it worked fine. Now tell me, what other pre-

Re: Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-25 Thread Dave Shield
On 25 November 2011 14:56, prashant n wrote: > As per your suggestion, i created snmpd.conf file > and also i created snmptrapd.conf file which contains only single line > I am able to run the SNMP agent > and i started snmptrapd demon on other terminal > When i started SNMP agent i

Sending notification (SNMP v2 trap) by the SNMP agent using DisMan Event MIB

2011-11-25 Thread prashant n
processed successfully. The DisMan Event MIB is concerned with triggering *when* traps should be sent - not the SNMP version used. Please make sure that the basic notification infrastructure is in place and working before thinking about DisMan monitorin

Re: Sending notification by the SNMP agent using DisMan Event MIB

2011-11-25 Thread Dave Shield
*when* traps should be sent - not the SNMP version used. Please make sure that the basic notification infrastructure is in place and working before thinking about DisMan monitoring. That's the first pre-requisite. Do that first - make sure it's working. Then get back to us. Dave -

Re: Sending notification by the SNMP agent using DisMan Event MIB

2011-11-25 Thread Dave Shield
On 25 November 2011 06:30, prashant n wrote: > 1) Whether i need to write above directive(authCommunity) > in snmptrapd.conf configuration file ? Yes > 2) Whether any other directives i need to add in  snmptrapd.conf > configuration file in order to receive notification ? I

Sending notification by the SNMP agent using DisMan Event MIB

2011-11-24 Thread prashant n
e,netpublic on the local host, and authCommunity log,execute,netprivate on 10.11.12.13"* * * * * *Please guide me on following things regarding configuring notification receiver (**snmptrapd.conf) * * * 1) Whether i need to write above directive(*authCommunity)* in snmp

Re: Sending notification by the SNMP agent using DisMan Event MIB

2011-11-24 Thread Dave Shield
On 24 November 2011 14:55, prashant n wrote: >  As a start up to understand  DisMan Event functionality , i want to monitor > the Scalar object in the MIB file using DisMan Event MIB and i want to send > trap by the agent depends on state change in the value (or some condition) > of the Scalar obj

Re: Sending notification by the SNMP agent using DisMan Event MIB

2011-11-24 Thread Dave Shield
; traps ? This line will tell the SNMP agent that traps should be sent *to* this notification receiver (i.e. port 162 on localhost, with community "public") Whether there is anything listening on that port is a competely separate question. snmpd.conf is purely concerned with what the SN

Sending notification by the SNMP agent using DisMan Event MIB

2011-11-24 Thread prashant n
i need to add? *Thanks in Advance* *Prashant Nirni* On 23 November 2011 15:24, prashant n wrote: > 1) How to quick start to send notification(TRAP) to the manager by the SNMP agent ? For configuring where the agent should send notifications, please see the snmpd.conf(5)' man p

Re: Sending notification by the SNMP agent

2011-11-23 Thread Dave Shield
On 23 November 2011 15:24, prashant n wrote: > 1) How to quick start to send notification(TRAP) to the manager by the  SNMP > agent ? For configuring where the agent should send notifications, please see the snmpd.conf(5)' man page - in particular, the section "Notification Ha

Sending notification by the SNMP agent

2011-11-23 Thread prashant n
Hi, *Please suggest me on following things* * * * * 1) How to quick start to send notification(TRAP) to the manager by the SNMP agent ? 2) The SNMP agent must send trap if any changes in the underlying system that must be reflected to objects defined in MIB file. How to do that? *Thanks

Re: One notification for different variables

2011-06-24 Thread Dave Shield
On 23 June 2011 08:05, Giuseppe Modugno wrote: > I thought a MIB file is associated to a product. That's one approach, certainly. And a number of manufacturers do indeed adopt this way of thinking. But it's the exact opposite of how SNMP was originally designed. Think about how things look from

Re: One notification for different variables

2011-06-23 Thread Giuseppe Modugno
On 22 Jun 2011 at 15:08, Giuseppe Modugno wrote: > > > Moreover the conditional expressions are very complex so the > > > facility of DisMan Event would be too limiting. > > > > Can you expand on this, please. > > Just an example. A low level threshold is associated to each voltage, > but the

Re: One notification for different variables

2011-06-23 Thread Giuseppe Modugno
On 22 Jun 2011 at 14:41, Dave Shield wrote: > > Indeed I have other signals too: temperature, currents, RF powers and so on. > > Do you suggest to have a different table for each signal? > > Yes. > > > For example, I have only one temperature sensor: should I create a table > > with just one row?

Re: One notification for different variables

2011-06-22 Thread Dave Shield
P table, but how the receiver can > determine which voltage supply has broken? The OID for an instance within a table includes the index value of that row. For example "lmTempSensorsValue.27" contains the value being reported by temperature sensor #27. So the varbinds within the

Re: One notification for different variables

2011-06-22 Thread Giuseppe Modugno
INTEGER, > currentLevel INTEGER > lowerThreshold INTEGER > upperThreshold INTEGER > } > > nominalLevel OBJECT-TYPE -- in 0.1 volt units > ... > > currentLevel OBJECT-TYPE > > > ... > > lowerThreshold OBJECT-TYPE > ... > > upperThreshold O

Re: One notification for different variables

2011-06-22 Thread Giuseppe Modugno
board communicates with a proprietary protocol through RS232 to the extension of Net-SNMP agent. When a voltage leaves the normal state and enters alarm state, the board sends a bunch of bytes through RS232 to the agent so a notification can be emitted. At the moment even the thresholds are

Re: One notification for different variables

2011-06-22 Thread Fulko Hew
rent > > > notifications with own OID (oidNotifV1Alarm, oidNotifV2Alarm, ...) > or > > > creating just one notification (oidNotifVAlarm). > > > > One notification with an explanatory payload would be better. > > Yes - this is a perfectly valid (and c

Re: One notification for different variables

2011-06-22 Thread Dave Shield
On 22 June 2011 09:54, Giuseppe Modugno wrote: > I think DisMan Event MIB has the purpose to allow the user to completely > customize the OIDs to monitor and the conditional expressions that trigger > notifications. > In my case, I don't want to give the user this flexibility. Then don't. It woul

Re: One notification for different variables

2011-06-22 Thread Giuseppe Modugno
sages in case of any alarm. > > First question - do you actually need to define your own notification? > The Net-SNMP agent supports the DisMan Event MIB, > which would allow you to monitor these values, and automatically > trigger a notification if the value strays outside a defin

Re: One notification for different variables

2011-06-22 Thread Dave Shield
need to define your own notification? The Net-SNMP agent supports the DisMan Event MIB, which would allow you to monitor these values, and automatically trigger a notification if the value strays outside a defined range. Have a look at the "DisMan Event MIB" section of the snmpd.c

One notification for different variables

2011-06-22 Thread Giuseppe Modugno
oidV2, ..., oidV10. So I can send GET requests from SNMP manager to receive the value of them. I'd like to send a notification in case a voltage goes outside a suitable range. I'm wondering what is the best approach between creating 10 different notifications with own OID (oidNotifV1Alarm,

Re: Query For SNMP NOTIFICATION-TYPE

2011-05-09 Thread Dave Shield
puUsage First problem - this line defines a notification event called "highCpuUsageTrap", using the OID TFONLINE-MIB::highCpuUsage. OK so far But then you say that this notification should contain a varbind containing the value of TFONLINE-MIB::highCpuUsage This object is defined as a NOTIF

Re: Query For SNMP NOTIFICATION-TYPE

2011-05-05 Thread Dave Shield
On 5 May 2011 08:43, Dashang Trivedi wrote: >     My MIb file contain this macro >  highCpuUsage NOTIFICATION-TYPE [snip] If this is a notification object, then it can *only* be used as part of a "snmptrap" (or similar) comma

Query For SNMP NOTIFICATION-TYPE

2011-05-05 Thread Dashang Trivedi
Dear Sir, My Self Dashang Trivedi .My Objective is to add Private MIB and compile that file and perform snmpget and snmpset operation. My MIb file contain this macro highCpuUsage NOTIFICATION-TYPE

RE: Notification Filtering

2011-03-09 Thread Shreyas Deodhar
[email protected] Subject: Re: Notification Filtering On 3 March 2011 11:29, Shreyas Deodhar wrote: > Here's the snmpd.conf file [snip] Ummm yes, that ought to be working. I'm not sure what's going wrong here. All I can suggest is that you try with a more rec

Re: Notification Filtering

2011-03-09 Thread Dave Shield
On 9 March 2011 15:44, Shreyas Deodhar wrote: > Is there any platform dependency here? There shouldn't be, no. The filtering is handled purely within the core agent code. There isn't any relevant O/S-specific code. All I can suggest is that you run the agent under a debugger, and single-step thr

Re: Notification Filtering

2011-03-07 Thread Dave Shield
On 3 March 2011 11:29, Shreyas Deodhar wrote: > Here's the snmpd.conf file [snip] Ummm yes, that ought to be working. I'm not sure what's going wrong here. All I can suggest is that you try with a more recent version of the agent (although the only related fix that I can spot should be p

RE: Notification Filtering

2011-03-03 Thread Shreyas Deodhar
[email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Thursday, March 03, 2011 4:16 PM To: Shreyas Deodhar Cc: [email protected] Subject: Re: Notification Filtering On 3 March 2011 10:21, Shreyas Deodhar wrote: >>>What are the access control set

Re: Notification Filtering

2011-03-03 Thread Dave Shield
On 3 March 2011 10:21, Shreyas Deodhar wrote: >>>What are the access control settings for your agent? >        I am using net-snmp version 5.4.1, with write community as 'private' Can you please post the full contents of your snmpd.conf file. I've just tried the same command you posted on an age

RE: Notification Filtering

2011-03-03 Thread Shreyas Deodhar
-Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Thursday, March 03, 2011 3:27 PM To: Shreyas Deodhar Cc: [email protected] Subject: Re: Notification Filtering On 3 March 2011 09:37, Shreyas Deodhar wrote: &

Re: Notification Filtering

2011-03-03 Thread Dave Shield
On 3 March 2011 09:37, Shreyas Deodhar wrote: > [root@localhost Desktop]# snmpset -v2c -c private >snmpNotifyFilterRowStatus.\"noColdStart\".1.3.6.1.6.3.1.1.5.1 i createAndGo >snmpNotifyFilterType.\"noColdStart\".1.3.6.1.6.3.1.1.5.1 i excluded > > Error in packet. > Reason: notWritable (T

Notification Filtering

2011-03-03 Thread Shreyas Deodhar
Hi Dave, I saw your reply on Notification Filtering topic, I went through the links posted by you I tried all the steps given there and I am getting error while creating FilterTable Following is the error [root@localhost Desktop]# snmpset -v2c -c private snmpNotifyFilterRowStatus

Re: Notification Filtering

2011-03-01 Thread Dave Shield
On 1 March 2011 09:29, Nilesh karle wrote: > Can anybody please share some information on 'Notification Filtering' > project current status? > Is it in place already ? Support for notification filtering has been in place for some time. I believe that the main thing that is mis

Notification Filtering

2011-03-01 Thread Nilesh karle
Hi, Can anybody please share some information on 'Notification Filtering' project current status? Is it in place already ? I believe the implementation is not present in the latest source tree [5.6.1]. The implementation for 'nlmConfigTable' is missing. How the filtering sup

Re: Sending a notification outside the agent

2011-02-25 Thread Dave Shield
d Responder" and a "Notification Originator", while the Net-SNMP 'snmptrap' command is purely a "Notification Originator". > I have already a running agent extended with a private MIB. So I think it's > better to include in this part of the agent also

Re: Sending a notification outside the agent

2011-02-25 Thread Giuseppe Modugno
On 24 Feb 2011 at 16:16, Dave Shield wrote: > On 24 February 2011 15:01, Giuseppe Modugno wrote: > > Now I want to create a small program that sends autonomously (outside the > > agent process) a SMI-v2 notification. > > You mean a program like 'snmptrap' ? Yes.

Re: Sending a notification outside the agent

2011-02-24 Thread Dave Shield
On 24 February 2011 15:01, Giuseppe Modugno wrote: > Now I want to create a small program that sends autonomously (outside the > agent process) a SMI-v2 notification. You mean a program like 'snmptrap' ? > Can I use the send_v2trap() function call? No. This relies on elemen

Sending a notification outside the agent

2011-02-24 Thread Giuseppe Modugno
I installed net-snmp suite on a Linux box. It works great, both for manager (snmpget/snmpset) and for agent (snmpd). Now I want to create a small program that sends autonomously (outside the agent process) a SMI-v2 notification. Can I use the send_v2trap() function call? From snmp_trap_api(3

Re: SF.net SVN: net-snmp:[19855] trunk/net-snmp/agent/mibgroup/ notification-log-mib

2011-01-12 Thread Bart Van Assche
: patch: 3096725: sysORTable registation for notification log > mib > > original patch fixed several issues, other parts applied earlier > > Modified Paths: > -- > > branches/V5-4-patches/net-snmp/agent/mibgroup/notification/snmpNotifyTable.c > > > branc

Re: ISSUE WITH SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable

2010-12-06 Thread Robert Story
On Mon, 06 Dec 2010 20:03:52 +0530 Manjit wrote: M> Hi All, M> I am trying to create a Row in table snmpNotifyFilterTable. [...] M> Please let me know why RowStatus is returning 5 in place of notReady. It's a bug. Please file a bug report. In the meantime, you can try creating the row all at once

ISSUE WITH SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable

2010-12-06 Thread Manjit
pt/servers/netsnmp/bin/snmptable -v 2c -c private 172.16.8.186 .1.3.6.1.6.3.13.1.3 SNMP table: SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable snmpNotifyFilterMask snmpNotifyFilterType snmpNotifyFilterStorageType snmpNotifyFilterRowStatus "abc" included

Re: Translating SNMPv1 Notification Parameters to SNMPv2 Notification Parameters is still not correct

2010-11-13 Thread Claus Klein
check this issue. >> see >> https://sourceforge.net/tracker/?func=detail&atid=312694&aid=3096725&group_id=12694 >> <https://sourceforge.net/tracker/?func=detail&atid=312694&aid=3096725&group_id=12694 >> >> > > > Hi Claus, > >

Re: Translating SNMPv1 Notification Parameters to SNMPv2 Notification Parameters is still not correct

2010-11-13 Thread Niels Baggesen
x it and integrate my tests scripts to check this issue. > see > https://sourceforge.net/tracker/?func=detail&atid=312694&aid=3096725&group_id=12694 > <https://sourceforge.net/tracker/?func=detail&atid=312694&aid=3096725&group_id=12694> Hi Claus, I think I ha

Translating SNMPv1 Notification Parameters to SNMPv2 Notification Parameters is still not correct

2010-11-10 Thread Claus Klein
Hi I am interesting in to use the NotificationLogMib, but it is still not correct filled for snmpV1 taps. According to the RFC, see http://rfc-ref.org/RFC-TEXTS/3584/chapter3.html#sub1 it should be like my diff Please fix it and integrate my tests scripts to check this issue. see https://sou

Re: Notification log mib issues

2010-10-25 Thread Claus Klein
the status of the notification log mib? The README.agent-mibs is not clear about this mib. I found that the nlmLogTable and the nlmLogVariableTable is only partly filled for V1 traps. I opened a BUG tracker for this, but there is no response? claus-kleins-macbook-pro:tmp clausklein$

Re: Notification log mib issues

2010-10-20 Thread Claus Klein
pdu(template_v2pdu); return 0; } On 19.10.2010, at 23:24, Claus Klein wrote: Hallo experts, What is the status of the notification log mib? The README.agent-mibs is not clear about this mib. I found that the nlmLogTable and the nlmLogVariableTable is only partly filled for V1 traps. I opened a BU

Notification log mib issues

2010-10-19 Thread Claus Klein
Hallo experts, What is the status of the notification log mib? The README.agent-mibs is not clear about this mib. I found that the nlmLogTable and the nlmLogVariableTable is only partly filled for V1 traps. I opened a BUG tracker for this, but there is no response? claus-kleins-macbook

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-26 Thread Bart Van Assche
On Mon, Apr 26, 2010 at 4:30 PM, Dave Shield wrote: > Attached is a version of your patch that seems to work for me. > If you're happy with this (and no-one else objects), we might > as well apply it, and move on to the next issue. > The patch seems fine to me, and I have verified that the V5.4 t

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-26 Thread Dave Shield
fig.h === --- win32/net-snmp/agent/mib_module_config.h (revision 18566) +++ win32/net-snmp/agent/mib_module_config.h (working copy) @@ -16,7 +16,11 @@ #define USING_NOTIFICATION_MODULE 1 /* Define if compiling with the notification-log-mib module files. */ +#ifdef HAVE_WIN32_PLATFORM_SDK +#d

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-24 Thread Bart Van Assche
On Sat, Apr 24, 2010 at 11:59 AM, Dave Shield wrote: > On 23 April 2010 20:03, Bart Van Assche wrote: > > Regarding the interactive build: HAVE_WIN32_PLATFORM_SDK has to be > > disabled manually before starting to build with MSVC 6 on a system where > > the platform SDK has not been installed (se

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-24 Thread Dave Shield
On 23 April 2010 20:03, Bart Van Assche wrote: > Regarding the interactive build: HAVE_WIN32_PLATFORM_SDK has to be > disabled manually before starting to build with MSVC 6 on a system where > the platform SDK has not been installed (see also README.win32). I'm really not convinced about this sta

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-23 Thread Bart Van Assche
On Fri, Apr 23, 2010 at 3:36 PM, Dave Shield wrote: > On 20 April 2010 17:37, Bart Van Assche wrote: > > The patch below reenables the notification log MIB, but only when > building > > with the Windows Platform SDK enabled. > > I've had a quick look at this patch

Re: CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-23 Thread Dave Shield
On 20 April 2010 17:37, Bart Van Assche wrote: > The patch below reenables the notification log MIB, but only when building > with the Windows Platform SDK enabled. I've had a quick look at this patch, and am currently trying out various builds with this applied. Tests so far seem

CFV - Win32 - Restore notification log MIB on the V5.4 branch

2010-04-20 Thread Bart Van Assche
As known the notification log MIB was disabled recently on the V5.4 branch because it triggered a build failure ( http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=18496). The patch below reenables the notification log MIB, but only when building with the Windows Platform

Re: notification

2010-02-22 Thread Robert Story
I didn't see a response to this old message, and I hope you solved the problem on your own. Just answering for the archives in case someone else ran into this same problem. On Fri, 9 Oct 2009 07:58:33 -0700 (PDT) nathan wrote: N> hi, N> I want to send some project-specific info from net-snmp clien

notification

2009-10-09 Thread nathan
hi, I want to send some project-specific info from net-snmp clients to the manager in a periodic fashion. Say, every seconds or so. How do I do that in the clients ? Notification is the only way to implement thator are there any other ways .? thanks

Re: sub agent Notification

2009-07-17 Thread Dave Shield
ceiver will receive a notification from this one "conglomerate agent". It doesn't know (or care) whether this originated from the master agent or a subagent. What's important is the information contained within the notification - the data that is being transmitted. If y

sub agent Notification

2009-07-16 Thread Zaryab M. Munir
Hi,   In my AgentX implementation each sub agent runs on a separate processor.  Is there any way in the AgentX protocol to add the information about the subagent (a community string, agent IP address) in the out going traps/notifications.   The trap originates in sub agent, is sent to master agen

Net-SNMP 5.4.2.1, NOTIFICATION-LOG-MIB and Win32

2009-03-17 Thread Bart Van Assche
Hello, Is there anyone who got NOTIFICATION-LOG-MIB support in snmptrapd working on Win32 ? Even after having fixed a few compile time and run-time errors, a MIB walk on OID 1.3.6.1.2.1.92 (notificationLogMIB) still returns zero varbinds. Any advice is welcome. The patch below fixes the

Re: How to use 'SNMP-NOTIFICATION-MIB' for trap & informs in net-snmp?

2008-12-01 Thread Wes Hardaker
>>>>> On Tue, 11 Nov 2008 03:47:40 -0600, "Dey, Rajnish" <[EMAIL PROTECTED]> >>>>> said: RD> Could anyone let me know, how could 'SNMP-NOTIFICATION-MIB' has been RD> used for trap or informs in net-SNMP? It can be u

How to use 'SNMP-NOTIFICATION-MIB' for trap & informs in net-snmp?

2008-11-12 Thread Dey, Rajnish
Hi All, Could anyone let me know, how could 'SNMP-NOTIFICATION-MIB' has been used for trap or informs in net-SNMP? Thanks in advance, Regards Rajnish Dey ADC Communication Inc. - This SF.Net email is sponso

Re: sending email notification for traps

2008-10-03 Thread Wes Hardaker
> On Fri, 26 Sep 2008 16:42:49 +0530, Vaibhav Limaye <[EMAIL PROTECTED]> > said: VL> But from that it is not much clear what to do exactly. Would you please VL> suggest proper steps to be done. VL> Waiting for your earliest reply. Try something like this in your snmptrapd.conf file: t

sending email notification for traps

2008-09-26 Thread Vaibhav Limaye
Dear Sir, Would you please suggest about how to send email trap notification through net-snmp. We got some material in net-snmp help regarding perl script. But from that it is not much clear what to do exactly. Would you please suggest proper steps to be done. Waiting for your earliest reply

RE: Where is the patch for [ net-snmp-Bugs-1758212 ]notification-log agent does not support all variable types

2008-04-15 Thread Emi Yanagi
Hi Maqnus, Thanks for your quick response. The patch seems didn't fix the following problem: Snmpwalk could NOT populate nlmLogVariableTimeTicksVal and nlmLogVariableOidVal, although using snmpget I can get these two objects. # snmpwalk localhost nlmLog NOTIFICATION-LOG-MIB::nlmLogTime

Re: Where is the patch for [ net-snmp-Bugs-1758212 ] notification-log agent does not support all variable types

2008-04-15 Thread Magnus Fromreide
patch would be http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-3-patches/net-snmp/agent/mibgroup/notification-log-mib/notification_log.c?r1=16759&r2=16758&view=patch&pathrev=16759 but it is important to notice that the patch might depend on other changes. 5.3.1 is r14

Where is the patch for [ net-snmp-Bugs-1758212 ] notification-log agent does not support all variable types

2008-04-15 Thread Emi Yanagi
Hi Dave, I am glad to know this bug was fixed, but I couldn't find the patch. Could you please point me where I can download the patch for 5.3.1. I am using Net-SNMP 5.3.1. Thanks for your support. Best regards, Emi

notification sending from inside agent

2008-04-09 Thread Suyash Pratap Singh
Hi I compiled snmpd version 5.4.1 with -with-mid-modules="examples/notification" option. Now this compiles fine and snmptrapd receives the coldstart trap from snmpd when I run it. However there are no other traps generated by snmpd. Kindly help m

Re: Notification filtering in NET-SNMP

2007-12-16 Thread Wes Hardaker
>>>>> "hm" == hussaini mukadam <[EMAIL PROTECTED]> writes: >> From the FAQ section , I came to know that latest NET-SNMP agent(5.4.1 hm> version) does not currently support notification log filtering. All hm> notifications are sent to all configur

Notification filtering in NET-SNMP

2007-11-19 Thread hussaini.mukadam
Hi >From the FAQ section , I came to know that latest NET-SNMP agent(5.4.1 version) does not currently support notification log filtering. All notifications are sent to all configured destinations. There is a preliminary implementation of the snmpNotifyFilterTable which is designed to al

Query on Notification filtering

2007-11-14 Thread hussaini.mukadam
Hi In our project, we are using Net-SNMP version 5.3.0.1 provided by Windriver Linux. There is a requirement to do notification filtering as per the RFC 2573n. I would like to know whether notification filtering is supported by NET-SNMP 5.3.0.1 version or any latest versions of NET

Re: NOTIFICATION-LOG-MIB status

2007-07-11 Thread Emi . Yanagi
Okay, I looked into notification_log.c code a little bit more and found nlmlogVariableTable is kind of implemented in 5.3.1, see the function log_notification(). But the problem is that it doesn't populate anything. The following is an example when nlmLogTable logged one notification, ho

NOTIFICATION-LOG-MIB status

2007-07-11 Thread Emi . Yanagi
Dear net-snmp-coders, It seems NOTIFICATION-LOG-MIB in 5.3.1 is only partially implemented. That is, only nlmLogTime and nlmLogDateAndTime are supported. The rest of nlmLogTable objects as well as other tables: nlmConfigLogTable nlmStatsLogTable nlmLogVariableTable are not

Re: snmpd leaks memory when notification sent via AgentX

2007-06-04 Thread Robert Story
On Mon, 04 Jun 2007 17:42:55 +0200 Thomas wrote: TA> snmptrapd.conf(5) admittedly doesn't mention the number (1000), but it TA> *does* mention doNotRetainNotificationLogs, at least in SVN and 5.4.1.pre1. That's what I said. The problem is, _snmpd_ needs the same references.. -

Re: snmpd leaks memory when notification sent via AgentX

2007-06-04 Thread Thomas Anders
d.conf man pages talk about > the notification log mib, neither of the snmpd man pages mention it, or the > dontRetainLogs/doNotRetainNotificationLogs settings that will disable this > functionality... snmptrapd.conf(5) admittedly doesn't mention the number (1000), but it *does* ment

Re: snmpd leaks memory when notification sent via AgentX

2007-06-04 Thread Robert Story
On Fri, 1 Jun 2007 11:50:05 -0700 Navaneetham wrote: N>You are right. After 1000 traps I am not seeing any memory leaks. Is N> there any document where I can get this kind of informations? Not at the moment. While the snmptrapd and snmptrapd.conf man pages talk about the notification l

  1   2   >