How to use the "use" statement

Marc Powell marc at ena.com
Tue Jan 9 22:54:57 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Saulo Silva
> Sent: Tuesday, January 09, 2007 3:24 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] How to use the "use" statement
> 
> Hi all ,
> 
> I am installed I Nagios in a Suse 10 box And have a question.
> 
> How I can use the "use" statement when I am writing a service
definition
> based in templates .
[chop]
> 
> 
> 
> So that is the simple question . One of this kind of construction
works ?
> I test with nagios -v  in version 1.2 ( SUSE 9 ) no error , in nagios
1.3
> ( Suse 10 ) I had error . Or should I create just one template for
each
> different kind of check and copy all other information ?

Does this documentation answer your questions? -- 

<http://nagios.sourceforge.net/docs/1_0/templaterecursion.html>

You're probably looking for Inheritance Chaining.

--
Marc

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