Commit Graph
19 Commits
Author SHA1 Message Date
TheWitness 36320c49a3 Fixing #5264 - Net-SNMP Disk I/O Templates are not Cluster Aware
If you Cacti poller can fail from hostA or hostB, you need this capability.
2023-04-02 15:00:43 -04:00
TheWitness ca7a352286 QA: Porting 1.2.24 Changes back to the Develop Branch (#5246) 2023-02-24 03:48:31 +00:00
Mark Brugnoli-Vinten e4d60297fd Update copyright year for 2023 2023-01-04 13:36:25 +00:00
Mark Brugnoli-Vinten 8b29d12cc9 Define cacti system paths as constants for better code checking (#5120)
This also provides a full run of src-fixer against all files to
ensure all code is now in alignment.

Closes #5120
2023-01-01 01:03:15 +00:00
TheWitness 66030b6090 QA: If the hostname does not exist, just return no data 2022-08-07 16:40:09 -04:00
TheWitness bbe899a731 QA: Two issues with ss_net_snmp_disk_*.php scripts 2022-02-20 13:09:47 -05:00
TheWitness df556a6cce QA: Support NVME and Virtual Disks 2022-02-19 13:39:53 -05:00
TheWitness b4405c1707 Some PSR for ss_fping and add missing copyrights and mark executable 2022-02-13 09:55:08 -05:00
TheWitness e6f918e11f Fixing Issue #3847
Cacti 1.2.14 Real-Time Graphs not working
2020-10-17 11:06:48 -04:00
cigamit fb45855912 Correct two issues from the latest script cleanup 2019-02-18 22:39:48 -06:00
cigamit 33d99b73ff Update scripts to be more consistent 2019-02-18 07:57:04 -06:00
netniV 89f0a06216 Resolving issue #2304 and #2311
This commit corrects a previous unseen issue where the PHP environment at command line level is being populated with environment variables normally only seen when called from a web server.

issue#2304: Installation progress stays at 0%
issue#2311: Unable to update PHP location during installation due to incorrect CLI environment

The new check uses the php_sapi_name() function to verify that we are indeed at 'cli' level.  All other values returned by php_sapi_name are considered non-cli including 'cli-server' which is for client/server scenarios.

Most checks have now been replaced by a single defintion ('CACTI_CLI') to define whether in CLI mode.  If a script is only to be called from CLI it must either defined 'CACTI_CLI_ONLY' or include include/cli_check.php instead of include/global.php.
2019-01-15 13:57:50 +00:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit 7737c01115 Audit of PHP Collection Scripts
- Double to single quotes
- Prepared Statements
- "\n" to PHP_EOL
2018-04-07 10:41:09 -05:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit 9b4e1c542f Resolving Issue #225 2017-01-20 09:11:39 -06:00
cigamit 4184558663 Correct for first poll undefined index and make compatible with either host_id or hostname as input 2016-12-28 15:29:27 -06:00
cigamit 0f36a9dbed debugging errors in collectors 2016-09-10 15:23:12 -05:00
cigamit b0940967c8 updating net-snmp scripts 2016-09-10 12:32:21 -05:00