209 Commits
Author SHA1 Message Date
cigamit 32a6d4043a Minor change to removal algo
Do not change the poller_id to 1 when marking deleted, handle re-purge a
bit differently as a result.
2018-12-23 09:11:13 -06:00
cigamit b3ad967a04 Resolving Issue #2219
This new change will keep the host entry in the host table for a day
after the device has been removed.
2018-12-20 16:51:59 -06:00
cigamit facfce5202 Resolve issues with Message Handling
This was caused by a regression in the conversion of type to info.  Save
is_error_message() was broken completely as the is_error_message() was
designed for form_input_validate() and not for generalized messages.

Additionally:

- Enhanced the messages to show a color code based upon severity.
- Portuguese mis-spelled
- api_device_save() bug with plugin handling
2018-11-18 10:15:11 -06:00
cigamit de71ad14d0 Resolving Issue #2131
[1.2.0 Beta 2] Cannot delete devices
2018-11-10 10:55:11 -06:00
cigamit 02095e93b7 Resolving Issues #2144 and #2152
-issue#2144: Device Management "Status" column does not sort properly
-issue#2152: When editing a device, should show disable/enable option
2018-11-10 10:44:45 -06:00
netniV 4eef0baac9 Resolving issue #2126 2018-10-29 12:54:35 +00:00
cigamit f8490dfeac More debugging on issue #2070 2018-10-14 12:20:49 -05:00
cigamit 5f3f3560e7 Additional issues related to #2070
These have to do with the host.php option 'Change Device Options'.
2018-10-14 11:53:31 -05:00
cigamit b1ceea271b Code cleanup relatedd to issue #2070
The code before had lot's of duplicate sql calls and would result in a
higher probability of bugs.
2018-10-14 07:13:20 -05:00
cigamit ac6478a124 More missed cases around Issue #2070
A few more cases I discovered during testing.
2018-10-13 21:49:11 -05:00
cigamit e4e8e4cf07 More resolution to Issue #2070
The only thing left is to ensure that automation is run when you are
running re-index from the main Cacti web site.  Also, to determine how
automation should run in batch mode since the re-indexing is not
preforming this in the background on the remote data collectors.
2018-10-13 17:26:51 -05:00
cigamit 10248cd012 The variable $cnn_id is dangerous due to legacy behavior 2018-10-13 13:54:33 -05:00
cigamit 5c7a3fbb2f Resolving Issues #2068 and #2058
- [1.2.0 Beta 1] When saving, modifying, removing devices and graphs,
sync this data automatically
- [1.2.0 Beta 1] New CLI Script remove_device.php Orphans Graphs and
Data Sources
2018-10-13 13:36:22 -05:00
cigamit 1c68dc9606 Resolving Issue #2040
This should give us a better clue as to the issue.
2018-10-09 08:29:48 -05:00
cigamit 0b991958fd Resolving Issue #1982
Certain hooks should occur within api functions rather than UI functions
2018-09-28 04:49:59 -05:00
cigamit 73d9738ec7 Add a Timeout setting for Remote Agent calls Re Issue #1060 and #1604
This setting will help Remote Agent Timeout situations.  The setting is
the Settings > Poller section.
2018-09-24 19:53:00 -05:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit 14827f917c Add a few more device defaults. 2018-04-21 18:43:16 -05:00
cigamit 71b5f1c42c Automation of devices not working again 2018-04-07 13:47:15 -05:00
cigamit 768d6a556d Rework the way the remove templates works for a device 2018-04-03 18:37:55 -05:00
cigamit 8b861cb92b Correct Device API on new devices
If automation is disabled, and you add a device, all the associated
templates are removed.
2018-03-30 13:05:40 -05:00
cigamit ca1a3c4159 Resolving Issue #1319
FrontEnd + Remote Poller - Connection timeout issue
2018-02-08 18:51:57 -06:00
cigamit c1f62f7707 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-22 19:42:44 -06:00
netniV f77b531632 Fix for Issue #1246 (#1247)
* Fix for Issue #1246
This adds more information to api_device_ping_device()'s SNMP Error output to allow better diagnositics of issues noted in #1246

* Further changes for #1246

