[Nagiosplug-help] plugin coding help

Jasmine jasmine.chua at securecirt.com
Sat Mar 8 14:18:04 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys,

Wonder if anyone can help me with some plugin coding. I am trying to write my 
own plugin in perl which involves using 
exec ("lynx -dump -head http://xxxxxxxxx.html");
print echo "OK: Can connect to site!\n";
exit $ERRORS{'OK'};

But, it doesnt get to print out the OK statement. How can I get it to return 
an Ok status after accessing with lynx? Any idea? 
- -- 
Jasmine Chua
Security Engineer

SecureCiRT Pte Ltd
Blk 750C Chai Chee Road
#04-01 Technopark at ChaiChee
Singapore 469003
Tel: 6243 6800 DID: 6243 6802
Fax: 6441 5119
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+amvNNgvTa7Hj2AURAoWDAJ4qnAIrEwEcEbtZDVKMp7hpHRQZTgCgp3wU
Pbv+5gM7ryYFN6uxe2MCnvE=
=ZPec
-----END PGP SIGNATURE-----





More information about the Help mailing list