SF.net SVN: nagiosplug: [1981] nagiosplug/branches/new_threshold_syntax/ plugins/check_procs.c
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 1981
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1981&view=rev
Author: tonvoon
Date: 2008-04-21 01:57:08 -0700 (Mon, 21 Apr 2008)
Log Message:
-----------
Fixed bug with number threshold
Modified Paths:
--------------
nagiosplug/branches/new_threshold_syntax/plugins/check_procs.c
Modified: nagiosplug/branches/new_threshold_syntax/plugins/check_procs.c
===================================================================
--- nagiosplug/branches/new_threshold_syntax/plugins/check_procs.c 2008-04-21 08:38:43 UTC (rev 1980)
+++ nagiosplug/branches/new_threshold_syntax/plugins/check_procs.c 2008-04-21 08:57:08 UTC (rev 1981)
@@ -354,7 +354,7 @@
}
if (number_threshold != NULL) {
- if (i = get_status( procs, number_threshold ) != STATE_OK) {
+ if ((i = get_status( procs, number_threshold )) != STATE_OK) {
actions_on_failed_state(i, "NUMBER_OF_PROCESSES");
if (verbose >= 2) {
printf("NUMBER: total_procs=%d ", procs);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone