Cheshire Cat Computing

Software support and information
It is currently Sat Aug 19, 2017 4:31 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Host template for APC
PostPosted: Thu Apr 01, 2010 9:37 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3038
Location: Auckland, New Zealand
This is not tested; it is modified for Routers2 compaitibilty from a script written by gvolk@gvolk.com

This adds a few graphs for an APC UPS system; see the comments in the template for other information.


Attachments:
File comment: APC Host template (untested)
apc.htp [6.11 KiB]
Downloaded 733 times

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11
Top
 Profile Send private message  
 
PostPosted: Fri Apr 02, 2010 3:39 am 
Offline
User

Joined: Thu Apr 01, 2010 6:09 am
Posts: 2
Thank you so much Steve!

Just an FYI... I had to take out the table elements in order to make it work properly.


Top
 Profile Send private message  
 
PostPosted: Thu Dec 29, 2011 9:45 pm 
Offline
User

Joined: Thu Dec 29, 2011 9:41 pm
Posts: 1
i have downloaded this file,thanks so much,steve :mrgreen:
how to hypnotize someone


Top
 Profile Send private message  
 
PostPosted: Thu Jan 26, 2012 12:08 pm 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden
benering wrote:
Thank you so much Steve!

Just an FYI... I had to take out the table elements in order to make it work properly.


I had the same problem with my version of mrtg, attached to this message is my updated apc.htp.
I use the template by calling my attached script apc-ups_create_page.sh.

regards Henrik


Attachments:
File comment: Script to use template to create MRTG directory
apc-ups_create_page.sh [647 Bytes]
Downloaded 330 times
File comment: Removed table elements to make it work with my version of MRTG
apc.htp [5.04 KiB]
Downloaded 290 times
Top
 Profile Send private message  
 
PostPosted: Fri Jan 27, 2012 10:56 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden
It now occurs to me that I should update the version string in the comment when modifying apc.htp. This file is exactly the same as in my previous post except that I have updated version info in the comment header.

regards Henrik


Attachments:
File comment: Removed table elements to make it work with my version of MRTG
Updated version string to 120125

apc.htp [5.12 KiB]
Downloaded 310 times
Top
 Profile Send private message  
 
PostPosted: Wed Apr 02, 2014 7:43 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden
After upgrading from MRTG 2.17.3 to MRTG 2.17.4 the TABLE tags seems to be working, so I have readded them to the template.
I also added a graph for last reason on battery, that functionality was taken from the template at http://mrtg.gvolk.com

regards Henrik


Attachments:
File comment: Readded <TABLE> tags
added last reason on battery

apc.htp [8.21 KiB]
Downloaded 201 times
Top
 Profile Send private message  
 
PostPosted: Wed Jan 11, 2017 8:48 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden
I have made some more updates to this template which I now hesitate to publish as the template has become less generic "one size fits all".

Everyone should benefit from the new ability to also show data from external temperature and humidity sensors, those are possible to connect to some network management cards.

Everyone should also benefit from the ability to show input and output voltages.

Battery times are nice to see, but as mrtg lacks native support for timeticks a call to the command snmpget is done and you might have to modify the hardcoded path to that command.

I have also added a graph for battery condition, but the information in PageTop contains a battery replacement string which might become obsolete unless the template is rerun sometimes, maybe by some daily cron job.

If anything of this seems scary, please use the previous version instead. Or feel free to do some cherry picking from the new template and only copy the parts that you like!

regards Henrik


Attachments:
File comment: Updated template with new graphs which might require some customization.
apc.htp [17.42 KiB]
Downloaded 52 times
Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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