Re: [Nagios-users] Problems with check_snmp add-on

2009-02-27 Thread Eric Chatham
Is there any way to get the HTML  flag on the webpage to "break" like it 
should?  The  shows up on the page.  :)


Eric Chatham
Broadvox MIS Department
(216) 373-4683
echat...@broadvox.net


-Original Message-
From: Marc Powell [mailto:m...@ena.com]
Sent: Thursday, February 26, 2009 18:09
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Problems with check_snmp add-on


On Feb 26, 2009, at 5:05 PM, Eric Chatham wrote:

> Thanks, guys. :)
>
> I see my mistake.  I had the host IP listed twice.

Yep, and you learned how argument macros work. win-win =)

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

CONFIDENTIAL.  This e-mail and any attached files are confidential and should 
be destroyed and/or returned if you are not the intended and proper recipient.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Marc Powell

On Feb 26, 2009, at 5:05 PM, Eric Chatham wrote:

> Thanks, guys. :)
>
> I see my mistake.  I had the host IP listed twice.

Yep, and you learned how argument macros work. win-win =)

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Eric Chatham
Thanks, guys. :)

I see my mistake.  I had the host IP listed twice.

Eric Chatham
Broadvox MIS Department
(216) 373-4683
echat...@broadvox.net


-Original Message-
From: Marc Powell [mailto:m...@ena.com]
Sent: Thursday, February 26, 2009 17:44
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Problems with check_snmp add-on


On Feb 26, 2009, at 3:55 PM, Eric Chatham wrote:

> I got the Adtran to work with snmpwalk and get.  I would like to
> monitor "ifOperStatus.1," which is the status on interface 1.  I
> created this command & service

>command_line$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$
> -o $ARG2$ -c $ARG3$

>check_command   check_snmp_interface! host>!!ifOperStatus.1!1:1

$ARG1$ = 
$ARG2$ = 
$ARG3$ = ifOperStatus.1
$ARG4$ = 1:1

Your command_line therefor looks like

/path/to/plugins/check_snmp -H  -C  -o  -c ifOperStatus.1

> When I add the service into Nagios, I keep getting "check_snmp:
> Invalid critical threshold - ifOperStatus.1"
>
> When I run the "check_snmp" plugin, I don't have any problems.
>
> [root@ ~ libexec]# ./check_snmp -H  -C  -o
> ifOperStatus.1 -c 1:1
> SNMP CRITICAL - *2* | IF-MIB::ifOperStatus.1=2

Looks different.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

CONFIDENTIAL.  This e-mail and any attached files are confidential and should 
be destroyed and/or returned if you are not the intended and proper recipient.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Marc Powell

On Feb 26, 2009, at 3:55 PM, Eric Chatham wrote:

> I got the Adtran to work with snmpwalk and get.  I would like to  
> monitor "ifOperStatus.1," which is the status on interface 1.  I  
> created this command & service

>command_line$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$  
> -o $ARG2$ -c $ARG3$

>check_command   check_snmp_interface! host>!!ifOperStatus.1!1:1

$ARG1$ = 
$ARG2$ = 
$ARG3$ = ifOperStatus.1
$ARG4$ = 1:1

Your command_line therefor looks like

/path/to/plugins/check_snmp -H  -C  -o  -c ifOperStatus.1

> When I add the service into Nagios, I keep getting "check_snmp:  
> Invalid critical threshold - ifOperStatus.1"
>
> When I run the "check_snmp" plugin, I don't have any problems.
>
> [root@ ~ libexec]# ./check_snmp -H  -C  -o  
> ifOperStatus.1 -c 1:1
> SNMP CRITICAL - *2* | IF-MIB::ifOperStatus.1=2

