[Nagiosplug-devel] Suggested alterations to the Performance Protocoll

Yves Mettier ymettier at libertysurf.fr
Tue Sep 21 01:58:05 CEST 2004


I answer to that mail from Ben not to break the thread.

I agree with Andreas' sayings in his last mail. A precision about the timestamp: we have
$TIMET$ when the plugin is launched. And we have $EXECUTIONTIME$ for how long it took.
So a plugin executes between $TIMET$ and $TIMET$+$EXECUTIONTIME$. Is there a need for
more precision ?


I'd like to write what is OK for everybody, and some questions about changes we
want/don't want.

We agree that there are 2 syntaxes for plugins:
===============================================
1: label='value'
2: label=valueUOM;...

2 is already in the doc. There is nothing to update for 2.
Is there somebody to update the doc for 1 ? :)


We also agree that label can be one of those 2 syntaxes:
========================================================
label
'label'
This is already in the doc.
Could somebody update the doc and say that we use the backslash as the escape sequence
for ' (and \of course) ?
For Ben, we could use \t, but does a label with \t mean anything ? We won't support \t
until somebody gives us a good reason to use it.



Now, I have open questions. You know my opinion from previous mails (label:type=...
instead of label=...)

-> how do you make the difference between an IP adress, an IP range, a log, or any other
string ?

-> how do you timestamp some old data (from a log for example) ?

-> is there a need for a better precision than the second ?

-> Other questions ?

For Ben again, notice that if you want to put XML, you can already do it: label='<?xml
version="1.0"><root>data</root>'. I disagree with this kind of use, even if we allow it
when we allow generic strings.
Because we can put everything in strings and because strings are wanted, I strongly
insist on the fact that we should add the notion of type somewhere, which is not
incompatible with what we already have.

Comments ?

Yves

-- 
- Homepage    - http://ymettier.free.fr - http://www.logicacmg.com -
- GPG key     - http://ymettier.free.fr/gpg.txt                    -
- Maitretarot - http://www.nongnu.org/maitretarot/                 -
- GTKtalog    - http://www.nongnu.org/gtktalog/                    -







More information about the Devel mailing list