* Update CHANGELOG
2018-01-21 13:35:58 -06:00
cigamit 62615311b5 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-06 14:08:07 -06:00
cigamit e6f62e4395 Resolving Issue #1182
Support noAuthNoPriv for SNMPv3 in Cacti
2018-01-06 18:12:25 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
cigamit f6510d6805 Add physical location to the device
Add the location column to the host table and form objects.  This will
allow one additional level to the Site tree branches.
2017-12-27 20:24:03 -06:00
Tony Roman 6d1b0a9a76 Merge branch 'develop' into feature/1.2.x
Conflicts:
	aggregate_graphs.php
	auth_login.php
	automation_templates.php
	cli/add_tree.php
	graph_templates_items.php
	lib/api_automation.php
	lib/api_tree.php
	lib/auth.php
	lib/html_form_template.php
2017-11-18 09:44:33 -05:00
Browniebraun ec4b6d3ff4 usage of get_default_contextoption 2017-11-13 15:12:20 +01:00
cigamit fbbcedd378 Resolving Issue #1053
- Remote Data Collector issues with https and self signed certificates.
- Some spurious backport of html_escape() calls
2017-11-04 15:36:24 -05:00
Tony Roman 6c73dd6105 Merge branch 'develop' into feature/1.2.x
Conflicts:
	cli/add_tree.php
	docs/CHANGELOG
2017-10-16 11:36:51 -04:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
Patrick c3419aa36e Various fixes && Updated Translations (#1032)
Good catch on the bug fixes too.  Hard to spot.
_______________________________________________________

* Updated Dutch translations
- Fixed i18n

* Defined fields in queries

* Fixed changelog

* Updated Dutch translations

* Various fixes

All committed files:
- true|false to lowercase

add_perms.php:
- displayGroups() was undefined

add_tree.php:
- duplicate case for '--quiet'

repair_templates.php:
- correction function call to diaplay_version()

gettext.php:
- PHP EOF unneeded

* Updated Dutch translations
- Updated Dutch translations with latest cacti.pot file

* Updated Dutch translations
- Fixed conflicts in translations
2017-10-15 07:27:25 -05:00
Paul Calabro 4ca003cb61 1.) Added new functionality: clicking 'Syncing to Device Template' will now remove unused graph templates not assigned to the device template 2.) Added some comments
(cherry picked from commit 8b5cbeb9ff)
2017-09-10 21:42:18 -04:00
Tony Roman 113af21033 Revert "1.) Added new functionality: clicking 'Syncing to Device Template' will now remove unused graph templates not assigned to the device template 2.) Added some comments"
This revert commit 8b5cbeb9ff.

This change will be merged into 1.2.x feature branch as develop is in maintence mode
2017-09-10 21:34:47 -04:00
Paul Calabro 8b5cbeb9ff 1.) Added new functionality: clicking 'Syncing to Device Template' will now remove unused graph templates not assigned to the device template 2.) Added some comments 2017-09-07 20:05:06 -07:00
cigamit 8030e301a7 Remove debug statment from api_device.php 2017-08-05 10:52:07 -05:00
Paul Calabro 329ee1b46c Update api_device.php
The only two documented fields required for the add_devices.php script are description and ip, however, form_input_validate is expecting a non-null value for the optional host_template_id field. This results in a "ERROR: Failed to add this device" error message.
2017-07-25 22:38:12 -07:00
cigamit 611b4d4e49 Resolving Issue #802
Issue updating device hostname with SNMP data queries
2017-06-08 06:07:08 -05:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit 1cfe51dd80 Eliminate un-needed function 2017-04-22 07:17:06 -05:00
cigamit 68de7dac4a SQL Error with row deletion 2017-03-25 08:03:25 -05:00
cigamit 201bc6ecee Resolving Issue #469
Allow changing of Re-Index Method from Device Edit
Updating ChangeLog from other commit
2017-03-24 22:49:04 -05:00
cigamit 2e33bc95b2 Resolving Feature #197
External ID in Cacti
2017-03-11 10:43:39 -06:00
cigamit c1801a7a2a Resolving Issue #296
Poller warning for Non-SNMP devices
2017-03-04 15:23:44 -06:00
cigamit 9c69f3a7fe Resolving Issue #231
If the snmp auth passphrase is < 8 bytes, generate an error.  Also,
rename the '$proto' variable to '$sec_level' to avoid confusion.
2017-02-01 07:39:14 -06:00
cigamit a8c560966a Correcting spelling and grammar issues 2017-01-12 19:09:16 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 75a62ffdac Correct some program flow issues with remote ping 2016-12-28 15:22:18 -06:00