summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce9156f)
raw | patch | inline | side by side (parent: ce9156f)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Sun, 15 Apr 2007 09:03:42 +0000 (09:03 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Sun, 15 Apr 2007 09:03:42 +0000 (09:03 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1690 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_cluster.c | patch | blob | history |
index 98003f1f64ef0b54fba988e7a1fb26a33939846e..10773f04fba8c82e8b214a4b557a87d7fa39a545 100644 (file)
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
break;
default:
break;
- }
}
+ }
else{
switch(data_val){
case 0:
break;
default:
break;
- }
}
}
+ }
/* return the status of the cluster */
state_text(return_code), (label==NULL)?"Service cluster":label,
total_services_ok,total_services_warning,
total_services_unknown,total_services_critical);
- }
+ }
else{
return_code=get_status(total_hosts_down+total_hosts_unreachable, thresholds);
printf("CLUSTER %s: %s: %d up, %d down, %d unreachable\n",
state_text(return_code), (label==NULL)?"Host cluster":label,
total_hosts_up,total_hosts_down,total_hosts_unreachable);
- }
+ }
return return_code;
- }
+}
{"verbose", no_argument, 0,'v'},
{"help", no_argument, 0,'H'},
{0,0,0,0}
- };
+ };
/* no options were supplied */
if(argc<2)
default:
return ERROR;
break;
- }
- }
+ }
+ }
if(data_vals==NULL)
return ERROR;