Looks different.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Lee Azzarello
On Thu, Feb 26, 2009 at 4:55 PM, Eric Chatham  wrote:
> I got the Adtran to work with snmpwalk and get.  I would like to monitor 
> "ifOperStatus.1," which is the status on interface 1.  I created this command 
> & service
>
> # 'check_snmp_interface' command defintion
> define command {
>        command_name    check_snmp_interface
>        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 
> $ARG2$ -c $ARG3$
>        }
>
> define service{
>        host_name                       reach_media
>        service_description             INT1
>        check_command                   check_snmp_interface!! string ro>!ifOperStatus.1!1:1
>        max_check_attempts              3
>        normal_check_interval           1
>        check_period                    24x7
>
> When I add the service into Nagios, I keep getting "check_snmp: Invalid 
> critical threshold - ifOperStatus.1"

Double check your argument order between the command and service definitions.

-lee

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Eric Chatham
I got the Adtran to work with snmpwalk and get.  I would like to monitor 
"ifOperStatus.1," which is the status on interface 1.  I created this command & 
service

# 'check_snmp_interface' command defintion
define command {
command_namecheck_snmp_interface
command_line$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ 
-c $ARG3$
}

define service{
host_name   reach_media
service_description INT1
check_command   check_snmp_interface!!!ifOperStatus.1!1:1
max_check_attempts  3
normal_check_interval   1
check_period24x7

When I add the service into Nagios, I keep getting "check_snmp: Invalid 
critical threshold - ifOperStatus.1"

When I run the "check_snmp" plugin, I don't have any problems.

[root@ ~ libexec]# ./check_snmp -H  -C  -o 
ifOperStatus.1 -c 1:1
SNMP CRITICAL - *2* | IF-MIB::ifOperStatus.1=2
[root@ ~ libexec]#

Why won't it work on the Nagios webpage?


Eric Chatham
Broadvox MIS Department
(216) 373-4683
echat...@broadvox.net


-Original Message-
From: Eric Chatham [mailto:echat...@broadvox.net]
Sent: Thursday, February 26, 2009 12:59
To: Lee Azzarello; Nagios Users Mailinglist
Subject: Re: [Nagios-users] Problems with check_snmp add-on

[root@ ~ libexec]# snmpget -v1 -c   
.1.3.6.1.4.1.664.3.1.1
Timeout: No Response from .
[root@ ~ libexec]#

I took an ethereal capture as well.  After looking at it, it looks like the 
destination host may not be accepting SNMP traffic.  Is UDP 161 default for 
SNMP?

[root@ ~ libexec]# tethereal ip host 
Running as user "root" and group "root". This could be dangerous.
Capturing on eth0
  0.00  ->  SNMP get-request 
SNMPv2-SMI::enterprises.664.3.1.1
  0.049775  ->  ICMP Destination unreachable (Port 
unreachable)
  1.000719  ->  SNMP get-request 
SNMPv2-SMI::enterprises.664.3.1.1
.
.
12 packets captured
[root@ ~ libexec]#

Eric Chatham
Broadvox MIS Department
(216) 373-4683
echat...@broadvox.net

-Original Message-
From: Lee Azzarello [mailto:l...@dropio.com]
Sent: Thursday, February 26, 2009 11:59
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Problems with check_snmp add-on

On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham  wrote:
> Hello,
>
>
>
> I am trying to run the check_snmp add-on to retrieve the product name of an
> Adtran.  I have the community string and the MIBs loaded.  When I run the
> following command, I get "No data received from host."  What am I doing
> wrong?  Thank you for your assistance.
>
>
>
> [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName
>
> .1.3.6.1.4.1.664.3.1.1
> [r...@~  libexec]# ./check_snmp -H  -C  -o
> .1.3.6.1.4.1.664.3.1.1
>
> SNMP problem - No data received from host
>
> CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 
> .1.3.6.1.4.1.664.3.1.1

What happens when you run snmpget manually? Does it return the value expected?

-lee

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

CONFIDENTIAL.  This e-mail and any attached files are confidential and should 
be destroyed and/or returned if you are not the intended and proper recipient.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

CONFIDENTIAL.  This e-mail and any attached files are confidential and should 
be destroyed and/or returned if you are not the intended and proper recipient.

-

Re: [Nagios-users] Problems with check_snmp add-on

2009-02-26 Thread Eric Chatham
Thank you for the attempt though. :)

Eric Chatham
Broadvox MIS Department
(216) 373-4683
echat...@broadvox.net


-Original Message-
From: Lee Azzarello [mailto:l...@dropio.com]
Sent: Thursday, February 26, 2009 13:03
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Problems with check_snmp add-on

On Thu, Feb 26, 2009 at 12:58 PM, Eric Chatham  wrote:
> [root@ ~ libexec]# snmpget -v1 -c   
> .1.3.6.1.4.1.664.3.1.1
> Timeout: No Response from .
> [root@ ~ libexec]#
>
> I took an ethereal capture as well.  After looking at it, it looks like the 
> destination host may not be accepting SNMP traffic.  Is UDP 161 default for 
> SNMP?
>
> [root@ ~ libexec]# tethereal ip host 
> Running as user "root" and group "root". This could be dangerous.
> Capturing on eth0
>  0.00  ->  SNMP get-request 
> SNMPv2-SMI::enterprises.664.3.1.1
>  0.049775  ->  ICMP Destination unreachable (Port 
> unreachable)
>  1.000719  ->  SNMP get-request 
> SNMPv2-SMI::enterprises.664.3.1.1

I've never worked with this equipment before so I can't give any more advice.

Looks like it's time to dive into the Adtran's manual. Fun!

-lee

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

CONFIDENTIAL.  This e-mail and any attached files are confidential and should 
be destroyed and/or returned if you are not the intended and proper recipient.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Eric Chatham
[root@ ~ libexec]# snmpget -v1 -c   
.1.3.6.1.4.1.664.3.1.1
Timeout: No Response from .
[root@ ~ libexec]#

I took an ethereal capture as well.  After looking at it, it looks like the 
destination host may not be accepting SNMP traffic.  Is UDP 161 default for 
SNMP?

[root@ ~ libexec]# tethereal ip host 
Running as user "root" and group "root". This could be dangerous.
Capturing on eth0
  0.00  ->  SNMP get-request 
SNMPv2-SMI::enterprises.664.3.1.1
  0.049775  ->  ICMP Destination unreachable (Port 
unreachable)
  1.000719  ->  SNMP get-request 
SNMPv2-SMI::enterprises.664.3.1.1
.
.
12 packets captured
[root@ ~ libexec]#

Eric Chatham
Broadvox MIS Department
(216) 373-4683
echat...@broadvox.net

-Original Message-
From: Lee Azzarello [mailto:l...@dropio.com]
Sent: Thursday, February 26, 2009 11:59
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Problems with check_snmp add-on

On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham  wrote:
> Hello,
>
>
>
> I am trying to run the check_snmp add-on to retrieve the product name of an
> Adtran.  I have the community string and the MIBs loaded.  When I run the
> following command, I get "No data received from host."  What am I doing
> wrong?  Thank you for your assistance.
>
>
>
> [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName
>
> .1.3.6.1.4.1.664.3.1.1
> [r...@~  libexec]# ./check_snmp -H  -C  -o
> .1.3.6.1.4.1.664.3.1.1
>
> SNMP problem - No data received from host
>
> CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 
> .1.3.6.1.4.1.664.3.1.1

What happens when you run snmpget manually? Does it return the value expected?

-lee

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

CONFIDENTIAL.  This e-mail and any attached files are confidential and should 
be destroyed and/or returned if you are not the intended and proper recipient.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Eric Chatham
[root@ ~ libexec]# snmpget -v1 -c   
.1.3.6.1.4.1.664.3.1.1
Timeout: No Response from .
[root@ ~ libexec]#

I took an ethereal capture as well.  After looking at it, it looks like the 
destination host may not be accepting SNMP traffic.  Is UDP 161 default for 
SNMP?

[root@ ~ libexec]# tethereal ip host 
Running as user "root" and group "root". This could be dangerous.
Capturing on eth0
  0.00  ->  SNMP get-request 
SNMPv2-SMI::enterprises.664.3.1.1
  0.049775  ->  ICMP Destination unreachable (Port 
unreachable)
  1.000719  ->  SNMP get-request 
SNMPv2-SMI::enterprises.664.3.1.1
.
.
12 packets captured
[root@ ~ libexec]#

Eric Chatham
Broadvox MIS Department
(216) 373-4683
echat...@broadvox.net

-Original Message-
From: Lee Azzarello [mailto:l...@dropio.com]
Sent: Thursday, February 26, 2009 11:59
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Problems with check_snmp add-on

On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham  wrote:
> Hello,
>
>
>
> I am trying to run the check_snmp add-on to retrieve the product name of an
> Adtran.  I have the community string and the MIBs loaded.  When I run the
> following command, I get "No data received from host."  What am I doing
> wrong?  Thank you for your assistance.
>
>
>
> [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName
>
> .1.3.6.1.4.1.664.3.1.1
> [r...@~  libexec]# ./check_snmp -H  -C  -o
> .1.3.6.1.4.1.664.3.1.1
>
> SNMP problem - No data received from host
>
> CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 
> .1.3.6.1.4.1.664.3.1.1

What happens when you run snmpget manually? Does it return the value expected?

-lee

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

CONFIDENTIAL.  This e-mail and any attached files are confidential and should 
be destroyed and/or returned if you are not the intended and proper recipient.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Lee Azzarello
On Thu, Feb 26, 2009 at 12:58 PM, Eric Chatham  wrote:
> [root@ ~ libexec]# snmpget -v1 -c   
> .1.3.6.1.4.1.664.3.1.1
> Timeout: No Response from .
> [root@ ~ libexec]#
>
> I took an ethereal capture as well.  After looking at it, it looks like the 
> destination host may not be accepting SNMP traffic.  Is UDP 161 default for 
> SNMP?
>
> [root@ ~ libexec]# tethereal ip host 
> Running as user "root" and group "root". This could be dangerous.
> Capturing on eth0
>  0.00  ->  SNMP get-request 
> SNMPv2-SMI::enterprises.664.3.1.1
>  0.049775  ->  ICMP Destination unreachable (Port 
> unreachable)
>  1.000719  ->  SNMP get-request 
> SNMPv2-SMI::enterprises.664.3.1.1

I've never worked with this equipment before so I can't give any more advice.

Looks like it's time to dive into the Adtran's manual. Fun!

-lee

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems with check_snmp add-on

2009-02-26 Thread Lee Azzarello
On Thu, Feb 26, 2009 at 11:02 AM, Eric Chatham  wrote:
> Hello,
>
>
>
> I am trying to run the check_snmp add-on to retrieve the product name of an
> Adtran.  I have the community string and the MIBs loaded.  When I run the
> following command, I get “No data received from host.”  What am I doing
> wrong?  Thank you for your assistance.
>
>
>
> [root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName
>
> .1.3.6.1.4.1.664.3.1.1
> [r...@~  libexec]# ./check_snmp -H  -C  -o
> .1.3.6.1.4.1.664.3.1.1
>
> SNMP problem - No data received from host
>
> CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 
> .1.3.6.1.4.1.664.3.1.1

What happens when you run snmpget manually? Does it return the value expected?

-lee

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


[Nagios-users] Problems with check_snmp add-on

2009-02-26 Thread Eric Chatham
Hello,

I am trying to run the check_snmp add-on to retrieve the product name of an 
Adtran.  I have the community string and the MIBs loaded.  When I run the 
following command, I get "No data received from host."  What am I doing wrong?  
Thank you for your assistance.

[root@ ~ libexec]# snmptranslate -m +ADTRAN-MIB -IR -On adProdName
.1.3.6.1.4.1.664.3.1.1
[r...@~  libexec]# ./check_snmp -H  -C  -o 
.1.3.6.1.4.1.664.3.1.1
SNMP problem - No data received from host
CMD: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv]   
.1.3.6.1.4.1.664.3.1.1

Eric Chatham
Broadvox MIS Department
Phone: (216) 373-4683
Fax: (216) 373-4669
echat...@broadvox.net
[cid:image001.jpg@01C99801.97FCB4C0]



CONFIDENTIAL. This e-mail and any attached files are confidential and should be 
destroyed and/or returned if you are not the intended and proper recipient.
<>--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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