summaryrefslogtreecommitdiffstats
path: root/plugins/check_load.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-03-14 04:09:19 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-03-14 04:09:19 (GMT)
commit4e318b9277ba5209fab447da5afa3c0a22a681d9 (patch)
tree65e99d3a8181584d75726390c5968270c21afa63 /plugins/check_load.c
parentb86b521b38a993b49e03f827859aea672fdfa806 (diff)
downloadmonitoring-plugins-4e318b9277ba5209fab447da5afa3c0a22a681d9.tar.gz
use fperfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@849 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_load.c')
-rw-r--r--plugins/check_load.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index ba942c5..fc7e949 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -152,9 +152,9 @@ main (int argc, char **argv)
152 "%s - %s|%s %s %s\n", 152 "%s - %s|%s %s %s\n",
153 state_text (result), 153 state_text (result),
154 status_line, 154 status_line,
155 perfdata ("load1", la1, "", wload1, wload1, cload1, cload1, TRUE, 0, FALSE, 0), 155 fperfdata ("load1", la1, "", (int)wload1, wload1, (int)cload1, cload1, TRUE, 0, FALSE, 0),
156 perfdata ("load5", la5, "", wload5, wload5, cload5, cload5, TRUE, 0, FALSE, 0), 156 fperfdata ("load5", la5, "", (int)wload5, wload5, (int)cload5, cload5, TRUE, 0, FALSE, 0),
157 perfdata ("load15", la15, "", wload15, wload15, cload15, cload15, TRUE, 0, FALSE, 0)); 157 fperfdata ("load15", la15, "", (int)wload15, wload15, (int)cload15, cload15, TRUE, 0, FALSE, 0));
158 return STATE_OK; 158 return STATE_OK;
159} 159}
160 160