Re: Net SNMP Trap

2016-02-23 Thread Niels Baggesen
Den 23-02-2016 kl. 13:37 skrev Anivesh Pandeya:
> 
>   How to generate a automated trap for linkup and linkdown for
>   snmpv2c?? 
> 
> OS : RHEL4 Thin Client
> SNMP : NET-SNMP- 5.1.2

Any good reason for being stuck with such an outsated system?

> SNMPv3 is not implemented.

Implemented or compiled in?

You need SNMPv3 support in the agent to do that. Then read up on
linkUpDownNotifications in snmpd.conf

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: error running make on mac osx 10.11.3 - hardware/memory/memory_freebsd.c:12:10: fatal error: 'kvm.h' file not found

2016-02-23 Thread Niels Baggesen
Den 15-02-2016 kl. 20:55 skrev Dave Karokkae:
> 
> Hi,
> I was hoping an expert here can help me in the right direction, either a
> configure flag to avoid kvh, or a fix in the code ?
> 
> BACKGROUND:
> 
> I was able to configure using these flags:
> # ./configure --with-persistent-directory=/var/db/net-snmp \
> --with-defaults \
> --without-rpm \
> --with-mib-modules="host ucd-snmp/diskio" \
> --with-out-mib-modules="mibII/icmp host/hr_swrun" \
> --without-kmem-usage

Any reason you are not using 5.7.3? There were a number of fixes for
Darwin in that release. It might even allow you to drop those
--with-out-mib-modules options :-)

/Niels


-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Net SNMP Trap

2016-02-23 Thread Anivesh Pandeya
How to generate a automated trap for linkup and linkdown for snmpv2c??


OS : RHEL4 Thin Client
SNMP : NET-SNMP- 5.1.2

SNMPv3 is not implemented.

I want to monitor the system for traps in case of link up and link down.

What is the configurations i need to add in the snmpd.conf files??

I have already added the line

trap2sink IP-Address Community_String
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders