Cheshire Cat Computing

Software support and information
It is currently Thu Dec 13, 2018 9:26 am

All times are UTC + 12 hours [ DST ]

Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Aug 18, 2017 1:25 pm 
Silver User

Joined: Thu May 29, 2008 11:17 am
Posts: 10
I have a weird situation with a UPS device that I've just added - it creates the targets fine for battery voltage, estimated capacity, load watts etc however there is no summary target which means I have to click on every target to view it's graph. Is there a way to "force" every target to display, which seems to be what the summary does?


 Profile Send private message  
PostPosted: Wed Aug 23, 2017 4:47 pm 
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
If you post the config here I could verify, but the reason is probably that none of the Targets were added to the Summary , so the summary was empty, so it is not displayed.

To fix this, add

routers.cgi*InSummary[_]: yes

to the start of the configuration. This will make all Targets appear in the summary regardless of the default.

Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11

 Profile Send private message  
PostPosted: Wed Aug 23, 2017 10:45 pm 
Silver User

Joined: Thu May 29, 2008 11:17 am
Posts: 10
Excellent - thanks Steve that fixed it!!

My config now looks like this:

Interval: 1

PathAdd: /opt/local/bin

routers.cgi*InSummary[_]: yes

LogFormat: rrdtool
workdir: /Applications/XAMPP/xamppfiles/htdocs
Options[_]: growright,bits
WithPeak[_]: ymw
YSize[_]: 200
XSize[_]: 600

Title[UPS_time]: UPS Time Remaining
Target[UPS_time]: mib-
Options[UPS_time]: growright, nopercent, gauge
MaxBytes[UPS_time]: 60
PageTop[UPS_time]: <H1>UPS Time Remaining</H1>
ShortLegend[UPS_time]: minutes
YLegend[UPS_time]: Time (Mins)
LegendI[UPS_time]: UPS Remaining Runtime
LegendO[UPS_time]: UPS Remaining Runtime

Title[UPS_capacity]: UPS Battery Capacity & Load
PageTop[UPS_capacity]: <H1>UPS Battery Load & Capacity</H1>
Interval: 2
Target[UPS_capacity]: mib-
Options[UPS_capacity]: growright, gauge
ShortLegend[UPS_capacity]: Percent
LegendI[UPS_capacity]: UPS Battery Capacity
LegendO[UPS_capacity]: UPS Battery Load
YLegend[UPS_capacity]: Percent
MaxBytes[UPS_capacity]: 100

Title[UPS_load2]: UPS Load Watts
PageTop[UPS_load2]: <H1>UPS Load Watts</H1>
Interval: 2
Target[UPS_load2]: mib- * 7.23
Options[UPS_load2]: growright, nopercent, gauge
ShortLegend[UPS_load2]: UPS Load watts
LegendI[UPS_load2]: UPS Load watts
LegendO[UPS_load2]: UPS Load watts
YLegend[UPS_load2]: Watts
MaxBytes[UPS_load2]: 750

Title[UPS_voltsin]: UPS Input/Output Voltage
PageTop[UPS_voltsin]: <H1>UPS Input Voltage</H1>
Interval: 2
Target[UPS_voltsin]: mib-
Options[UPS_voltsin]: growright, nopercent, gauge
ShortLegend[UPS_voltsin]: Volts
LegendI[UPS_voltsin]: UPS Input Voltage
LegendO[UPS_voltsin]: UPS Output Voltage
YLegend[UPS_voltsin]: Volts
MaxBytes[UPS_voltsin]: 300

Title[UPS_batteryvolts]: UPS Battery Voltage
PageTop[UPS_batteryvolts]: <H1>UPS Battery Voltage</H1>
Interval: 2
Target[UPS_batteryvolts]: mib- /10
Options[UPS_batteryvolts]: growright, nopercent, gauge
ShortLegend[UPS_batteryvolts]: Volts
LegendI[UPS_batteryvolts]: UPS Output Voltage
LegendO[UPS_batteryvolts]: UPS Output Voltage
YLegend[UPS_batteryvolts]: Volts
MaxBytes[UPS_batteryvolts]: 30


 Profile Send private message  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 12 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group