[Nagiosplug-help] check_http problems
Thomas Sluyter
nagios at kilala.nl
Thu Nov 23 20:49:36 CET 2006
On 23 Nov, 2006, at 11:24, saraj.a.mohammed at servicebirmingham.co.uk
wrote:
> id have to admit straight away that im not proficcient with nagios,
> but im learning....
> with that said do i need to add a seperate command in the
> checkcommands.cfg ?
> or update the existing config line?
It'd be a good idea to create a separate command definition for this
specific website that contains the full command that you want to run.
This, because it contains a lot of info that is specific to this one
check. Just give it an appropriate name and simply call that name in
the service check defintion. No need to pass it any arguments after
that.
So your command def would reference to the full command. And your
service check would simply call that command def by its name. Nothing
more.
Cheers!
Thomas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list