summaryrefslogtreecommitdiff
path: root/templates/system/syslog
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/syslog')
-rw-r--r--templates/system/syslog/console/facility/node.def11
-rw-r--r--templates/system/syslog/console/facility/node.tag/level/node.def3
-rw-r--r--templates/system/syslog/console/node.def1
-rw-r--r--templates/system/syslog/file/node.def4
-rw-r--r--templates/system/syslog/file/node.tag/archive/files/node.def3
-rw-r--r--templates/system/syslog/file/node.tag/archive/node.def8
-rw-r--r--templates/system/syslog/file/node.tag/archive/size/node.def3
-rw-r--r--templates/system/syslog/file/node.tag/facility/node.def13
-rw-r--r--templates/system/syslog/file/node.tag/facility/node.tag/level/node.def3
-rw-r--r--templates/system/syslog/global/archive/files/node.def3
-rw-r--r--templates/system/syslog/global/archive/node.def8
-rw-r--r--templates/system/syslog/global/archive/size/node.def3
-rw-r--r--templates/system/syslog/global/facility/node.def11
-rw-r--r--templates/system/syslog/global/facility/node.tag/level/node.def3
-rw-r--r--templates/system/syslog/global/node.def1
-rw-r--r--templates/system/syslog/host/node.def3
-rw-r--r--templates/system/syslog/host/node.tag/facility/node.def11
-rw-r--r--templates/system/syslog/host/node.tag/facility/node.tag/level/node.def3
-rw-r--r--templates/system/syslog/node.def3
-rw-r--r--templates/system/syslog/user/node.def3
-rw-r--r--templates/system/syslog/user/node.tag/facility/node.def14
-rw-r--r--templates/system/syslog/user/node.tag/facility/node.tag/level/node.def3
22 files changed, 0 insertions, 118 deletions
diff --git a/templates/system/syslog/console/facility/node.def b/templates/system/syslog/console/facility/node.def
deleted file mode 100644
index bfe3856..0000000
--- a/templates/system/syslog/console/facility/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-tag:
-type: txt
-help: "Configure facility for console logging"
-create: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' '\\/dev\\/console' \
-\\\"$(@).\\\\\$LVL\t/dev/console\n\\\"\" "
-update: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' '\\/dev\\/console' \
-\\\"$(@).\\\\\$LVL\t/dev/console\n\\\"\" "
-delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_syslog.pl \
-'$(@)\\.' '\\/dev\\/console' ''\" "
diff --git a/templates/system/syslog/console/facility/node.tag/level/node.def b/templates/system/syslog/console/facility/node.tag/level/node.def
deleted file mode 100644
index 9be459c..0000000
--- a/templates/system/syslog/console/facility/node.tag/level/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: txt
-help: "Configure the logging level"
-default: "err"
diff --git a/templates/system/syslog/console/node.def b/templates/system/syslog/console/node.def
deleted file mode 100644
index e30721d..0000000
--- a/templates/system/syslog/console/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: "Configure console logging"
diff --git a/templates/system/syslog/file/node.def b/templates/system/syslog/file/node.def
deleted file mode 100644
index d62d261..0000000
--- a/templates/system/syslog/file/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-tag:
-type: txt
-help: "Name of the syslog file to save log messages to"
-syntax: pattern $(@) "^[-a-zA-Z0-9_.]+$" ; "invalid file name $(@)"
diff --git a/templates/system/syslog/file/node.tag/archive/files/node.def b/templates/system/syslog/file/node.tag/archive/files/node.def
deleted file mode 100644
index ca2bf17..0000000
--- a/templates/system/syslog/file/node.tag/archive/files/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: u32
-help: "Number of saved files"
-default: 5
diff --git a/templates/system/syslog/file/node.tag/archive/node.def b/templates/system/syslog/file/node.tag/archive/node.def
deleted file mode 100644
index d0b0e23..0000000
--- a/templates/system/syslog/file/node.tag/archive/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-help: "Configure log file size and rotation characteristics"
-# need mandatory files & size
-create: "sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$(../@)' '$(files/@)' '$(size/@)' 1\" "
-update: "sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$(../@)' '$(files/@)' '$(size/@)' 1\" "
-delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$(../@)' '$(files/@)' '$(size/@)' 0\" "
diff --git a/templates/system/syslog/file/node.tag/archive/size/node.def b/templates/system/syslog/file/node.tag/archive/size/node.def
deleted file mode 100644
index a5ace52..0000000
--- a/templates/system/syslog/file/node.tag/archive/size/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: u32
-help: "Size of log files (kbytes)"
-default: 0
diff --git a/templates/system/syslog/file/node.tag/facility/node.def b/templates/system/syslog/file/node.tag/facility/node.def
deleted file mode 100644
index 3ef56e3..0000000
--- a/templates/system/syslog/file/node.tag/facility/node.def
+++ /dev/null
@@ -1,13 +0,0 @@
-tag:
-type: txt
-help: "Configure facility for file logging"
-create: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' \
-'\\/var\\/log\\/user\\/$(../@)' \
-\\\"$(@).\\\\\$LVL\t/var/log/user/$(../@) \n\\\"\" "
-update: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' \
-'\\/var\\/log\\/user\\/$(../@)' \
-\\\"$(@).\\\\\$LVL\t/var/log/user/$(../@) \n\\\"\" "
-delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' \
-'\\/var\\/log\\/user\\/$(../@)' ''\" "
diff --git a/templates/system/syslog/file/node.tag/facility/node.tag/level/node.def b/templates/system/syslog/file/node.tag/facility/node.tag/level/node.def
deleted file mode 100644
index 9be459c..0000000
--- a/templates/system/syslog/file/node.tag/facility/node.tag/level/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: txt
-help: "Configure the logging level"
-default: "err"
diff --git a/templates/system/syslog/global/archive/files/node.def b/templates/system/syslog/global/archive/files/node.def
deleted file mode 100644
index ca2bf17..0000000
--- a/templates/system/syslog/global/archive/files/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: u32
-help: "Number of saved files"
-default: 5
diff --git a/templates/system/syslog/global/archive/node.def b/templates/system/syslog/global/archive/node.def
deleted file mode 100644
index dcfc244..0000000
--- a/templates/system/syslog/global/archive/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-help: "Configure log file size and rotation characteristics"
-# need mandatory files & size
-create: "sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$(files/@)' '$(size/@)' 1\" "
-update: "sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$(files/@)' '$(size/@)' 1\" "
-delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \
-'$(files/@)' '$(size/@)' 0\" "
diff --git a/templates/system/syslog/global/archive/size/node.def b/templates/system/syslog/global/archive/size/node.def
deleted file mode 100644
index 3c8da6e..0000000
--- a/templates/system/syslog/global/archive/size/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: u32
-help: "Size of log files (kbytes)"
-default: 250
diff --git a/templates/system/syslog/global/facility/node.def b/templates/system/syslog/global/facility/node.def
deleted file mode 100644
index cd037f6..0000000
--- a/templates/system/syslog/global/facility/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-tag:
-type: txt
-help: "Configure facility for system logging"
-create: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl '' '\\/var\\/log\\/messages' \
-\\\"$(@).\\\\\$LVL\t/var/log/messages \n\\\"\" "
-update: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl '' '\\/var\\/log\\/messages' \
-\\\"$(@).\\\\\$LVL\t/var/log/messages \n\\\"\" "
-delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_syslog.pl \
-'' '\\/var\\/log\\/messages' '*.warning\t/var/log/messages \n'\" "
diff --git a/templates/system/syslog/global/facility/node.tag/level/node.def b/templates/system/syslog/global/facility/node.tag/level/node.def
deleted file mode 100644
index 9be459c..0000000
--- a/templates/system/syslog/global/facility/node.tag/level/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: txt
-help: "Configure the logging level"
-default: "err"
diff --git a/templates/system/syslog/global/node.def b/templates/system/syslog/global/node.def
deleted file mode 100644
index b516645..0000000
--- a/templates/system/syslog/global/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: "Configure system logging"
diff --git a/templates/system/syslog/host/node.def b/templates/system/syslog/host/node.def
deleted file mode 100644
index a349582..0000000
--- a/templates/system/syslog/host/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-tag:
-type: txt
-help: "IP address or hostname of remote syslog server"
diff --git a/templates/system/syslog/host/node.tag/facility/node.def b/templates/system/syslog/host/node.tag/facility/node.def
deleted file mode 100644
index 2dc56e6..0000000
--- a/templates/system/syslog/host/node.tag/facility/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-tag:
-type: txt
-help: "Configure facility for host logging"
-create: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' '@$(../@) ' \
-\\\"$(@).\\\\\$LVL\t@$(../@) \n\\\"\" "
-update: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' '@$(../@) ' \
-\\\"$(@).\\\\\$LVL\t@$(../@) \n\\\"\" "
-delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_syslog.pl '$(@)\\.' \
-'@$(../@) ' ''\" "
diff --git a/templates/system/syslog/host/node.tag/facility/node.tag/level/node.def b/templates/system/syslog/host/node.tag/facility/node.tag/level/node.def
deleted file mode 100644
index 9be459c..0000000
--- a/templates/system/syslog/host/node.tag/facility/node.tag/level/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: txt
-help: "Configure the logging level"
-default: "err"
diff --git a/templates/system/syslog/node.def b/templates/system/syslog/node.def
deleted file mode 100644
index 04d3675..0000000
--- a/templates/system/syslog/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: "Configure syslog daemon"
-delete: "sh -c \"/opt/vyatta/sbin/vyatta_update_syslog.pl \
-'' '\\/var\\/log\\/messages' '*.warning\t/var/log/messages \n'\" "
diff --git a/templates/system/syslog/user/node.def b/templates/system/syslog/user/node.def
deleted file mode 100644
index ba731ca..0000000
--- a/templates/system/syslog/user/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-tag:
-type: txt
-help: "Configure syslog user account output"
diff --git a/templates/system/syslog/user/node.tag/facility/node.def b/templates/system/syslog/user/node.tag/facility/node.def
deleted file mode 100644
index 1b22747..0000000
--- a/templates/system/syslog/user/node.tag/facility/node.def
+++ /dev/null
@@ -1,14 +0,0 @@
-tag:
-type: txt
-help: "Configure facility for user logging"
-create: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl \\\"$(@)\\.\\\\\$LVL\\\" \
-' $(../@) ' \
-\\\"$(@).\\\\\$LVL $(../@) \n\\\"\" "
-update: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl \\\"$(@)\\.\\\\\$LVL\\\" \
-' $(../@) ' \
-\\\"$(@).\\\\\$LVL $(../@) \n\\\"\" "
-delete: "sh -c \"LVL=`echo -n $(level/@) | tr '[a-z]' '[A-Z]'` && \
-/opt/vyatta/sbin/vyatta_update_syslog.pl \\\"$(@)\\.\\\\\$LVL\\\" \
-' $(../@) ' ''\" "
diff --git a/templates/system/syslog/user/node.tag/facility/node.tag/level/node.def b/templates/system/syslog/user/node.tag/facility/node.tag/level/node.def
deleted file mode 100644
index 9be459c..0000000
--- a/templates/system/syslog/user/node.tag/facility/node.tag/level/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: txt
-help: "Configure the logging level"
-default: "err"