check loadballancer hosts

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kirillnud
Posts: 2
Joined: Sun Jun 17, 2012 12:55 pm

check loadballancer hosts

Post by kirillnud »

pls help me? I should to check hosts behinde loadballancer 1 ip some dif ports i get information from ip port xxxx command if i run from libexec. how to add port numbers to hosts.cfg and run check from services.cfg on all hostgroup by changing only port numbers???
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: check loadballancer hosts

Post by agriffin »

You'll probably need to define custom variables in your host definitions and pass them as a macro to your host and service checks.
Locked