Another check_snmp question.
Subhendu Ghosh
sghosh at sghosh.org
Thu Oct 17 16:35:09 CEST 2002
On Thu, 17 Oct 2002, Stefan Hanssen wrote:
> I get the following error trying to run check_snmp
>
> [nagios at monitor libexec]$ ./check_snmp --?
> ./check_snmp: /bin: is a directory
> ./check_snmp: check_breeze: command not found
> ./check_snmp: check_breeze: command not found
> ./check_snmp: check_breeze: command not found
> ./check_snmp: check_breeze: command not found
> ./check_snmp: check_breeze: command not found
> ./check_snmp: line 7: syntax error near unexpected token `(c'
> ./check_snmp: line 7: ` * Copyright (c) 1999 Ethan Galstad (nagios at nagios.org)'
> [nagios at monitor libexec]$
>
>
> I have verified i have check_breeze, and i also have ucd-snmp installed.
> ucd-snmp-4.2.4-3
> ucd-snmp-utils-4.2.4-3
>
> I get this error trying to run check_breeze
>
> [nagios at monitor libexec]$ ./check_breeze
> Global symbol "$opt_C" requires explicit package name at ./check_breeze line 26.
> Global symbol "$opt_C" requires explicit package name at ./check_breeze line 26.
> Global symbol "$opt_C" requires explicit package name at ./check_breeze line 47.
> Global symbol "$opt_C" requires explicit package name at ./check_breeze line 47.
> Global symbol "$opt_C" requires explicit package name at ./check_breeze line 50.
> Execution of ./check_breeze aborted due to compilation errors.
> [nagios at monitor libexec]$
>
>
> Anyone got a clue as to what i have done wrong ?
>
> Regards
>
> Stefan Hanssen
>
Looks like a misconfiguation or files being mangled.
check_breeze is a perl script and check_snmp is compiled C program.
There are no links between the two.
They both make use of snmpget from the ucd-snmp/net-snmp rpms
--
-sg
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
More information about the Users
mailing list