Skip to content

Commit feef911

Browse files
committed
feature: Add the apcaccess output when running in debug
1 parent 8e4264b commit feef911

3 files changed

Lines changed: 28 additions & 20 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ChangeLog
2+
3+
--- develop ---
4+
5+
* issue: Fix issue with replication full sync errors
6+
* feature: Provide more output when running poller_apcupsd.php --debug
7+
8+
--- 1.1 ---
9+
10+
* feature#3: When changing UPS snmp and other settings on the UPS edit page, transfer those changes to the Cacti device
11+
* feature: Support the 'ONLINE SLAVE' status as being a good status
12+
* feature: Add the uknown column MASTER or ups_master to the stats table
13+
* issue#5: Initial table creation failed due to bogus defaults
14+
* issue#6: Typo field name ups_abmtemp should be ups_ambtemp
15+
* issue: Unable to locate apcaccess command path
16+
* issue: Fix some minor GUI display issues
17+
* issue: Dont run automation until you have some information in the stats table
18+
19+
--- 1.0 ---
20+
21+
* Initial Release
22+
23+
-----------------------------------------------
24+
Copyright (c) 2004-2024 - The Cacti Group, Inc.

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,5 @@ support for down the line, but as of yet, I have not made that decision.
4949

5050
Got any ideas or complaints, please log an issue on GitHub.
5151

52-
## Changelog
53-
54-
--- develop ---
55-
56-
* issue: Fix issue with replication full sync errors
57-
58-
--- 1.1 ---
59-
60-
* feature#3: When changing UPS snmp and other settings on the UPS edit page, transfer those changes to the Cacti device
61-
* feature: Support the 'ONLINE SLAVE' status as being a good status
62-
* feature: Add the uknown column MASTER or ups_master to the stats table
63-
* issue#5: Initial table creation failed due to bogus defaults
64-
* issue#6: Typo field name ups_abmtemp should be ups_ambtemp
65-
* issue: Unable to locate apcaccess command path
66-
* issue: Fix some minor GUI display issues
67-
* issue: Don't run automation until you have some information in the stats table
68-
69-
--- 1.0 ---
70-
71-
* Initial Release
52+
-----------------------------------------------
53+
Copyright (c) 2004-2024 - The Cacti Group, Inc.

poller_apcupsd.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ function collect_ups_data($ups) {
373373
$sql_params[] = $ups['id'];
374374

375375
foreach($output as $o) {
376+
debug('Output:' . $o);
377+
376378
$o = explode(': ', $o);
377379

378380
$keyword = trim($o[0]);

0 commit comments

Comments
 (0)