APC UPS Daemon (apcupsd) via NIS [v1.1 2007-12-17]
Moderators: Developers, Moderators
Correct. I already stated this last month.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
If you search the script forum for APC, you'll find many (if not most) which utilize SNMP.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I have searched. After trying 3 different kinds, all of which are ugly, only half work, or not what I want, I have managed to find this:
http://forums.cacti.net/viewtopic.php?t ... s&start=15
But I'm not quite sure exactly how to get it setup and running.
I've imported the XML file, but I don't know what needs to be done beyond that.
Which leads to my initial complaint that none of these things ever include readme's or documentation. People just assume everyone has an expert level of knowledge on this stuff.
http://forums.cacti.net/viewtopic.php?t ... s&start=15
But I'm not quite sure exactly how to get it setup and running.
I've imported the XML file, but I don't know what needs to be done beyond that.
Which leads to my initial complaint that none of these things ever include readme's or documentation. People just assume everyone has an expert level of knowledge on this stuff.
Sounds like an opportunity for you to learn how to make an XML script for cacti then. There are some good guides in the documentation site (link above forum).cyr0n_k0r wrote:I have searched. After trying 3 different kinds, all of which are ugly, only half work, or not what I want, I have managed to find this:
Agreed. You should post your questions regarding that script, in that thread. For most xml scripts, you basically import the xml file (which in turn should import the data input method, graph template(s), data templates, and any needed CDEF's).cyr0n_k0r wrote:Which leads to my initial complaint that none of these things ever include readme's or documentation. People just assume everyone has an expert level of knowledge on this stuff.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 6
- Joined: Mon Oct 20, 2008 4:08 am
hey,
got referred to this script/post from the other apcupsd script post.
i have apcuspd running on ubuntu and have set NIS in the conf file.
'apcaccess status' command gives all the normal information.
i followed the instructions but get stuck testing the sqript.
i type in 'php query_apcupsd 127.0.0.1 3551'
and the result is:
got referred to this script/post from the other apcupsd script post.
i have apcuspd running on ubuntu and have set NIS in the conf file.
'apcaccess status' command gives all the normal information.
i followed the instructions but get stuck testing the sqript.
i type in 'php query_apcupsd 127.0.0.1 3551'
and the result is:
Code: Select all
Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/share/cacti/site/scripts/query_apcupsd.php on line 26
Did you update the ACPACCESS_PATH variable to reflect the correct path?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 6
- Joined: Mon Oct 20, 2008 4:08 am
Please , where and which files need to fix to get this results ?khaytsus wrote:I've modified mine to split out the battery charge and leave the rest, three separate graphs now. Plus I removed a few my BackUPS doesn't support that the SmartUPS do.
Easy to do, all I did was duplicate the existing one and remove some items.
Regards, Michail A.
Just edit the graph templates and remove the data you don't need. Make a copy of the original and append on the model of your UPS.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Thank you, I did so, and all works well.BSOD2600 wrote:Just edit the graph templates and remove the data you don't need. Make a copy of the original and append on the model of your UPS.
I have a question: is it possible to make that the value of Graph ID and Data Sources ID / RRD file have the same value? I have for this graph: Graph ID=37 and Data Sources ID=40 / localhost_load_pct_40.rrd,
it would be more correct for example 40/40/40 .
Regards, Michail A.
Umm possibly via some database hacking, etc. At any rate, its above any beyond the topic of this thread.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Why NIS?
I'm curious why NIS must be enabled. We don't use NIS for anything here, and my APC UPS's don't have the abilty to use it.BSOD2600 wrote:Yes, both apcdaemon and NIS must be enabled on the HOST, which you want to collect the data from.
I'd love to be able to use these composite graphs but as of yet I can't get them to work. I've been able to get other APC scripts and graphs to work just fine.
NIS is the only way apcdaemon can query the status of another APC device over the network via the 'apcaccess status' command. The reason I created this script is for older APC devices which don't provide SNMP support -- if yours does, you should be using a different set of templates/scripts.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest