[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Graphing only specific items in metrics report
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Graphing only specific items in metrics report
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Tue, 17 Feb 2009 17:01:22 +0200
- Cc: Stefan <skjoldar (at) gmail.com>
- References: <c72ed9370902120103x1009f29ep26c79daf8e24647 (at) mail.gmail.com>
- User-agent: KMail/1.10.3 (Linux/2.6.27.7-desktop-1mnb; KDE/4.1.3; x86_64; ; )
On Thursday 12 February 2009 11:03:11 Stefan wrote:
> Hi
>
> I want to find out if the following is possible:
>
> A server that is monitored, has 15 filesystems, all of them need to be
> monitored,
> but the customer isn't interested in the state of / or /var, but only in
> the production filesystems.
> How can I create a metrics report of only 3 of the 15 filesystems that is
> being monitored on the box?
> Would I need to create a separate monitoring group for these?
I usually don't use the metrics report, as it hides too many of the features
available in the CGI scripts. For example, if you want a graph of a specific
filesystem (by name), you can modify the service=paramater to contain
disk:<path>, where <path> is the mount point, but with each '/' replaced with
',' e.g.:
http://hobbit/hobbit-
cgi/hobbitgraph.sh?host=myhost.mydomain.com&service=disk:,opt&graph_width=576&graph_height=120&disp=myhost.mydomain.com&nostale&color=green&action=menu
This would give you a graph with any filesystems mounted on a directory
matching /opt*
To see the graphs I want, I often just click the graphs on the status pages,
and then start editing the URL (to add hosts on tests that support multi-host
graphs etc.).
Regards,
Buchan