<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.16982" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0 
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri>Bonjour, je m'intéresse à l'utilisation de Nagios. En 
fait je rencontre ds problèmes avec l'utilisation de NRPE.</FONT></DIV>
<DIV><FONT face=Calibri>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/<EM>nomdufichier.</EM></FONT></DIV>
<DIV><FONT face=Calibri>J'arrive à monitorer CPU, Nombre de User, Preocesses 
mais je n'arrive pas à regarder la capacité mémoire et la swap</FONT></DIV>
<DIV><FONT face=Calibri>Or dans mon fichier nrpe.cfg situé dans 
/usr/local/nagios/etc j'ai bien créer la commande ainsi:</FONT></DIV>
<DIV><FONT 
face=Calibri>command[check_sda2]=/usr/local/nagios/etc/libexec/check_disk -w 20 
-c 10 -p /dev/sda2</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Mais nagios m'écris l'erreur suivante: NRPE:Command 
'check_sda2' not defined </FONT></DIV>
<DIV><FONT face=Calibri>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.</FONT></DIV>
<DIV><FONT face=Calibri>Que faire s'il vous plaît?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Merci!</FONT></DIV></BODY></HTML>