[Nagiosplug-devel] check_load arg parsing bugfix and cleanup

Subhendu Ghosh sghosh at sghosh.org
Fri May 27 21:44:01 CEST 2005


On Sat, 28 May 2005, Andreas Ericsson wrote:

<snip>
>
> You can run any command really, but paths aren't understood and it's fairly 
> nice to see that dynamic memory allocation works nicely. I'm particularly 
> fond of the array size calculation which wastes a minimum of memory while 
> making calculations simple and does a maximum of 5 realloc()'s for any 
> average input strlen(). Look for --rsf and you'll see what I mean.
>
> It should work well with running snmpget/snmpwalk from a plugin until time 
> and energy has been found to make use of the net-snmp library.
>
>

I have started on the framework for the check_net-snmp to mirror 
check_snmp but use the libs instead of apps.  Should have an alpha in CVS 
over the long weekend (in the US that is)

Once that's working, adding additional snmp checks in C should get easier.

--
-sg




More information about the Devel mailing list