Larry Adams
cfabe1c8a1
Remove contrib code variation.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4240 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-14 17:41:05 +00:00
Larry Adams
3319595de4
Synchronize return codes and add messages when arguments are invalid.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4239 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-13 22:25:50 +00:00
Reinhard Scheck
977714ff3d
issue with --list-graph-templates fixed
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4237 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-13 20:40:11 +00:00
Larry Adams
60d790fff2
Remove some debugging.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4236 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-13 19:56:26 +00:00
Larry Adams
ff59f780ce
1) Allow a host to be added without a template or template=none
...
2) Allow the specification of input fields during graph creation time.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4235 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-13 19:19:46 +00:00
Reinhard Scheck
7b334e39db
added some --list options
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4232 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-13 18:57:26 +00:00
Reinhard Scheck
de72ee0119
some minor fixes on optional parameters
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4229 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-12 21:27:24 +00:00
Reinhard Scheck
81dc320b5e
all list options implemented
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4228 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-12 19:58:49 +00:00
Larry Adams
bd696c03d6
Add graphs does not work for arbitrary field values. This fix fixes that :)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4225 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-11 22:12:43 +00:00
Reinhard Scheck
f8815595a1
refactoring parameters calls to option=value
...
added some --list options
added some more sanity checks
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4224 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-11 18:57:30 +00:00
Larry Adams
a3aee0fa65
make calling parameters consistent with all API functions.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4219 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-08 20:01:51 +00:00
Reinhard Scheck
424fb9e687
Fixed type on error message
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4216 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-07 19:00:48 +00:00
Reinhard Scheck
d99a8f7e49
Parameter usage changes:
...
- notes is an optional input, defaults to ""
- avail is an optional input, defaults to 1 (pingsnmp)
- ping_method defaults to 3 (tcp)
- re-ordering of help texts in same order as given in the command line options
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4215 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-07 16:47:24 +00:00
Reinhard Scheck
4f1d42b8d6
Initialization issue for $filter, $host_id
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4214 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-07 14:11:55 +00:00
Reinhard Scheck
bf35e20fd3
Add standard help messages
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4213 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-07 13:47:18 +00:00
Larry Adams
553e10f73a
-bug:Add graphs will repeatedly add data query graphs instead of erroring out as expected.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4207 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-27 04:57:13 +00:00
Larry Adams
7ff186ebff
-bug#0001014: cli/add_ verbosity
...
-bug#0001015: cli/add_tree.php syntax error on line 151
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4187 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-22 07:58:26 +00:00
Larry Adams
6f26737a33
-bug#:0001005: An equal symbol is forgotten displaying the add_graphs.php help
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4157 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 04:43:02 +00:00
Larry Adams
64efe41d43
Add support for snmpV3 context's.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4152 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 01:17:39 +00:00
Tony Roman
8d7246db28
Syntax and coding error
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4146 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-11 00:36:24 +00:00
Larry Adams
4ace407a45
correct avail_method
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4121 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-04 12:55:51 +00:00
Larry Adams
00b8bed33b
-bug#0000991: cacti revision 4112: add_graphs.php trhows Undefined variable
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4117 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-04 12:07:53 +00:00
Larry Adams
e46f3cb02f
Tweak the add_device.php to add defaults for ping.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4116 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-04 12:00:31 +00:00
Larry Adams
2686332b0f
Add additional list-hosts options.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4115 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-04 11:43:33 +00:00
Larry Adams
88e4f144f9
Add notes to add_device.php
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4114 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-04 11:17:17 +00:00
Tony Roman
ccebb7865b
Added batch (template) user copy and updated no header file array to include all cli utilities
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4069 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-08-13 00:31:15 +00:00
Larry Adams
d1769a423e
A new handy utility.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4025 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-19 13:43:04 +00:00
Tony Roman
4fe05b968b
Altered config.php, and include/config_* to include/global_*
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4007 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-05 04:45:43 +00:00
Tony Roman
aabf6f344d
Restrict cli directory with .htaccess
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4006 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-05 03:51:28 +00:00
Tony Roman
7f07cf6457
Moved CLI scripts to cli sub directory
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4005 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-05 03:50:46 +00:00