From: Matt P. <mat...@ci...> - 2004-02-27 15:46:04
|
On Fri, 27 Feb 2004, Karl DeBisschop wrote: > On Thu, 26 Feb 2004 15:54:05 -0600 > jeff vier <jef...@tr...> wrote: > > > On Thu, 2004-02-26 at 14:48, And...@bl... wrote: > > > Is it possible to pass a community string with a ! to check_snmp > > > from nagios, and if so, how? > > > > try \! > > You might also try putting it into a $USERx$ variable, which if it > works has the added benefit of prventing its display in the web > interface. Unfortunately, that won't work. As I've brougt up a few times on the list, $USERn$ variables don't work in service definitions, only command definitions. It can still be made to work, but it means a separate check command for each community string in use. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 mat...@ci... Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca |