How to pass an argument to ..

Marc Powell marc at ena.com
Fri Feb 9 15:33:07 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Marco Borsani
> Sent: Friday, February 09, 2007 2:00 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] How to pass an argument to ..
> 
> Hi !
> 
> 
> 
> I run Nagios Server 1.4, Nagios Plug-in 1.4.1
> 
> 
> 
> I need to pass an argument of the command to the notification systems,
for
> example the TCP port of the check_tcp.
> 
> 
> 
> Is this a way to do it ?

It's not directly possible yet that I know of; possibly when user
customizable macros are available in 3.0. In cases such as these I just
include the extra information in the service_description and parse it
from there.

--
Marc 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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