4 Replies Latest reply on Nov 25, 2008 12:58 PM by DirtySouth

    Multiple Pollers Displayed on Single Menu View

    DirtySouth

      I've created a custom poller to poll Netbotz camera temperature sensors and have verified that it works. I would like to create a "summary" page on the Menu Bar. So far I've been able to create the view, but am only able to display a single device poller. For example, I have 5 different devices and I'd like to display a gauge and historical graph for each one all within the same view. This way we can get a quick overview of them all.


       Can this be done? At this time I've only been able to create this view for a single device, but not able to display all 5 device pollers within the same screen. Thanks in advance!

        • Re: Multiple Pollers Displayed on Single Menu View
          sotherls

          There are numerous posts in here, somewhere covering this. It takes awhile to find them.... I have done the exact same thing but did it with our UPS status. If you look at the View Source on your page with the graph you will see the code. You simply have to duplicate this several times for each poller you want to add.


          I have attached a copy of the code (sanitized) I use to do this. You should be able to create a html page and then reference it on your Menu bar.


          Let me know if you have any other questions.


          <h2>UPS's<h2>
          <table cellpadding="1" cellspacing="0" width="100%">
          <tr>
           <td>
          <h1>ups020a</h1><br>
          <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:595&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Height=161&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
           </td>
           <td>
          <img src="/NetPerfMon/Gauge.asp?Style=LED Bar&NetObject=N:595&CustomPollerID={F1551434-1043-4F67-9AB3-916FB3EEF68E}&CustomScales=&Width=400&Scale=80&Max=100&Min=0&CustomLegends=&Legends=10&WarningLevel=&ErrorLevel=&ReverseThreshold=0&TimeUnit=" border="0" ALT="Capacity">
           </td>
           <td>
          <tr>
           <td>
          <h1>ups53b</h1><br>
          <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:597&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
           </td>
           <td>
          <img src="/NetPerfMon/Gauge.asp?Style=LED Bar&NetObject=N:597&CustomPollerID={F1551434-1043-4F67-9AB3-916FB3EEF68E}&CustomScales=&Width=400&Scale=80&Max=100&Min=0&CustomLegends=&Legends=10&WarningLevel=&ErrorLevel=&ReverseThreshold=0&TimeUnit=" border="0" ALT="Capacity">
           </td>
           <td>
          <h1>ups10b</h1><br>
          <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:770&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
           </td>
           <td>
          <img src="/NetPerfMon/Gauge.asp?Style=LED Bar&NetObject=N:770&CustomPollerID={F1551434-1043-4F67-9AB3-916FB3EEF68E}&CustomScales=&Width=400&Scale=80&Max=100&Min=0&CustomLegends=&Legends=10&WarningLevel=&ErrorLevel=&ReverseThreshold=0&TimeUnit=" border="0" ALT="Capacity">
           </td>
          </tr>


          <tr>
          <td>
          <h1>ups15a</h1><br>
          <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:596&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
           </td>
           <td>
          <img src="/NetPerfMon/Gauge.asp?Style=LED Bar&NetObject=N:596&CustomPollerID={F1551434-1043-4F67-9AB3-916FB3EEF68E}&CustomScales=&Width=400&Scale=80&Max=100&Min=0&CustomLegends=&Legends=10&WarningLevel=&ErrorLevel=&ReverseThreshold=0&TimeUnit=" border="0" ALT="Capacity">
           </td>
          <td>
          <h1>ups15b</h1><br>
          <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:600&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
           </td>
           <td>
          <img src="/NetPerfMon/Gauge.asp?Style=LED Bar&NetObject=N:600&CustomPollerID={F1551434-1043-4F67-9AB3-916FB3EEF68E}&CustomScales=&Width=400&Scale=80&Max=100&Min=0&CustomLegends=&Legends=10&WarningLevel=&ErrorLevel=&ReverseThreshold=0&TimeUnit=" border="0" ALT="Capacity">
           </td>
          </tr>
          </tr>
          </table>


           


          • Re: Multiple Pollers Displayed on Single Menu View
            sotherls

            Hopefully I got all of the steps here. It has been awhile since I did this.


            Steps:


            - Find the chart you want to replicate, right click and select View Source.
            - Find the part in the code where it has <img src="/.....
            - In this example this will create a 2 column table and put 2 graphs in it.


            <table cellpadding="1" cellspacing="0" width="100%">
            <tr>
             <td>
            <h1>ups20a</h1><br>
            <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:595&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Height=161&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
             </td>
             <td>
            <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:550&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Height=161&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
             </td>
            </tr>
            </table>


            - You will need to change the Node ID (N:___) for each graph
            - If you want to add another row to the table copy the content above between the <tr></tr> tags
            - For example, this is a 2 column, 2 row


            <table cellpadding="1" cellspacing="0" width="100%">
            <tr>
             <td>
            <h1>ups20a</h1><br>
            <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:595&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Height=161&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
             </td>
             <td>
            <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:550&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Height=161&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
             </td>
            </tr>


            <tr>
             <td>
            <h1>ups10a</h1><br>
            <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:495&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Height=161&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
             </td>
             <td>
            <img src="/NetPerfMon/Gauge.asp?Style=Radial 180&NetObject=N:100&CustomPollerID={F185CABA-B9C0-4FBF-A30D-FCF777DA7F83}&CustomScales=1&Width=500&Height=161&Scale=80&Max=100&Min=0&CustomLegends=&Legends=&WarningLevel=&ErrorLevel=&ReverseThreshold=1&TimeUnit=" border="0" ALT="Load">
             </td>
            </tr>


            </table>


            -------------


            The easiest way to get it to display is to add a Custom HTML Resource and paste your code in the "Custom HTML or Text:" box.