I had a bb-host entry that looked like the following:
128.210.003.177 zorn.math.purdue.edu #
bbd ntp ssh smtp imaps pop3s
http://hobbit.math.purdue.edu/
https://helpdesk.math.purdue.edu/
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|
vmstat8|vmstat9|vmstat0,
netstat:netstat0|netstat1|netstat2|netstat3
In the above format I would not get vmstat[8,9,0] TRENDS but I would get the netstat TRENDS.
When I changed the lines to look like the following it all worked.
128.210.003.177 zorn.math.purdue.edu #
bbd ntp ssh smtp imaps pop3s
http://hobbit.math.purdue.edu/
https://helpdesk.math.purdue.edu/
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|vmstat8|vmstat9|vmstat0,
netstat:netstat0|netstat1|netstat2|netstat3
Is there something in the TRENDS format that require things to be on the same line?
Thanks
Robert
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: rmcgraw at purdue.edu
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (765) 494-6055
150 N. University Street
West Lafayette, IN 47907-2067
On Tue, Feb 12, 2008 at 11:25:59AM -0500, McGraw, Robert P wrote:
I had a bb-host entry that looked like the following:
128.210.003.177 zorn.math.purdue.edu #
bbd ntp ssh smtp imaps pop3s
http://hobbit.math.purdue.edu/
https://helpdesk.math.purdue.edu/
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|
vmstat8|vmstat9|vmstat0,
netstat:netstat0|netstat1|netstat2|netstat3In the above format I would not get vmstat[8,9,0] TRENDS but I would get the netstat TRENDS.
When I changed the lines to look like the following it all worked.
128.210.003.177 zorn.math.purdue.edu #
bbd ntp ssh smtp imaps pop3s
http://hobbit.math.purdue.edu/
https://helpdesk.math.purdue.edu/
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|vmstat8|vmstat9|vmstat0,
netstat:netstat0|netstat1|netstat2|netstat3Is there something in the TRENDS format that require things to be on the same line?
The code handling line continuation does have some subtleties, yes. I would recommend not splitting a single setting over multiple lines.
Regards, Henrik
On Tuesday 12 February 2008 18:25:59 McGraw, Robert P wrote:
I had a bb-host entry that looked like the following:
128.210.003.177 zorn.math.purdue.edu #
bbd ntp ssh smtp imaps pop3s
http://hobbit.math.purdue.edu/
https://helpdesk.math.purdue.edu/
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|
vmstat8|vmstat9|vmstat0,
netstat:netstat0|netstat1|netstat2|netstat3In the above format I would not get vmstat[8,9,0] TRENDS but I would get the netstat TRENDS.
When I changed the lines to look like the following it all worked.
128.210.003.177 zorn.math.purdue.edu #
bbd ntp ssh smtp imaps pop3s
http://hobbit.math.purdue.edu/
https://helpdesk.math.purdue.edu/
TRENDS:vmstat:vmstat2|vmstat3|vmstat6|vmstat7|vmstat8|vmstat9|vmstat0,
netstat:netstat0|netstat1|netstat2|netstat3Is there something in the TRENDS format that require things to be on the same line?
No, but your first format is introducing white space in the list of TRENDS, so you should either avoid breaking a single token, or avoid leading spaces on a continued line.
Regards, Buchan
participants (3)
-
bgmilne@staff.telkomsa.net
-
henrik@hswn.dk
-
rmcgraw@purdue.edu