logo       

Re: Temperatures plugin: msg#00020

db.rddtool.munin.general

Subject: Re: Temperatures plugin

Andrea Gzz wrote:
> Hi.
>
> First of all I have to say that munin is great, I have been using it for
> a good 6 months now and never experienced any troubles.
> Now, here comes the (probably dumb) question: I recently added the
> temperatures plugin
> ( http://muninexchange.projects.linpro.no/?search&cid=23&pid=37&phid=36 ) but
> I couldn't get it to plot the temperatures.
> I configured the plugin by setting "env.wcode LIPE EBBR LIVT" in
> munin-node.conf but nothing on the graph.
> What is odd is that the graph displays the correct locations' name, but
> no temperature data is plotted or displayed.
>
> I noticed that the plugin source code contains this "if" condition:
>
>> if (defined($ENV{wcode})) {
>> @wcode = split(' ', $ENV{wcode});
>> } else {
>> @wcode = ("ENGM", "ENBR", "ENVA", "ENTC");
>> }
>
> I replaced the codes with the ones I needed and executed the plugin
> from a bash shell.This was the output:
>
>> amoeba:/etc/munin/plugins# ./temperatures
>> LIPE.value 11
>> EBBR.value 11
>> LIVT.value 16
>
> So it seems that the values are correctly retrieved from
> http://weather.noaa.gov/ .
> But still, nothing on the graph.
> What did I miss?
>
> Andrea

in your plugin-conf.d/munin-node file, you would use an entry such as this:

[temperatures]
env.wcode LIPE EBBR LIVT



--
S. Banerian
206-598-0302
UWMC Radiation Oncology


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise