je repond a moi meme :
./check_snmp_process.pl
autant pour moi :roll:
Announcement
Collapse
No announcement yet.
check graph process
Collapse
X
-
hello ttlm,
je cherche checker le nb de process sur une machine.
le check_graph_process marche bien ais j'aurai voulu pouvoir mettre en place un systeme de warning. A priori celui ci le fait pas.
De plus ou peux-t-on trouver le script de manubulon? =)
merci
Leave a comment:
-
le -n permet d'afficher le nombre de process qui tournent :
Code:Processes OK - Number of current processes: 517
Code:Process OK - imapd: runnable
Leave a comment:
-
merci mais ...
J ai bien comprit que derreir -p je met le nom de mon service ( ici ima pour le service citrix )
mais ma question est :
a quoi sert le -n
merci quand meme
Leave a comment:
-
il faut que tu donnes l'intitulé exact de ton process, ici je suppose que tu parles du process imapd
Leave a comment:
-
lol pas mal comme résultat.
Il y a celui de manubulon qui est trés bien mais il n'est pas check_graph :wink:
Leave a comment:
-
check graph process
J ai un service IMA ( citrix qui tourne sur un serveur windows )
je souhaite savoir si il est Démarrer !
A quoi correspond le -n
Merci
check_graph_process
-H (--hostname) Hostname to query - (required)
-C (--community) SNMP read community (defaults to public,
used with SNMP v1 and v2c
-v (--snmp_version) 1 for SNMP v1 (default)
2 for SNMP v2c
-g (--rrdgraph) create à rrd base and add datas into this one
--rrd_step Specifies the base interval in seconds with which data will be fed into the RRD (300 by default)
-D (--directory) Path to rrdatabase (or create the .rrd in this directory)
by default: /usr/local/oreon/rrd/
(The path is valid with spaces '/my path/...')
-n (--number) Return the number of current running processes.
-p (--process) Set the process name ex: by default smbd
-S (--ServiceId) Oreon Service Id
-V (--version) Plugin version
-h (--help) usage help
-f Perfparse Compatible
NagiosOreon:/usr/local/nagios/libexec# ./check_graph_process.pl -H 192.168.0.31 -C public -v 1 -n -p ima
Processes OK - Number of current processes: 0Tags: None
Leave a comment: