RE: cricket- netsaint and service passive check

Ludo Bosmans <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Benoit,
 
You need to include also the text "PROCESS_CHECK_RESULT" as inicated in the
submit_check_result script and that is missing.
 
cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4"
 
kind regards,
 
ludo
 


-----Original Message-----

From: Benoit Moeremans [mailto:[email protected]]
Sent: dinsdag 29 oktober 2002 21:16
To: [email protected]
Subject: [netsaint] cricket- netsaint and service passive check


Hello all,
I installed cricket and netsaint. I want to see in netsaint the events of
crickets, so crickets with a threshold) send a trap, wich is received by the
snmptrapd and run a script. Everything works fine at this step.
The script writes in the external command file of netsaint with this format:
 
[1035922004] cricket;ifInOctets;2;Threshold critical: <a
href=http://212.100.177.194/cricket/grapher.cgi?target=/bandwith/sdsl</A>
 
So for me the format is correct.
 
In the hosts.cfg, i put:
 
service[cricket]=ifInoctets;1;none;1;1;1;router-admins;120;24x7;1;1;1;;check
_ping
host[cricket]=Cricket;127.0.0.1;;check-host-alive;20;60;24x7;1;1;1;
 
Everything for the external command in entsaint.cfg seems correct.. and
however i still see on netsaint the host cricket with "pending"
 
Any ideas are the welcome.
 
Thnx in advance,
Benoit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.