<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Thanks Wim,<br><br></div>Hmm so this means I have to have the following columns for example:<br><br></div>ibmupstemp<br></div><div>hpupstemp<br></div>ibmpdutemp<br></div><div>etc<br></div><br>or<br><br></div>I just have<br><br></div>Temperature<br></div>Humidity <br></div>in each message for each of the above..<br><br></div>Shame, would have liked to have kept just 'temp' column for all. Unless of course I change the name of all the oids so they are all the same even if the 1.3.6.1 etc are different.  Actually I think the name in message is just parsed so that's all that is important.<br><br></div>Thanks again!<br><br></div>Steve<br><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 2:22 PM, W.J.M. Nelis <span dir="ltr"><<a href="mailto:Wim.Nelis@nlr.nl" target="_blank">Wim.Nelis@nlr.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hello Steve,<br>
      <br>
    </div><div><div class="h5">
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <div><br>
                                      </div>
                                      I would have perhaps asked in the
                                      Devmon mailing list but my
                                      question is quite pertinent to
                                      Xymon too and this mailing list is
                                      a little more active with many
                                      using Devmon.<br>
                                      <br>
                                    </div>
                                    I have a check, it's called temp.<br>
                                    <br>
                                  </div>
                                  I have a Devmon template for an IBM
                                  UPS device and I have a template for
                                  an IBM PDU device.  Both have a temp
                                  check for reading temperature and
                                  humidity.<br>
                                  <br>
                                </div>
                                The IBM UPS template has existed for a
                                while and has been displaying temp
                                graphs. I have temp=ncv, temp in GRAPHS
                                and an entry in graphs.cfg and
                                xymonserver.cfg.<br>
                                <br>
                              </div>
                              What happens when you introduce a temp
                              check to a new device that has a different
                              template?  Do you have to create an extra
                              line in graphs.cfg/Xymonserver.cfg?  Is it
                              the same name?<br>
                              <br>
                            </div>
                            ie do I have to use <br>
                            <br>
                          </div>
                          NCV_temp=temperature:GAUGE (temperature being
                          what is parsed from message file of template)<br>
                        </div>
                        for template 1 (IBM UPS)<br>
                        <br>
                      </div>
                      and <br>
                      <br>
                    </div>
                    NCV_temp=pdutemperature:GAUGE (pdutemperature being
                    what is parsed from message file of template)</div>
                  for template 2 (IBM PDU)<br>
                  <br>
                </div>
                OR<br>
                <br>
              </div>
              Do I have to use a different check/column name for each
              use of temperature per device? I might use Devmon for
              temperature/Humidity readings on a UPS device, or a PDU,
              or a server, or a network device and the templates I use
              in Devmon will be completely different.  In which case I
              would have to use temppdu for example in
              xymonserver.cfg/Graphs.cfg alongside the existing temp<br>
              <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div></div>
    As fas as I know, you can only associate one graph template with one
    test (column), the template having the same name as the test. It is
    thus not possible to associate one template out of a set with a
    given instance of a test (in other words with a given
    {test,host}-pair). However, you can minimise the number of columns
    (in for instance 'all non-green' while it is very hot) by having the
    various tests to deliver the same NCV-data.<br>
    <br>
    I recognise your problem, wanting to show the temperature for
    various network switches, some having only one temperature sensor,
    and some having thirty sensors. This is solved by sending always 3
    numbers, the minimum, the average and the maximum value of all
    sensor values. For this purpose I have extended Devmon with a new
    transformation, called STATISTIC. (See patch #20 at
    <a href="http://sourceforge.net/p/devmon/patches/?source=navbar" target="_blank">http://sourceforge.net/p/devmon/patches/?source=navbar</a>).<br>
    <br>
    HTH,<br>
      Wim Nelis.<br>
  
<div><p></p><hr>
<br><br><br>
<hr>
<font color="#00467f" size="2"><i><span lang="EN-US">The NLR disclaimer is valid for NLR e-mail messages.</span></i> 
<p>This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of the sender.</p>
<p>This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.<br></p></font>
<hr>
<p></p></div>
</div>

<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>