"!" in SNMP Community?

Aaron Segura Aaron.Segura at cabelas.com
Fri Jan 19 22:18:38 CET 2007


Create a $USERn$ macro with your community name in it and use that in
your commands...

http://nagios.sourceforge.net/docs/2_0/macros.html (go to the bottom and
check out the '$USERn$' entry)

http://nagios.sourceforge.net/docs/2_0/configmain.html#resource_file

?

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of
Jiann-Ming Su
Sent: Friday, January 19, 2007 2:10 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] "!" in SNMP Community?

My SNMP community string has a bang (!) in it.  How do I properly pass
the community string with the check_snmp module?  I've tried using %21
as suggested by FAQ ID F0157
(http://www.nagios.org/faqs/viewfaq.php?faq_id=157), but that doesn't
work.  I've tried escaping it with \, but then the service doesn't
even execute.  I've tried putting the entire community string in
quotes (""), but that doesn't work either.  Thanks for any tips.

-- 
Jiann-Ming Su
"I have to decide between two equally frightening options.
 If I wanted to do that, I'd vote." --Duckman
"The system's broke, Hank.  The election baby has peed in
the bath water.  You got to throw 'em both out."  --Dale Gribble

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list