Re: [Nagios-users] getting nagios to snmp to my box, Where do i specify the community

2005-12-14 Thread Arno Lehmann

Hi,

Randy Paries schrieb:

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


Here, it's rather early, but I have the impression you set up your 
checks quite early, too ;-)


Above, you want to write snmp, I assume - community strings belong 
there, usually.



so i have set it up as follows::

The ping works find but the snmp fails with a CRITICAL
Connection refused by host


See below.


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_optionsd,u,r
}

define service{
use generic-service
host_name   MediaTrix.RP
service_description SMTP


Really really sure?


is_volatile 0
check_period24x7
max_check_attempts  3
normal_check_interval   5
retry_check_interval1
contact_groups  admins
notification_interval   240
notification_period 24x7
notification_optionsw,u,c,r
check_command   check_smtp


I guess you check for the simple mail transport protocol, not the simple 
network management one.



}



Arno

--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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=7637alloc_id=16865op=click
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] getting nagios to snmp to my box, Where do i specify the community

2005-12-13 Thread frank


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 [EMAIL PROTECTED]
To: nagios-users@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_optionsd,u,r
   }

define service{
   use generic-service
   host_name   MediaTrix.RP
   service_description SMTP
   is_volatile 0
   check_period24x7
   max_check_attempts  3
   normal_check_interval   5
   retry_check_interval1
   contact_groups  admins
   notification_interval   240
   notification_period 24x7
   notification_optionsw,u,c,r
   check_command   check_smtp
   }

define service{
   use generic-service
   host_name   MediaTrix.RP
   service_description PING
   is_volatile 0
   check_period24x7
   max_check_attempts  3
   normal_check_interval   5
   retry_check_interval1
   contact_groups  admins
   notification_interval   240
   notification_period 24x7
   notification_optionsw,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_idv37alloc_id865op=click
___
Nagios-users mailing list
Nagios-users@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=7637alloc_id=16865op=click
___
Nagios-users mailing list
Nagios-users@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