checks in different directories
Marc Powell
marc at ena.com
Sat Jun 19 17:06:58 CEST 2004
Or, since you're limited to only 30 $USERx$ macros, simply use the full path to the command in your command definition.
--
Marc
p.s. Please try to post to the list in plain text format. Not only does it make responding in context easier, more people will see your email and be able to respond.
________________________________________
From: Cook, Garry [mailto:GWCOOK at mactec.com]
Sent: Friday, June 18, 2004 9:46 PM
To: Marcos & Marcelo; nagios_list
Subject: RE: [Nagios-users] checks in different directories
Sure, you can do that. But your checkcommands config needs to know where to find the plugins. You'll probably want to edit your resource.cfg file, and assign the new paths to $USERn$ macros, and then use these in checkcommands.cfg in place of $USER1$.
-g
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net on behalf of Marcos & Marcelo
Sent: Fri 6/18/2004 7:12 PM
To: nagios_list
Cc:
Subject: [Nagios-users] checks in different directories
Hi Folks,
I would like to know if all of check needs to be placed in the same directory /usr/local/nagios/libexec.
Could I put different kinds of check in different directories , i.e check_memory in /usr/local/nagios/libexec/memory, check_cpu in /usr/local/nagios/libexec/cpu?
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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