[Ovirt-devel] [PATCH node] correctly use collectd udp dns entry

Mohammed Morsi mmorsi at redhat.com
Thu May 28 16:28:46 UTC 2009


---
 scripts/ovirt                 |    2 +-
 scripts/ovirt-config-collectd |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/ovirt b/scripts/ovirt
index 8296783..4a7cbc7 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@ -43,7 +43,7 @@ start() {
         log "skipping ovirt-awake, oVirt identify service not available"
     fi
 
-    find_srv collectd tcp
+    find_srv collectd udp
     if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
         collectd_conf=/etc/collectd.conf
         if [ -f $collectd_conf.in ]; then
diff --git a/scripts/ovirt-config-collectd b/scripts/ovirt-config-collectd
index e509e54..236ddaa 100755
--- a/scripts/ovirt-config-collectd
+++ b/scripts/ovirt-config-collectd
@@ -92,7 +92,7 @@ prompt_user() {
 if [ "$1" = "AUTO" ]; then
     if [ -z "$OVIRT_COLLECTD_SERVER" -o -z "$OVIRT_COLLECTD_PORT" ]; then
         printf "\nAttempting to locate remote collectd server..."
-        find_srv collectd tcp
+        find_srv collectd udp
         if [ -n "$SRV_SERVER" -a -n "$SRV_PORT" ]; then
             printf "found! Using collectd server '$SRV_SERVER:$SRV_PORT'.\n"
             ovirt_collectd $SRV_SERVER $SRV_PORT
-- 
1.6.0.6




More information about the ovirt-devel mailing list