This is an old revision of the document!
it is possible to send more than one variable in a check. Simply seperated your variable definitions by a pipe symbol (do not use spaces). Here is an example output of a check sending three performance values:
0 Nagios_Status ok=33012|crit=17|warn=120|unkw=16 Services ok/cr/wa/un: 33012/17/120/16
Pour générer des graphs dans nagios à partir d'un script NRPE, il suffit de structurer l'output comme suit :
echo "OK: Memory 75% | memory=75%"
Cela affichera : “OK : Memory 75%” et ca passera la variable “memory” avec sa valeur dans nagios“
Syntaxe avec plusieurs valeurs :
echo “OK - memory = $memory%, paging = $paging%|memory=$memory,paging=$paging”