[Nagiosplug-devel] Plugin guideline suggestion

Voon, Ton Ton.Voon at egg.com
Tue Jan 18 00:25:32 UTC 2005


Jason,

While I think this suggestion has merit, we usually use check_xxx --version
to grab the version number (which also displays the release version too). Is
there a specific reason you want the what identifiers?

Ton

-----Original Message-----
From: Jason Martin [mailto:jhmartin at toger.us] 
Sent: 17 January 2005 18:39
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] Plugin guideline suggestion


Might I suggest that the plugin guidelines be amended to suggest that the
what/ident identifiers be included in the source code? 

For compiled binaries the standard is usually to create a string constant
with the contents 
@(#)$Header$ 
with CVS expanding Header. Interpreted scripts can just put that string in
the comment field somewhere.

Doing so will make gathering the version information for a set of installed
plugins easier.

Thanks,
-Jason Martin
-- 
Strike any user when ready.
This message is PGP/MIME signed.

-----------------------------------------
Egg is a trading name of the Egg group of companies which includes: Egg plc
(reg no 2448340), Egg Financial Products ltd (reg no 3319027), Egg
International ltd (reg no 4059266), Egg Financial Intermediation ltd (reg
no 382828), Egg Investments ltd (reg no 3403963) and Egg Banking plc (reg
no 2999842.  Egg Investments Ltd, Egg Banking plc and Egg Financial
Intermediation Ltd are authorised and regulated by the Financial Services
Authority (FSA) and are entered in the FSA register under numbers 190518,
205621 and 309551 respectively. These members of the Egg group are
registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.    This e-mail is confidential and for
use by the addressee only.  If you are not the intended recipient of this
e-mail and have received it in error, please return the message to the
sender by replying to it and then delete it from your mailbox.  Internet
e-mails are not necessarily secure. The Egg group of companies do not
accept responsibility for changes made to this message after it was sent.
Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by the Egg group of companies in this regard and the recipient
should carry out such virus and other checks as it considers appropriate.
This communication does not create or modify any contract.





More information about the Nagiosplugin-devel mailing list