Displaying 3 results from an estimated 3 matches for "ovirt_syslog_server".
2010 Oct 26
0
[PATCH node] add logging.py
...fig = open(RSYSLOG_FILE, "w")
+ rsyslog_config.write(rsyslog_config_out)
+ rsyslog_config.close()
+ os.system("/sbin/service rsyslog restart")
+
+if len(sys.argv) > 1:
+ try:
+ if sys.argv[1] == "AUTO":
+ if not OVIRT_VARS.has_key("OVIRT_SYSLOG_SERVER") or not OVIRT_VARS.has_key("OVIRT_SYSLOG_PORT"):
+
+ log("\nAttempting to locate remote syslog server...")
+ host, port = find_srv("syslog", "udp")
+ if not host is None and not port is None:...
2011 Jul 21
0
[PATCH] add netconsole autoinstall parameter
...;EOF
+set /files/etc/sysconfig/netconsole/SYSLOGADDR $OVIRT_NETCONSOLE_SERVER
+set /files/etc/sysconfig/netconsole/SYSLOGPORT $OVIRT_NETCONSOLE_PORT
+EOF
+ ovirt_store_config /etc/sysconfig/netconsole
+}
# AUTO for auto-install
if [ "$1" = "AUTO" ]; then
if [ -z "$OVIRT_SYSLOG_SERVER" -o -z "$OVIRT_SYSLOG_PORT" ]; then
@@ -189,6 +196,10 @@ if [ "$1" = "AUTO" ]; then
printf "\nUsing default syslog server '$OVIRT_SYSLOG_SERVER:$OVIRT_SYSLOG_PORT'.\n"
ovirt_rsyslog $OVIRT_SYSLOG_SERVER $OVIRT_SYSLOG_PORT udp...
2009 Sep 07
1
[PATCH node] Fix SRV_SERVER for SRV_HOST to work with /etc/init.d/ovirt-functions
...tf "not found!\n"
fi
diff --git a/scripts/ovirt-config-logging b/scripts/ovirt-config-logging
index 464dfcb..d8e5c95 100755
--- a/scripts/ovirt-config-logging
+++ b/scripts/ovirt-config-logging
@@ -179,9 +179,9 @@ if [ "$1" = "AUTO" ]; then
if [ -z "$OVIRT_SYSLOG_SERVER" -o -z "$OVIRT_SYSLOG_PORT" ]; then
printf "\nAttempting to locate remote syslog server..."
find_srv syslog udp
- if [ -n "$SRV_SERVER" -a -n "$SRV_PORT" ]; then
- printf "found! Using syslog server '$SRV_SERV...