how to report multiple temperture probe results

Jerry Yu jjj863 at gmail.com
Sat Dec 16 09:36:35 CET 2006


never mind, I found the answers in the source code, rrd/do_temperature.c. [[
All hail goes to Open Source & Henrik! ]]
1. a lump-all status command will do. Format of the data portion is somewhat
restrictive '&green BMCambient 17 62\n&yellow BMCriserCard 32 93'. It'd be
nice to have such format documented elsewhere other than the source code.
2. if  'temperature' is used as 'test name', nothing needs to be done.
3. the check can be done locally on the client and the overall $status is
reported by 'status server1.temperature $status'.


On 12/15/06, Jerry Yu <jjj863 at gmail.com> wrote:
>
> hi,
> I noticed that hobbitgraph.cfg has a [temperature] section. How should I
>
>    1. report multiple probes from a single client in an extension
>    script: a lump-all "status server1.temperature green" or one status
>    call per probe?
>    2. collect these probes into RRD using NCV def in hobbitserver.cfg ?
>    3. set threshold centrally on the server?
>
> I initially set up my own extension script 'temps' and therein reports all
> six probes on a test server with one 'status server1.temps green' call.
> However, the NCV_temps def failed when a different server reports four/seven
> probes at once.
>
> As for alerting, I set up thresholds on the server. However, it doesn't
> generate any alert even if the threshold is obviously surpassed. wonder if
> the 'status blah GREEN' reported by the extension script kinda blocked such
> centralized checking?
>
> Thanks.
>
> jerry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061216/6715fdc4/attachment.html>


More information about the Xymon mailing list