search for: ovirt_rsyslog

Displaying 4 results from an estimated 4 matches for "ovirt_rsyslog".

2010 Oct 26
0
[PATCH node] add logging.py
.../var/log/boot.log + +\$WorkDirectory /var/spool/rsyslog +\$ActionQueueFileName ovirtNode +\$ActionQueueMaxDiskSpace 10m +\$ActionQueueSaveOnShutdown on +\$ActionQueueType LinkedList +\$ActionResumeRetryCount -1 +*.* %(delim)s%(server)s:s(port)s +""" + + +def ovirt_rsyslog(server, port, protocol): + if protocol == "tcp": + DELIM="@@" + else: + DELIM="@" + + rsyslog_dict = { + "delim" : DELIM, + "server" : server, + "port" : port + } + rsyslog_config_out = RSY...
2009 Sep 07
1
[PATCH node] Fix SRV_SERVER for SRV_HOST to work with /etc/init.d/ovirt-functions
...ot; ]; 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_SERVER:$SRV_PORT'.\n" - ovirt_rsyslog $SRV_SERVER $SRV_PORT udp + if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then + printf "found! Using syslog server '$SRV_HOST:$SRV_PORT'.\n" + ovirt_rsyslog $SRV_HOST $SRV_PORT udp else printf "not found!\n&qu...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...n - printf "\nSaving configuration.\n" - if [[ -n "$syslog_server_ip" ]] && - [[ -n "$syslog_server_port" ]] && - [[ -n "$syslog_server_protocol" ]]; then - ovirt_rsyslog $syslog_server_ip \ - $syslog_server_port \ - $syslog_server_protocol - fi - sed -c -i -e "s/^size=.*/size=${max_log_size}k/" \ - /etc/logrotate.d/ovirt-logrotate.conf - return -...
2011 Jul 21
0
[PATCH] add netconsole autoinstall parameter
...t;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 fi + if [ -n "$OVIRT_NETCONSOLE_SERVER" -a -n "$OVIRT_NETCONSOLE_PORT" ]; then + printf "\nConfiguring netconsole server..." + ovirt_netconsole + fi else printf "\n\n Logging Configuration\...