Re: Sending snmp traps to a broadcast ip

2014-04-22 Thread Niels Baggesen
Den 25-03-2014 02:41, oscar sumano skrev:
> I’m trying to send out snmp to a broadcast ip but i get the following
> error message.
>
> snmptrap: Failure in sendto (Permission denied)

You probably need to be root to send to a broadcast address.

> snmptrap -v 2c -c public 192.168.2.255  "" IF-MIB::linkUp
> .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifOperStatus.1 i 1

This may or may not work. SNMP is not supposed to be used with broadcast

/Niels

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

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Sending snmp traps to a broadcast ip

2014-04-08 Thread oscar sumano
Hi,

I’m trying to send out snmp to a broadcast ip but i get the following error 
message. 

snmptrap: Failure in sendto (Permission denied)


snmptrap -v 2c -c public 192.168.2.255  "" IF-MIB::linkUp  
.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifOperStatus.1 i 1


My environment is all Centos 6.4.


Any guidance on this would be great. 

Thanks,

-oscar--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders