getting nagios to snmp to my box, Where do i specify the community
frank
ratty at they.org
Wed Dec 14 02:24:21 CET 2005
First you need to decide what kind of check you're attempting. Your mail
says "snmp" (and "smnp") but your config says "SMTP".
Try actually running an SNMP check and you might get better results. At
the very least you'll get rid of those "Connection refused" messages since
SNMP is stateless.
-f
On Tue, 13 Dec 2005, Randy Paries wrote:
> Date: Tue, 13 Dec 2005 18:54:28 -0600
> From: Randy Paries <rtparies at gmail.com>
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] getting nagios to snmp to my box,
> Where do i specify the community
>
> Hello,
> I am trying to do a smnp check on one of my boxes.
> (it is a mediatrix viop gateway)
>
> I can query it using the cactii using the community of public
>
> so i have set it up as follows::
>
> The ping works find but the snmp fails with a CRITICAL
> "Connection refused by host"
>
> Si i am thinking maybe it is the community cause like mentioned above
> cactii can query it just fine.
>
> Thanks for any suggestions.
> =========================================================
>
> define host{
> use generic-host ; Name of host
> template to use
>
> host_name MediaTrix.RP
> alias MediaTrix RP Box
> address 66.xx.xx.205
> max_check_attempts 20
> notification_interval 60
> notification_period 24x7
> notification_options d,u,r
> }
>
> define service{
> use generic-service
> host_name MediaTrix.RP
> service_description SMTP
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 5
> retry_check_interval 1
> contact_groups admins
> notification_interval 240
> notification_period 24x7
> notification_options w,u,c,r
> check_command check_smtp
> }
>
> define service{
> use generic-service
> host_name MediaTrix.RP
> service_description PING
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 5
> retry_check_interval 1
> contact_groups admins
> notification_interval 240
> notification_period 24x7
> notification_options w,u,c,r
> check_command check_ping!100.0,20%!500.0,60%
> }
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> _______________________________________________
> 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
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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