[Nagiosplug-help] Problems with check_rpc (nagios-plugins 1.3.1) 1.7
Karl DeBisschop
karl at debisschop.net
Fri Aug 8 16:11:05 CEST 2003
On Fri, 2003-08-08 at 10:39, Subhendu Ghosh wrote:
> What locale setting are your running with? It looks like rpcinfo has the
> correct output but may have other characters due to locale setting and
> that causes the parser to fail.
So this would be a bug for us - still don't know that it affects C
programs, but clearly does affect perl - and would also affect sh-based
plugins.
We should explicitly set locale to C in a number of these when the
external call is made, I think.
--
Karl
> -sg
>
> On Fri, 8 Aug 2003 ecejgv at eresmas.com wrote:
>
> >
> > Hi:
> >
> > I have executed the command with -v and the answer is:
> >
> > [root at futurespace libexec]# ./check_rpc -H localhost -C nfs -p2049 -c2,3 -v
> > Checking nfs version 2 proto u
> > /usr/sbin/rpcinfo -n 2049 -u localhost 100003 2 2>&1 |
> > the program 100003 version 2 is ready and waiting
> > Checking nfs version 3 proto u
> > /usr/sbin/rpcinfo -n 2049 -u localhost 100003 3 2>&1 |
> > the program 100003 version 3 is ready and waiting
> > UNKNOWN: RPC program nfs udp is not running
> >
> > I have also executed a debuger in perl (perl -d check_rpc -H localhost -C nfs -p2049 -c2,3. I enclose it in the
> > file.
> >
> > The best regards and thanks in advance, Javier.
> >
> >
> >
> >
> >
> >
> >
> >
> > ----- Mensaje Original -----
> > Remitente: Subhendu Ghosh sghosh at sghosh.org
> > Destinatario: ecejgv at eresmas.com
> > Fecha: Viernes, Agosto 8, 2003 5:03am
> > Asunto: Re: [Nagiosplug-help] Problems with check_rpc (nagios-plugins 1.3.1) 1.7
> >
> > >
> > >Can you run the program with the verbose option (-v)
> > >
> > >My results: (RH 7.2)
> > >[sghosh at calcutta plugins-scripts]$ ./check_rpc -H localhost -C
> > >nfs -p
> > >2049 -c2,3
> > >OK: RPC program nfs version 2 version 3 udp running
> > >
> > >-sg
> > >
> > >
> > >On Thu, 7 Aug 2003 ecejgv at eresmas.com wrote:
> > >
> > >>
> > >> Hi:
> > >>
> > >> I contact you because I have a problem with the script check_rpc
> > >version 1.7 (nagios-plugins 1.3.1).
> > >>
> > >> I have a machine (futurespace) with Linux RedHat 8.0 and with a
> > >NFS server started.
> > >>
> > >> (RPC program=nfs, port=2049, versions=2,3, protocol=udp).
> > >>
> > >> I want to check if the NFS server is running. For that I execute
> > >a check_rpc -H futurespace -C nfs -p 2049 -c2,3
> > >> but the answer is "UNKNOWN: RPC program nfs udp is not running".
> > >>
> > >> Really the NFS server is running in my machine but the plugin
> > >check_rpc doesn't find
> > >>
> > >> it. How can I solve this problem???
> > >>
> > >> Moreover I have tried the NIS server (RPC program = ypserv) but
> > >it hasn't worked either. I get the same error
> > >> message.
> > >>
> > >> I enclose a log with these testings.
> > >>
> > >> The best regards and thanks in advance for your attention, Javier.
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >
> > >--
> > >
> > >
> >
> >
> >
> >
More information about the Help
mailing list