[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] xymongrep yielding no result?
- To: xymon (at) xymon.com
- Subject: Re: [xymon] xymongrep yielding no result?
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Tue, 16 Nov 2010 20:44:26 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <018528ADB17A124D84DD0D081A4C82D22B5CB5F7 (at) exchange.geosoft.com>
- User-agent: nn/6.7.3
In <018528ADB17A124D84DD0D081A4C82D22B5CB5F7 (at) exchange.geosoft.com> Jason Chambers <Jason.Chambers (at) geosoft.com> writes:
>Everytime I run xymongrep, it's not finding any data for anything I'm searc=
>hing for. Everything seems fine in my hosts.cfg file.
>Suggestions?
Congratulations, You've filed the first genuine bug report for beta-3.
This should fix it:
Index: common/xymongrep.c
===================================================================
--- common/xymongrep.c (revision 6590)
+++ common/xymongrep.c (working copy)
@@ -146,7 +146,7 @@
printf("xymongrep version %s\n", VERSION);
exit(0);
}
- else if ((strcmp(argv[argi], "--net") == 0) || (strcmp(argv[argi], "--bbnet"))) {
+ else if ((strcmp(argv[argi], "--net") == 0) || (strcmp(argv[argi], "--bbnet") == 0)) {
include2 = "netinclude";
onlypreferredentry = 0;
}
Regards,
Henrik