Check_ntp

Marc Powell marc at ena.com
Thu Mar 23 16:14:16 CET 2006


Look around line 66 in the plugin and verify that it looks something like --

use lib "/usr/local/nagios/libexec" ;
use utils qw($TIMEOUT %ERRORS &print_revision &support);

--
Marc

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Marco Borsani
> Sent: Thursday, March 23, 2006 3:02 AM
> To: 'Bill Jacqmein'
> Cc: 'NAGIOS'
> Subject: R: [Nagios-users] Check_ntp
> 
> I also tested plugins 1.4.2, but I received same error message
> 
> Marco
> 
> -}-----Messaggio originale-----
> -}Da: Bill Jacqmein [mailto:wrjacqmein at gmail.com]
> -}Inviato: mercoledì 22 marzo 2006 17.34
> -}A: Marco Borsani
> -}Cc: NAGIOS
> -}Oggetto: Re: [Nagios-users] Check_ntp
> -}
> -}upgrade to the latest version of the plugins at
> -}http://nagiosplug.sourceforge.net/
> -}barring that
> -}check that utils.pm is in the libexec directory.
> -}
> -}
> -}On 3/22/06, Marco Borsani <m.borsani at it.net> wrote:
> -}> Hi all !
> -}>
> -}> I'd to use check_ntp, but when I "try" to running it , I obtain:
> -}> # ./check_ntp
> -}> "use" not allowed in expression at ./check_ntp line 66, at
> -}end of line
> -}> syntax error at ./check_ntp line 66, near "libexec use utils "
> -}> Execution of ./check_ntp aborted due to compilation errors.
> -}>
> -}> I don't know perl  :-(
> -}>
> -}> I am using plugins 1.3.1 and Nagios 1.3 (on a HP-UX 11.00 system).
> -}>
> -}> Regards
> -}>
> -}> Marco Borsani
> -}> Unix & Monitoring System Administrator Technical Operation
> -}> Tel.    +39 010 4310115
> -}> Fax     +39 010 4327454
> -}> E-mail: m.borsani at IT.net
> -}>
> -}> ITnet S.r.l. - Direzione e Coordinamento di WIND
> -}Telecomunicazioni S.p.A.
> -}> Internet Service Provider
> -}> Sede legale:                     Via C.G.Viola, 48 - 00148 Roma
> -}> Dir. Centrale e Amministrativa:         Via Pacinotti, 39
> -}>                                      16151 Genova (Italy)
> -}>
> -}> http://www.it.net
> -}> mailto:info at IT.net
> -}> _______________________________________________________________
> -}> Altre sedi ITnet:
> -}> MILANO tel.: +39 02 30114900    info-milano at IT.net
> -}> ROMA    tel.: +39 06 83116707    info-roma at IT.net
> -}> _______________________________________________________________
> -}> ITnet is associated to CIX (Commercial IP eXchange) and
> -}RIPE ITnet is
> -}> associated to AIIP (Associazione Italiana Internet Providers)
> -}>
> -}>
> -}>
> -}>
> -}> -------------------------------------------------------
> -}> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> -}> language that extends applications into web and mobile
> -}media. Attend
> -}> the live webcast and join the prime developer group
> -}breaking into this new coding territory!
> -}>
> -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216
> -}> 42 _______________________________________________
> -}> 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
> -}>
> -}
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> 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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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