Trap implementation

2018-04-06 Thread Deepak Sachan
Hi
i have generated two .c files using mib2c.scaler and mib2c.notify for
scaler and trap object.
can we combined these two file in one file??
Is there any application which can generate sigle file

Thanks
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


SNMPv3 Trap implementation

2011-04-29 Thread sunaina mangla
Hi,

I am implementing unplanned reboot SNMPv3 trap. I have defined in the MIB file.

echSnmpTraps  OBJECT IDENTIFIER ::= { enterprise 2 }

unplannedReboot NOTIFICATION-TYPE
OBJECTS   { echTrapSeverity, echTrapStatus,echTrapResetCause }
STATUS   current
DESCRIPTION
The SNMP trap that is generated when unplanned reboot happens.
::= { echSnmpTraps 1 }

In this Trap, I am sending 3 data: Severtity ,status (raise or clear)
and  reset cause.

My question is :

1. Do I need to define echTrapSeverity,echTrapStatus and
echTrapResetCause  also in MIB file and assigned them OIDs. Because
otherwise I will get unknown object identifier label
`echTrapSeverity' error. ?
2. As trigger of this trap is coming from other process to snmp, how
can I implment this ?
3. I am using SNMPv3, so what are the things which I need to put into
consideration while developing it.
4. What configuraion entry need to put in snmpd.conf to support snmpv3 trap ?

Thanks in advance.


Regards,
Sunaina

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Trap Implementation Idea????

2004-07-30 Thread s sayeed
Hi 

I have just gone through the trap tutorial and the
notification example for trap. I could get trap
successfully from snmpd.

Now I need to design some traps that would be
triggered when an event has occurred somewhere outside
the agent. To be more specific, my agent is running on
a Linux box. I have PCI card on that box that runs a
task from a processor. Within the scope of this task I
need a trap to be generated once certain event has
occurred. 

Previously we used SNMP research agent with our
windows platform. We used to directly call
DoV2cTrapToDest() or kind of trap2send from our code
with the help of an agent library.

What could be the possibility for net-snmp to
communicate with the other task and generate an event
instantly?

Thanks,

Sabina



__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users