Displaying 5 results from an estimated 5 matches for "nattempt".
Did you mean:
attempt
2009 May 28
2
[PATCH node] correctly use collectd udp dns entry
...dex 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_...
2009 Sep 07
1
[PATCH node] Fix SRV_SERVER for SRV_HOST to work with /etc/init.d/ovirt-functions
...onfig-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"
- ovirt_collectd $SRV_SERVER $SRV_PORT...
2010 Oct 26
0
[PATCH node] add collectd.py
...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 + ":" + port)
+ ovirt_collect...
2010 Oct 26
0
[PATCH node] add logging.py
...uot;/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:
+ log("found! Using syslog server " + host + ":" + port)
+ ov...
2012 Sep 17
9
[PATCH] Upgrade vtpmd to berlios version 0.7.4
...+
-+
-+ if (tpm_handle_command(in, in_size, &out, &out_size) != 0) {
-+ printf("ERROR: Handler Failed.\n");
-+ }
-+
-+ written = write(tpm_tx_fh, out, out_size);
-+
-+ if (written != out_size ) {
-+ printf("ERROR: Part of response not written %d/%d.\nAttempt: ",
written, out_size);
-+ } else {
-+ printf("Sent[%Zu]: ", out_size);
-+ }
-+ for (i=0; i< out_size; i++)
-+ printf("%x ", out[i]);
-+ printf("\n");
-+ tpm_free(out);
-+
-+ } // loop
-+
-+ tpm_emulator_shutdown();
-+
-+ close(tpm_t...