New check_snmp in CVS

Subhendu Ghosh sghosh at sghosh.org
Mon Jul 25 20:26:59 CEST 2005


On Mon, 25 Jul 2005, Andrew Cruse wrote:

> Has anyone tried compiling any of the last few revisions of check_snmp
> that are in CVS?  I need SNMP v2c support which the last few seem to
> offer but can't seem to get any of them to compile:
>
> /include -I/usr/kerberos/include  -g -O2 -MT check_snmp.o -MD -MP -MF
> ".deps/check_snmp.Tpo" -c -o check_snmp.o check_snmp.c; \
> then mv -f ".deps/check_snmp.Tpo" ".deps/check_snmp.Po"; else rm -f
> ".deps/check_snmp.Tpo"; exit 1; fi
> check_snmp.c: In function `main':
> check_snmp.c:329: parse error before `char'
> check_snmp.c:330: `str' undeclared (first use in this function)
> check_snmp.c:330: (Each undeclared identifier is reported only once
> check_snmp.c:330: for each function it appears in.)
> make[2]: *** [check_snmp.o] Error 1
> make[2]: Leaving directory `/root/nagios-plugins-1.4/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/nagios-plugins-1.4'
> make: *** [all] Error 2
>
> Any ideas?
>
> Thanks,
>
> Andrew
>
>

What version of net-snmp are you using?  I had it working with 5.1.2.

-- 
-sg


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list