Commit Graph
1189 Commits
Author SHA1 Message Date
TheWitness f00a900fbd Fix:#383 - Spine returns Segmentation fault 2025-12-01 18:14:02 -05:00
TheWitness 716c20fa95 Fix:#383 - Spine returns Segmentation fault 2025-12-01 18:13:45 -05:00
TheWitness c11aa2ce01 Fix:#373 - Spine SNMPv3 SHA-512 auth doesn't work 2025-12-01 17:46:45 -05:00
TheWitness 0a9ac58537 Fix:#373 - Spine SNMPv3 SHA-512 auth doesn't work 2025-12-01 17:40:08 -05:00
TheWitness 946cf300ed Fix:#373 - Spine SNMPv3 SHA-512 auth doesn't work 2025-12-01 17:39:04 -05:00
TheWitness 1a33a8d621 QA: Better snmpv3 detection 2025-11-19 16:42:42 -05:00
TheWitness dd5186a17c QA: Improving memory management and snmpv3 support 2025-11-19 15:51:26 -05:00
TheWitness 5b25fe34ee Fix: #374 - Issue with SNMP Logging 2025-10-08 12:11:47 -04:00
TheWitness 8d1d61c99b Fix: #374 - Error DES is no longer supported on this system 2025-10-08 11:52:04 -04:00
TheWitness e4c62fd230 QA: Fix a few minor leaks in spine 2025-08-25 11:55:26 -04:00
TheWitness 53be3b0211 QA: Readying for Release 1.2.31 2025-08-25 11:22:10 -04:00
TheWitness af323e479d QA: Fix to warnings from user testing 2025-06-30 09:50:28 -04:00
TheWitness 692282c6ba QA: Remove the set undefined 2025-06-28 09:03:29 -04:00
TheWitness 366a93ea37 Fix: #370 and #366 Long OIDs and Polling stopping 2025-06-28 08:58:43 -04:00
TheWitness 8d842a0bcc QA: Be consistent with develop 2025-06-28 08:46:06 -04:00
TheWitness 1d9793f22b Fix: Remove column check and no more compiler warnings 2025-06-28 08:35:55 -04:00
TheWitness 17f92179a4 Fix: #365 - Removing Backtrace Support 2025-06-28 07:43:58 -04:00
netniV 38514ef154 Prepare for 1.2.29 release/1.2.29 2025-02-02 17:37:34 +00:00
TheWitness 69060327b3 Updating more copyrights 2024-10-30 18:32:54 -04:00
TheWitness 7492d02419 Remove .travis.yml 2024-10-30 18:29:30 -04:00
TheWitness 89116b2da4 Update .travis.yml 2024-10-30 18:24:44 -04:00
TheWitness 1608576d46 Update .mdl_style.rb 2024-10-30 18:24:26 -04:00
TheWitness 3d45a88fdb Update .gitignore 2024-10-30 18:24:06 -04:00
netniV c66f0fc5bf Prepare for 1.2.28 release/1.2.28 2024-09-29 21:32:56 +00:00
TheWitness 113bf16328 QA: Prepare for Release and Update Copyrights 2024-08-07 08:44:32 -04:00
TheWitness 1c4260a350 Update configure.ac
Update copyright
2024-08-07 08:36:28 -04:00
TheWitness 973682ba84 Update configure.ac
Prepare for 1.2.28 release.
2024-08-07 08:36:05 -04:00
TheWitness e53d8bfdc4 Fixing #350 and #351 - TCP Ping Issues
* TCP ping returns always Alive
* The Availability/Reachability setting of "Ping or SNMP Uptime" is not working in latest spine
* Update some logging functions to add the 'DEBUG' declaration.
2024-08-07 08:25:39 -04:00
netniV 589b4c5f6a Update CHANGELOG release/1.2.27 2024-05-12 19:22:52 +00:00
TheWitness 08c13ce4a2 Prepare for release 2024-04-11 19:41:37 -04:00
richudandRich 13c9e512ef best increment the char size too! (#346)
Co-authored-by: Rich <rich@richud.com>
2024-03-20 13:44:37 -04:00
richud 8ad067b5be SNMPv3 add Cisco AES privacy protocol AES192C AES256C privacy type CISCO-AES-256 (#345) 2024-03-19 19:14:23 -04:00
TheWitness 2b7fbd55c3 QA: Restore AES support 2024-03-17 20:11:48 -04:00
netniV 1e0ff53ea7 Prepare for release 1.2.26 release/1.2.26 2023-12-24 02:12:33 +00:00
TheWitness 49fe8c8d4f Update for Cacti 1.2.26 release 2023-12-22 12:47:22 -05:00
TheWitness 564d0ef6ff QA: Fix a few unused variables 2023-12-08 17:12:45 -05:00
eriksejrandErik Sejr 582e33f967 Fix Clang 16 compiler warning autological-pointer-compare (#334)
While compiling sql.c clang 16 generates the following warning:

```
sql.c:407:27: warning: comparison of address of 'db_pool_local[id].mysql' not equal to a null pointer is always true [-Wtautological-pointer-compare]
                        if (&db_pool_local[id].mysql != NULL) {
                             ~~~~~~~~~~~~~~~~~~^~~~~    ~~~~
sql.c:428:28: warning: comparison of address of 'db_pool_remote[id].mysql' not equal to a null pointer is always true [-Wtautological-pointer-compare]
                        if (&db_pool_remote[id].mysql != NULL) {
                             ~~~~~~~~~~~~~~~~~~~^~~~~    ~~~~
```

If the conditional is always true then the fix is to remove the
conditional in this instance

Co-authored-by: Erik Sejr <eriks@ssicanada.com>
2023-12-08 17:04:18 -05:00
3f27127baa Clang wrn fmt long int (#339)
I actually think this one should be an unsigned long int instead of just
a long int.

---------

Co-authored-by: Erik Sejr <eriks@ssicanada.com>
Co-authored-by: TheWitness <thewitness@cacti.net>
2023-12-08 17:02:19 -05:00
eriksejrandErik Sejr a446e5ac85 Fix Clang 16 warning: format (2) (#337)
This one is clear case of a simple format oopsie.

Co-authored-by: Erik Sejr <eriks@ssicanada.com>
2023-12-08 16:43:35 -05:00
eriksejrandErik Sejr 901884d8b9 Fix Clang 16 warning: pointer-sign (#336)
while compiling spine clang 16 generates the following warning:

```
snmp.c:590:58: warning: passing 'char[2048]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                                snprint_asciistring(result_string, RESULTS_BUFFER, temp_result, strlen(temp_result));
```

If the function treats this as a unsigned char *, I don't see any issue
casting it as such before passing it in to suppress the warning.

Co-authored-by: Erik Sejr <eriks@ssicanada.com>
2023-12-08 16:43:13 -05:00
eriksejrandErik Sejr a75accc4ad Fix Clang 16 compiler warning: format (1) (#335)
While compiling Clang 16 generates the following warnings.

in spine.c:

```
spine.c:934:101: warning: format specifies type 'long' but the argument has type 'pthread_t' (aka 'struct pthread *') [-Wformat]
                                SPINE_LOG_DEBUG(("DEBUG: Device[%i] Valid Thread to be Created (%ld)", poller_details->host_id, threads[device_counter]));
```

in util.c:
```
util.c:1265:100: warning: format specifies type 'long' but the argument has type 'pthread_t' (aka 'struct pthread *') [-Wformat]
        snprintf(logprefix, SMALL_BUFSIZE, "SPINE: Poller[%i] PID[%i] PT[%ld] ", set.poller_id, getpid(), pthread_self());
```
This one i'm not as sure about, maybe this should be cast to a long
unsigned int instead? I have not had problems running it this way but
i'm not 100% sure this the right fix.

Co-authored-by: Erik Sejr <eriks@ssicanada.com>
2023-12-08 16:41:59 -05:00
TheWitness ff05c7b935 QA: Fixing #333 - Spine not honoring threads settings 2023-12-07 18:33:30 -05:00
TheWitness 0431fc7655 QA: Minor wording change for Issue #315
This wording should be a bit more informative.
2023-11-19 13:12:52 -05:00
TheWitness e68e18af1d Update CHANGELOG for #331 - Ping only option
* This was committed here: 0a988cbe41
2023-11-19 13:04:11 -05:00
TheWitness 3b39d22432 Fixing #315 - Invalid Per Second OID failures
Invalid ERROR: No such Instance for oid '.1.3.6.1.6.3.10.2.1.3.0' when per second uptime OID is not found
2023-11-13 16:46:06 -05:00
TheWitness 1a15dfecba Fixing #329 - CLI thread feature for testing
Allow users to override the threads setting at the command line
2023-11-13 08:32:35 -05:00
mikygeeandCharlie Root 14e89ec748 Correction bug Cacti#324 add -lexecinfo to configure.ac for OpenBSD (#327)
Co-authored-by: Charlie Root <root@villa.expertinet.fr>
2023-11-07 09:44:20 -08:00
TheWitness b6194bd0e4 QA: Add proper statistics when device threads are 1 2023-11-07 09:21:07 -05:00
TheWitness 0d149456a3 QA: Add additional details for thread closure issue 2023-11-07 09:07:45 -05:00
TheWitness 1d28ee7371 Fixing #323 - Device 0 Assumption
Wrong number of devices in stats due to device 0 assumption
2023-11-05 08:42:09 -05:00