nrpe configuration help

shadih rahman shadhin71 at gmail.com
Mon Jun 7 15:38:22 CEST 2010


All,
   I need some suggestion for nrpe configuration.  I have 3 different kind
of architecture in my setup.  I have 32 bit linux machine (plugins installed
at /usr/lib/nagios/plugins directory) , 64 bit linux machine (plugins
installed /usr/lib64/nagios/plugins directory), solaris machine (plugins
installed at /opt/libexec directory)

   In my nrpe.conf file I would three definitions like below

   [check_something]=/usr/lib/nagios/plugins/check_something
   [check_something_x64]= /usr/lib64/nagios/plugins/check_something
   [cehck_something_unix]=/opt/libexec/check_somthing


 in my service definition, I would name them differently and call the
command file,  for example I would have a check disk, disk_x64, disk_unix.
In commands.cfg file I would call them like

command_name check_remote
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$



However, now new requirements came in, where disk, disk_x64, disk_unix must
have same service name.  I need to find a clever way define service disk and
call different nrpe command based on architecture.   Can someone please help
me with this.  Thanks


-- 
Cordially,
Shadhin Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100607/03eae62c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-------------- next part --------------
_______________________________________________
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