cricket- netsaint and service passive check

"Benoit Moeremans" <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <009001c27f87$ee078d20$0900000a@daffy>
HelpHello 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.