Ian Berry
2b6c172b4a
add support for the new poller* tables
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1609 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-24 19:15:35 +00:00
Ian Berry
7fe0a35248
adding an actions dropdown to the host template screen with duplicate support (bug#0000151)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1564 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-07 01:56:35 +00:00
Ian Berry
13e9f55caf
snmp -> data query name cleanup
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1562 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-07 01:08:10 +00:00
Ian Berry
420294e60d
spacing
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1551 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-05-13 23:58:00 +00:00
Ian Berry
b12fe12145
make sure to keep the data_input_data_fcache table clean
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1518 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-03-05 07:50:21 +00:00
Ian Berry
2056be7759
non-snmp data sources were not being removed from the poller cache when a host became 'disabled' (bug#133)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1497 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-02-01 00:13:40 +00:00
Ian Berry
4408f18def
update the way templated custom data fields work:
...
- if the field is templated, empty, and a host field; use the host value
- if the field is template, non-empty, and a host field, use the template field value
- if the field is non-templated, use the user-specified value (per-data source)
unify the valid host field check in lib/config_form.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1485 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-25 02:38:32 +00:00
Ian Berry
9014054837
updated the copyright to 2004
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1469 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-19 06:05:14 +00:00
Ian Berry
ff6bb45b23
fix undefined function error
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1425 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-12-18 01:08:37 +00:00
Ian Berry
b6bd75f615
updating to point to new includes
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1419 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-12-17 06:07:16 +00:00
Ian Berry
6e9a536fe0
applying jeff vier's typo patch
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1391 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-19 01:28:56 +00:00
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