LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-11-2010, 09:21 AM   #1
rahimrh
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Post 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
 
Old 04-11-2010, 09:13 PM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 697

Rep: Reputation: 93
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.
 
Old 04-11-2010, 09:31 PM   #3
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Rep: Reputation: 63
Quote:
Originally Posted by rahimrh View Post
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/
 
Old 04-12-2010, 07:21 AM   #4
rahimrh
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Smile 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.
 
  


Reply

Tags
critical, help, port, snmp, status, troubleshooting


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ram showing critical status prak86 Linux - Newbie 1 02-16-2010 03:29 AM
SMTP in Qmail always in critical status pcangel Linux - Networking 0 08-25-2008 07:37 AM
[Nagios3] Check-SNMP not defined Akhran Debian 1 07-01-2008 03:23 AM
snmp - nagios wont detect service status change noob_d Linux - Server 2 06-03-2008 01:34 PM
Nagios2: Inaccurate harddisk warning/critical status reporting Akhran Linux - Software 0 08-13-2006 07:11 PM


All times are GMT -5. The time now is 09:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration