Displaying 3 results from an estimated 3 matches for "ovirt_collectd_port".
2010 Oct 26
0
[PATCH node] add collectd.py
...+ os.system("chkconfig collectd on")
+ os.system("service collectd restart")
+
+# AUTO for auto-install
+if len(sys.argv) > 1:
+ if sys.argv[1] == "AUTO":
+ if not OVIRT_VARS.has_key("OVIRT_COLLECTD_SERVER") or not OVIRT_VARS.has_key["OVIRT_COLLECTD_PORT"]:
+ log("\nAttempting to locate remote collectd server...")
+ host, port = find_srv("collectd", "udp")
+ if not host is None and not port is None:
+ log("found! Using collectd server " + host + ":&quo...
2009 May 28
2
[PATCH node] correctly use collectd udp dns entry
.../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_SERV...
2009 Sep 07
1
[PATCH node] Fix SRV_SERVER for SRV_HOST to work with /etc/init.d/ovirt-functions
...f --git a/scripts/ovirt-config-collectd b/scripts/ovirt-config-collectd
index 4ad877e..1474bf5 100755
--- a/scripts/ovirt-config-collectd
+++ b/scripts/ovirt-config-collectd
@@ -98,9 +98,9 @@ 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 udp
- if [ -n "$SRV_SERVER" -a -n "$SRV_PORT" ]; then
- printf "found! Using collectd server '$SRV_SERVER:$SRV_PORT'.\n"
-...