Commit Graph
92 Commits
Author SHA1 Message Date
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
cigamit 562f69a885 Correct Typo 2016-12-28 14:52:13 -06:00
cigamit 034988a971 Audit for proper use of $config['poller_id'] vs. $poller_id 2016-12-28 12:24:13 -06:00
cigamit a004131eb6 Insure communications are using the right protocol http vs. https 2016-12-27 16:58:08 -06:00
cigamit 287b4ebbaa Resolving issues with ping and remote agent 2016-12-27 16:51:49 -06:00
cigamit bf459d8bff Resolve syntax error in api_device.php 2016-12-27 16:30:51 -06:00
cigamit 317ddbd08a Move ping_host() api to lib/api_device.php 2016-12-27 16:12:52 -06:00
cigamit 7269cbfd88 Committing prototype of replication api for team review
Part of multiple polling is to support either MySQL replication, or to
replicate tables requred for remote data collection.  These changes will
enable the later method, but are not complete.

The replicate_tables in lib/poller.php function is designed to handle
each of the table replecation types.  When complete, it will handle all
table replication based upon poller state.

There may be additional table schema changes to increase performance,
but those changes have not been validated yet.
2016-12-19 21:44:34 -06:00
cigamit 48616f976f Resolving https://github.com/Cacti/cacti/issues/85
Also, change logging from Host[] to Device[] per the standard.
2016-12-19 18:20:21 -06:00
cigamit 8f304f744c Add selection of Poller to Automation Device add
Also fix defaults for api_device_save since we start at id = 1 instead
of 0
2016-10-04 01:17:16 -05:00
cigamit c6eb8bf35b Fix bad logic for checking write permissions
ERROR: Unable to create directory due to missing write permissions
'rra/##'
2016-10-03 23:44:23 -05:00
cigamit e603a96995 Automation functions expect host/graph id instead of array 2016-10-03 03:06:46 -05:00
cigamit d0d5485160 allow resyncing device templates from that interface 2016-09-10 11:53:32 -05:00
cigamit a26b9fccb0 resolving bug#2751 2016-08-29 10:23:20 -05:00
cigamit b523f1dea5 remove addslashes, prepared statements, wc3 validation, double to single quote
this is required for preparation of magic_quotes_gpc.
2016-08-28 15:27:48 -05:00
cigamit 2cbb662704 resolving bug#2239 2016-08-18 17:28:10 -05:00
cigamit 76d75b0de3 more snmp engine id changes 2016-08-17 20:53:34 -05:00
cigamit 247228c84e re-introducing site, and multiple pollers, major changes this will break your cacti!
note, the poller table is updated, see the cacti.sql, also the default
poller_id is now 1, so you need to review the file
install/0_8_8g_to_1_0_0.php for important changes.
2016-07-11 19:42:02 -05:00