[Nagiosplug-checkins] nagiosplug/plugins check_swap.c,1.46,1.47
Ton Voon
tonvoon at users.sourceforge.net
Wed Jan 19 13:15:40 CET 2005
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5843
Modified Files:
check_swap.c
Log Message:
Fixed parsing of AIX lsps command (1093522)
Index: check_swap.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_swap.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- check_swap.c 13 Jan 2005 18:24:52 -0000 1.46
+++ check_swap.c 19 Jan 2005 21:14:47 -0000 1.47
@@ -136,7 +136,7 @@
# ifdef _AIX
if (!allswaps) {
asprintf(&swap_command, "%s", "/usr/sbin/lsps -s");
- asprintf(&swap_format, "%s", "%d%*s %d");
+ asprintf(&swap_format, "%s", "%f%*s %f");
conv_factor = 1;
}
# endif
More information about the Commits
mailing list