how to string commands?

Morris, Patrick patrick.morris at hp.com
Fri Jul 28 05:29:00 CEST 2006


> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of nagios
> Sent: Thursday, July 27, 2006 8:26 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] how to string commands?
> 
> Hello,
> 
> I am defining a template for my linux machines. I'd like the 
> check_command for that template to have it check ping, local 
> drive, pop, httpd, etc.... How can I string them together? 
> Would something like this
> work:
> 
> check_command check-host-alive; check-pop; etc..
> 
> or do I need to use commas or is this completely illegal?

It won't work.  Each check commad can only have one result.

-------------------------------------------------------------------------
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