Commit Graph
74 Commits
Author SHA1 Message Date
cigamit ff125d01cb Update all pages to include div based forms
This requires a CSS change which is going to be committed next and
separately to call out the changes required there.
2017-04-30 13:15:58 -05:00
cigamit 7a805af8d7 Fix SQL statement for automation device detection 2017-04-23 13:27:40 -05:00
cigamit d19ec074df Resolve issue with device automation.
Moving the code block from host.php into lib/api_automation.php and then
calling the same function for the device automation during network
scanning.
2017-04-23 07:58:03 -05:00
cigamit b28f44a9d9 Add escaping to filter values prior to request.
Handles the sepecial case of a pound sign causing issues.
2017-04-23 07:35:01 -05:00
cigamit a1d16695e7 Resolving Issue #602
Discovery broken after last update.
2017-04-23 05:50:38 -05:00
cigamit 1cfe51dd80 Eliminate un-needed function 2017-04-22 07:17:06 -05:00
cigamit 9da3867457 Resolving Issue #588
Devices with a blank sysDescr are added to the first Device Template in
error
2017-04-20 21:07:51 -05:00
Jimmy Conner c97f2b133d Merge pull request #578 from reboot1983/PHP7.2_compatibility_fixes
Great work!
2017-04-18 07:51:18 -05:00
Patrick 623611cd16 PHP7.2 changes:
- Replaced deprecated each() for foreach()
- Removed unnecessary reset() calls used for resetting pointers of an array before iterating by a foreach() loop
2017-04-18 14:40:29 +02:00
cigamit 55a74571a6 Resolving some minor issues
issue: ping email does not use from email address
issue: automation does not used default site or poller
feature: reorganize device defaults
2017-04-17 17:09:10 -05:00
patrick cc1cc7eab2 PHP7.2 changes:
- Replaced deprecated each() for foreach()
- Removed reset() calls used for each() loops
2017-04-15 18:00:13 +02:00
cigamit 9e0829f194 Resolving Issue #534
Automation issues with 'AS' clause using keyword
2017-04-07 17:16:53 -05:00
patrick b4332685de Small changes for unnecessary lines
- unnecessary sizeof($field_names)
- double query execution
2017-04-06 18:04:17 +02:00
cigamit 6095c252b8 Resolving Issue #520
SQL Error in Graph/Tree Automation
2017-04-05 21:16:20 -05:00
cigamit 570466c2b6 Resolving Issue #499
SQL Error in Graph Automation resulting in no Graphs on Tree
2017-03-31 07:54:15 -05:00
cigamit 0dd6054f3d Resolving Issue #424
Automation does not discover devices w/o resolvable hostnames
2017-03-18 17:18:46 -05:00
cigamit c72e2c2a1f Resolving Issue #401
Graphs -> Apply Automation Rules not working
2017-03-11 11:03:06 -06:00
cigamit 2144a68433 Resolving issue #368 2017-03-04 12:08:04 -06:00
cigamit d97cf60db6 Correct error in Discovery not adding devices 2017-02-24 23:33:29 -06:00
cigamit a8db22cde1 PHP NOTICE: Undefined variable: data 2017-01-14 22:30:01 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05: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 4c51f1b28d Better fix for html validation for columns
Still fails
2016-10-03 23:15:10 -05:00
cigamit 46b7ebbd08 Fix numbering issue with graph matching rules 2016-10-03 22:49:54 -05:00
cigamit a4d4f21d03 More html validation fixes for automate graph rules 2016-10-03 22:03:04 -05:00
cigamit 0fa48b39d9 Better error checking for dns queries 2016-10-03 10:41:06 -05:00
cigamit e603a96995 Automation functions expect host/graph id instead of array 2016-10-03 03:06:46 -05:00
cigamit 845275ac71 correct issues with automation on non data query graphs 2016-09-10 11:51:50 -05:00
cigamit 491d585cd3 resolve automation devices errors 2016-08-30 18:19:40 -05:00
cigamit 68307de5f3 fixing spurious warning 2016-08-28 23:13:03 -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 ce4f00acc9 rolling out new filter_value() function to all pages
additionally fixed several minor filtering bugs in many pages
2016-08-22 13:31:06 -05:00
cigamit 85f67930a8 resolving bug#2716 2016-08-20 12:17:07 -05:00
cigamit 1429ee85eb resolving bug#2296 2016-08-18 20:12:41 -05:00
cigamit e08d2e2f53 automation now using snmp sessions and supporting engine id 2016-08-17 21:10:12 -05:00
cigamit 763590f9eb make drag and drop and option 2016-07-16 21:26:39 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
Micke2k 3041980a0e Automation Tree rules not working
This fixes the SQL errors.
2016-05-14 13:15:11 +04:00
cigamit c399664082 rows selector consistency 2016-04-27 12:41:02 -05:00
Micke2k 3afa87a484 Attempt at fixing duplication for automation trees regexp objects.
when duplicating a tree rule, the regexp [search pattern, replace_pattern}] strings throws:

 PHP Warning:  mysql_real_escape_string(): Access denied for user 'apache'@'localhost' (u                  sing password: NO) in /var/www/html/commitcommit4868/lib/api_automation.php on line 1465, referer: http://192.168.206.136/cacti/automation_tree_rules.php

Changed to use the same validation as we use when we save them in the first place.
2016-04-20 00:44:50 +04:00
Micke2k 22dbba9c6d fix for automatic device add
automation_networks= Added add_to_cacti so you can save it in the database

api_automation = fixed some names being wrong
2016-04-06 19:47:47 +04:00
cigamit d0343f6a11 resolving issues with automation graph rule navigation 2016-03-23 09:32:31 -05:00
cigamit fbfc426318 double to single quotes and prepared statements 2016-03-20 10:48:49 -05:00
cigamit 370c870fca remove rra_id from tree item save function 2016-03-19 09:24:52 -05:00
cigamit c60f540686 allow devices to be added to Cacti from Discovered Devices page
pretty big changes to make the discovered devices code layout to conform
to cacti standard.  there are new columns that have to be added to
automation_devices table.
2016-02-21 13:09:18 -06:00
cigamit 63b6d4d6b4 improve logging
improve logging and remove unneeded includes
2016-02-19 19:38:26 -06:00
cigamit 9e4ba06acd minor wording change 2016-02-19 00:40:57 -06:00
cigamit 4814b2c2b6 very minor issue with tree automation 2016-02-17 18:21:34 -06:00
cigamit 1f88ce5ac5 minor rule editing debug 2016-02-16 21:16:13 -06:00