Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-11-2010, 08:21 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2010
Posts: 2
Rep:
|
I need troubleshooting help for Nagios3.2. SNMP CRITICAL for Port 1 status always?
Dear Forum,
I am using Ubuntu Linux 9.0.4 and Nagios 3.2.0.
Snmp is installed at my machine and configured and its seems its working fine to check the uptime of a switch 'Uptime' it shows the right status and displays SNMP OK.....); it's has configured as below:
service_description Uptime
check_command check_snmp!-C public -o sysUpTime.0
However if I use another service (for port status) as below, it show SNMP Critical (down 2) always AND I need help for troublehsooting this:
service_description Port 1 Link Status
check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB
Thanks
|
|
|
|
04-11-2010, 08:13 PM
|
#2
|
|
Member
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 697
Rep:
|
Do you know if ifOperStatus.1 is supported on the switch? Not all MIBs are
supported by all devices. I believe that snmpwalk will let you know what
MIBs are available on a particular device.
|
|
|
|
04-11-2010, 08:31 PM
|
#3
|
|
Senior Member
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,017
Rep:
|
Quote:
Originally Posted by rahimrh
Dear Forum,
I am using Ubuntu Linux 9.0.4 and Nagios 3.2.0.
Snmp is installed at my machine and configured and its seems its working fine to check the uptime of a switch 'Uptime' it shows the right status and displays SNMP OK.....); it's has configured as below:
service_description Uptime
check_command check_snmp!-C public -o sysUpTime.0
However if I use another service (for port status) as below, it show SNMP Critical (down 2) always AND I need help for troublehsooting this:
service_description Port 1 Link Status
check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB
Thanks
|
Does this help?
http://www.it-slav.net/blogs/2009/02...nmp-on-ubuntu/
|
|
|
|
04-12-2010, 06:21 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2010
Posts: 2
Original Poster
Rep:
|
SNMP status always CRITICAL (Cisco switch: Nagios ifOperStatus.1)?
Thanks for the replies. I have implemented nearly as mentioned by 'cola' but still I am facing the problem.
I have to monitor the Uptime Switches (4948 and 3750 )(Uptime) and the Switchports-Status( Port 1 Link Status) and MRTG also.Only Uptime is working.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:52 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|