[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Graph definitions
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Graph definitions
- From: "Phil Wild" <philwild (at) gmail.com>
- Date: Thu, 30 Oct 2008 16:42:51 +0900
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=QmKZcUd0FgBNh5tiluzACVo7ZKpILFwl3hQ7sOGw5nc=; b=d2IDRDDdEE8LzvpQ1P7CKmD9s3alan7rc1tRS6OhfvE0tjdEc7CHB2bCbDlPOoJJpa TAxJD3L4HrM2Dcl8G09psFLTn+cgjCSrumEwhF5KG2TgGxxy4vRG3zrvFW0A7K8XVkhA t/HX9jtytUA4Le1beDtOenymu/XJXLwCJ97nw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=MtIWUw7gQ+kvUM0pwfBhhSTRL2HtiLrApbhXoSR4O0C1iDyfAzZ2EJdFe4Pe+BAik6 OnI/G/xeGMJkGgWk3KjON1nAFZrGTpRr0vhFFSnIGDRtprzUb4OU8b5/xnQYsP0+qGuk 9ucLpzlXt2Qk+N9ridjhZdlpmyekeqWOFEgkw=
- References: <A3D12FAD74FC8B46991703F40C182BAB39A82C91 (at) permls102.wde.woodside.com.au>
Hi Vernon,
You need to write your own backend data collector and have hobbit pass
the data to it through a change in hobbitlaunch. You parse the data
yourself at the server side and then build a single rrd file for every
entry. You then use the FNPATTERN as you have already specified...
From memory, I think this is lightly covered in the man pages.
Cheers
Phil
2008/10/27 Everett, Vernon <Vernon.Everett (at) woodside.com.au>:
> Hi all
>
> Is there any way to define a graph definition for values that may or may not
> be available.
>
> Let's work with CPU temperature, just as an example.
>
> In hobbitserver.cfg, I can define this
> NCV_systemp="*:GAUGE"
> (And the other ncv definitions)
> It then generates rrd files for all the servers.
>
> However, some systems have 1 cpu, some have 2, and some 4.
> So the rrd files only have entries for the number of CPUs.
>
> In the hobbitgraph.cfg we can define the graph, with 4 cpu temperatures, but
> if the rrd file doesn't contain 4 fields (i.e. system has only 2 CPUs), it
> doesn't generate a graph.
> It is also not possible to have a separate graph definition for 1, 2 and 4
> CPU systems.
>
> The other way round it, is to have each CPU in a separate file, and define
> FNPATTERN= with a wildcard.
> But how do we get the ncv module to put each field in a sepreate rrd file?
>
> Regards
> Vernon
>
>
>
>
>
> NOTICE: This email and any attachments are confidential.
> They may contain legally privileged information or
> copyright material. You must not read, copy, use or
> disclose them without authorisation. If you are not an
> intended recipient, please contact us at once by return
> email and then delete both messages and all attachments.
>
--
Tel: 0400 466 952
Fax: 0433 123 226
email: philwild AT gmail.com