Commit Graph
69 Commits
Author SHA1 Message Date
Ian Berry 5360125760 add clean_up_path() to normalize paths for win32/unix and impliment
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1358 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-08 22:34:18 +00:00
Ian Berry 289b5e59dc missing comma was causing script queries not to appear in the poller cache
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1340 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-07 00:26:06 +00:00
Ian Berry 1500eb2f3b fix array bug created when the xml->array change was made a few days back
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1294 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-26 02:27:28 +00:00
Ian Berry 7f17afd9c2 move some template related functions into lib/template.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1265 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-14 04:35:47 +00:00
Ian Berry 72f2cea5b7 add snmp timeout
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1261 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-10 03:55:07 +00:00
Ian Berry 0ff3bc7702 replace the management_ip field with hostname
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1252 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-09 07:13:53 +00:00
Ian Berry 512901136c changing references to 'config_arrays.php' to 'config_form.php'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1236 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-24 01:12:31 +00:00
Ian Berry 39866609d3 unified all edit form code; updated references to the new 'lib/' directory
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1228 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-22 04:31:58 +00:00
Ian Berry b221f88940 typo
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1220 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-16 03:13:59 +00:00
Ian Berry 103de1555e fix when changing data templates
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1182 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-24 18:18:32 +00:00
Ian Berry 813521ace1 fixed several problems updating certain columns when changing or turning off a graph/data template
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1158 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-19 06:36:52 +00:00
Ian Berry e4f3645013 fix a few problem updating the poller cache when no host is in use
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1104 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-07-14 21:44:58 +00:00
Ian Berry 33dd3c6314 add support for the new 'host_id' column in the 'data_input_data_cache' table
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1086 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-07-09 07:24:25 +00:00
Ian Berry 3ee29dc9fc create push out title cache from template functions and impliment
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1051 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-06-14 15:51:53 +00:00
Ian Berry ae10851579 fixed bug updating ds/graph snmp cache when snmp index was not an int
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1033 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-06-08 19:55:01 +00:00
Ian Berry cf3f70930b a few ds/graph duplication fixes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@997 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-30 02:51:11 +00:00
Ian Berry 4d2060bcae added graph/data source title cache
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@983 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-28 21:22:48 +00:00
Ian Berry 33c2ae0f96 fix bug when adding/removing items to a graph template
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@982 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-28 19:16:15 +00:00
Ian Berry 7320f47cd5 added on-the-fly data query variable subsitution
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@972 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-27 06:20:23 +00:00
Ian Berry 1d8b6b216f fix some push_out_data_template() stuff
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@952 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-23 07:16:48 +00:00
Ian Berry 9d1808863a changes to enable cacti to work under 'open_basedir'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@914 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-13 01:07:01 +00:00
Ian Berry 2a88be8970 pull down ALL fields from the template if the ds/graph is new
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@891 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-27 03:18:52 +00:00
Ian Berry 8ba7fb73fc get rid of the $paths[] array for various session related reasons
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@885 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-23 22:07:52 +00:00
Ian Berry b1408ecc5c fixed a problem when turning off a data template
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@884 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-23 21:40:23 +00:00
Ian Berry 6b1c594127 fixed bug with poller cache updating
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@869 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-19 06:08:28 +00:00
Ian Berry 7ccb689245 convert field value query to a JOIN in case the value is NULL
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@856 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-15 23:13:05 +00:00
Ian Berry 48f8cd6bae extended duplicate_graph() and duplicate_data_source() to work with templates as well
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@839 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-14 00:42:09 +00:00
Ian Berry 2b55d29ca7 debugging post-import poller re-cache issues
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@743 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-22 05:54:44 +00:00
Ian Berry a1ab80d27f debugging post-import poller re-cache issues
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@742 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-22 05:31:37 +00:00
Ian Berry 21b3977c3a added logic to handle script queries and the poller cache
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@720 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-20 06:22:15 +00:00
Ian Berry b56dd2c99c only cache snmp inputs now, and retrieve outputs on the fly from the xml file when needed
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@702 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-16 23:15:10 +00:00
Ian Berry a282a339d6 update poller cache when pushing out host data
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@607 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-02 07:18:25 +00:00
Ian Berry cd9ff3c6a8 make sure to clear the local* columns when converting to a template
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@587 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-24 01:27:28 +00:00
Ian Berry 0896a54a55 added graph_to_graph_template() and data_source_to_data_template() functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@580 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-23 22:45:42 +00:00
Ian Berry 5f81200706 added duplicate graph and duplicate data source functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@574 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-23 06:28:52 +00:00
Ian Berry 16d4328b12 push_out_graph_item() fixes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@556 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-20 01:58:55 +00:00
Ian Berry ab3dc463d2 multi-ds output cache fixes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@534 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-17 08:38:47 +00:00
Ian Berry 129a9651e8 cleanup
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@522 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-16 07:01:26 +00:00
Ian Berry ac7fc283e3 multiple graph template per snmp query support
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@510 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-13 08:11:11 +00:00
Ian Berry 85dd291c42 making everything work under E_ALL
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@483 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-09 09:19:28 +00:00
Ian Berry 57ddee62db stupid variable mismatch
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@481 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-06 06:14:33 +00:00
Ian Berry 15a54df00a '<?' -> '<?php', updated copyright on top of each file
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@446 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-29 02:40:41 +00:00
Ian Berry 037866f30d added handling for data input type 'snmp'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@443 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-28 06:43:52 +00:00
Ian Berry d8f440f2ab updated data input cache action types to match rixx's
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@422 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-23 01:07:54 +00:00
Ian Berry 39ee5b50b2 got rid of some old functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@408 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-19 09:26:53 +00:00
Ian Berry b026b011da added update_poller_cache() function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@399 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-18 17:55:21 +00:00
Ian Berry d1721c6607 change_data_template() bugfixes and addition of pushing out data input field values
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@375 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-13 05:38:32 +00:00
Ian Berry ccbf9e959c cleaned up change_data_template() function; got rid of $_data_template_id arg
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@347 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-07 08:31:25 +00:00
Ian Berry d7e71f53ae convert template propagate functions to use form item arrays
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@338 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-04 09:42:21 +00:00
Ian Berry c66d599d3f hard coded typo
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@325 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-25 07:28:47 +00:00