wildcard /regex for PROC in analysis.cfg file?
Can I do something like:
HOST=foo PROC "/path/to/perl .* MyPerlScript.pl" 1 1 red
?
Basically, I've got a command run by a custom version of perl, and the command line has a bunch of -I arguments put in by the wrapper of the software packages. I can't not have them, it's the way the vendor built the system.
But I also don't want to get a red alarm if someone is grep/vi/more/lessing the file.
Or is there another way?
Paul.
I suppose if I read the comments at the top of the analysis.cfg file, I would have found my answer.
Sorry to waste the bandwidth.
Paul.
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Root, Paul Sent: Wednesday, January 16, 2013 3:15 PM To: 'xymon at xymon.com' Subject: [Xymon] wildcard /regex for PROC in analysis.cfg file?
Can I do something like:
HOST=foo PROC "/path/to/perl .* MyPerlScript.pl" 1 1 red
?
Basically, I've got a command run by a custom version of perl, and the command line has a bunch of -I arguments put in by the wrapper of the software packages. I can't not have them, it's the way the vendor built the system.
But I also don't want to get a red alarm if someone is grep/vi/more/lessing the file.
Or is there another way?
Paul.
participants (1)
-
Paul.Root@CenturyLink.com