[Nagiosplug-devel] Releasing several files in a plugin?
Andreas Ericsson
ae at op5.se
Wed Feb 2 05:38:07 CET 2005
Jolly Frederic wrote:
> On Tuesday 01 February 2005 10:54, Andreas Ericsson wrote:
>
>>Jolly Frederic wrote:
>>
>>>Hello,
>>>
>>>So far as I've seen, a plugin is made with only one file, for example the
>>>.pl if it is in Perl.
>>>Is it possible, and interesting, to add other files in the release: a
>>>.txt file to describe it (or is the --help option enough?), a .html to
>>>display MRTG graphs, ... ?
>>
>>The --help option should be enough.
>
>
> OK, thank you.
>
> But my plugin returns some performance data. I want them to be displayed in an
> MRTG graph.
> So where do I release the MRTG configuration file?
>
In contrib and call it <plugin_name>.mrtg-conf, or with the MRTG
project, or...
I'm sure you get the idea.
> And what about the definition of the perfdata file in the Nagios conf? Do I
> just explain this in comments in the beginning of the plugin?
>
Or in a special --mrtg-help option, or wherever you want. Put something
on the web if you like. I'm sure you'll think of something.
> Fred.
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
More information about the Devel
mailing list