[Nagiosplug-devel] NRPE

Christine chroll13 at hotmail.com
Thu Oct 7 12:15:13 CEST 2010


it marks NRPE:Command check_sad2 not defined

--------------------------------------------------
From: "Olivier 'Babar' Raginel" <nagios at babar.us>
Sent: Thursday, October 07, 2010 12:03 PM
To: <nagiosplug-devel at lists.sourceforge.net>
Subject: Re: [Nagiosplug-devel] NRPE

> On Thu, Oct 07, 2010 at 11:59:04AM +0200, Christine wrote:
>> Bonjour, je m'intéresse à l'utilisation de Nagios. En fait je rencontre
>> ds problèmes avec l'utilisation de NRPE.
>
> First, this mailing list is in English, so most people won't be able to
> help you if you ask in French.
>
>> Je vous explique j'ai crée un fichier que j'ai stocké dans
>> /usr/local/nagios/objects et je l'appelle dans le fichier de
>> configuration de Nagios ainsi
>> cfg_file=/usr/loca/nagios/etc/objects/nomdufichier.
>>
>> J'arrive à monitorer CPU, Nombre de User, Preocesses mais je n'arrive
>> pas à regarder la capacité mémoire et la swap
>>
>> Or dans mon fichier nrpe.cfg situé dans /usr/local/nagios/etc j'ai bien
>> créer la commande ainsi:
>>
>> command[check_sda2]=/usr/local/nagios/etc/libexec/check_disk -w 20 -c
>> 10 -p /dev/sda2
>>
>> Mais nagios m'écris l'erreur suivante: NRPE:Command 'check_sda2' not
>> defined
>>
>> Il semblerait que je n'ai pas dégini de variable; or je croyait que
>> c'est dans mon fichier nrpe.cfg que je la créeait.
>>
>> Que faire s'il vous plaît?
>
> Have you restarted the nrpe daemon after modifying its configuration?
> What happens when you try it yourself using something along the lines
> of:
> /path/to/check_nrpe -H yourHost -c check_sda2
>
> If this doesn't work, then most likely your NRPE daemon isn't configured
> properly, or hasn't taken your modifications into account.
>
> HTH,
>
> -- 
> Babar.
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________________
> Nagios Plugin Development Mailing List 
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at 
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
> 




More information about the Devel mailing list