function of SNMP trap feature?

Forum over de Homeseer IPPower plugin van Rene Klootwijk (DUTCH forum)

Moderator: Rene

function of SNMP trap feature?

Postby RickyEM » Sat Mar 20, 2010 3:18 pm

I am a bit of a novice at networking etc but am enjoying your plugin which allows me to turn on and off a generator and wells at a remote solar powered ranch here in Arizona. I have one of the ippower sensors responding to the AC of the generator to tell me if it is on or not.

My question is what is the function of SNMP trap feature? I am not clear on what I could use it for.

Thanks
RickyEM
Starting Member
Starting Member
 
Posts: 10
Joined: March 2010

Re: function of SNMP trap feature?

Postby t006 » Sun May 02, 2010 3:12 pm

There are two ways to use snmp.

1. Polling
Normally you poll a device or whatever every X minutes (snmpget/snmpwalk etc).

2. Traps.
You can also let the device send traps to the agent. Normally this is faster but unreliable because it is udp. You never know if the traps are received or not. But it is faster than polling.
Yes I know, with polling it is also udp but than the agent knows that there is no reply in case of troubles.
t006
Starting Member
Starting Member
 
Posts: 26
Joined: October 2008
Location: Netherlands

Re: function of SNMP trap feature?

Postby Rene » Sun May 02, 2010 3:53 pm

Polling the IPPower is not based on SNMP, so not using UDP (just for the record). Polling the IPPower might result in missing status changes of an input port if this status only last a shorter period than the poll interval. For instance, when the poll interval is 30 seconds and the event occurring only sets an input port to 1 for 5 seconds, you would miss this event. When SNMP traps are used, this event would have send a trap to the plugin. In your case where you are monitoring the status of the AC, which is on for a longer period I guess, polling works just fine.
Rene.
User avatar
Rene
Global Moderator
Global Moderator
 
Posts: 1689
Joined: October 2008
Location: Netherlands


Return to Homeseer IPPower Plugin Forum

Who is online

Users browsing this forum: No registered users and 1 guest