?
Solved

Redhat Server 2.6.18-92.el5 - MIB file for Opsview

Posted on 2009-04-05
6
Medium Priority
?
879 Views
Last Modified: 2013-12-23
I am using OpsView to receive alarms from another Redhat server. The problem is that on this particular server, we have an application that has MIB file. How do I introduce the MIB file to Opsview and have the client server send traps?
0
Comment
Question by:bravo2nothing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 24074959
RHEL uses simple Net-SNMP
It can send traps.

If you are using external app with MIB file you have to introduce SNMP subagent into snmpd.conf, as from applications admin guide.

What is that application?
Whats in /etc/reshat-release
uname -a

Some RHEL releases of Net-SNMP did not work at all, so check if it has host mib as such before even trying to get sub-agent. If problem is there do up2date or yum update.
0
 

Author Comment

by:bravo2nothing
ID: 24075370
The application is a telephony softswitch. Note the uname entry in the title.

My question is what am I missing from the snmpd.conf file?

Is it simply an entry as +MIB filename?
0
 
LVL 62

Expert Comment

by:gheist
ID: 24076933
http://www.snmpview.de/snmpd_conf.php
part about "exec"
you have to know location of agent executable so that snmpd can publish its output.
snmpd as such has no idea about your aplication, oracle, and other installed apps.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Accepted Solution

by:
bravo2nothing earned 0 total points
ID: 24078804
Gheist, I really appreciate your help but this my first adventure into SNMP and therefore I will freely admit to being a little stupid! I don't understand what syntax has to be used with the context of this file. For the sake of not wishing to keep asking stupid questions, could you show me with the use of an example for stupid people!??

Thanks!
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 2000 total points
ID: 24079295
Copy/paste from page linked above:

# Run a shell script containing:
#
# #!/bin/sh
# echo hello world
# echo hi there
# exit 35
#
# Note:  this has been specifically commented out to prevent
# accidental security holes due to someone else on your system writing
# a /tmp/shtest before you do. Uncomment to use it.
#
#exec shelltest /bin/sh /tmp/shtest

# Then,
# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.8
# enterprises.ucdavis.extTable.extEntry.extIndex.1 = 1
# enterprises.ucdavis.extTable.extEntry.extIndex.2 = 2
# enterprises.ucdavis.extTable.extEntry.extNames.1 = "echotest"
# enterprises.ucdavis.extTable.extEntry.extNames.2 = "shelltest"
# enterprises.ucdavis.extTable.extEntry.extCommand.1 = "/bin/echo hello world"
# enterprises.ucdavis.extTable.extEntry.extCommand.2 = "/bin/sh /tmp/shtest"
# enterprises.ucdavis.extTable.extEntry.extResult.1 = 0
# enterprises.ucdavis.extTable.extEntry.extResult.2 = 35
# enterprises.ucdavis.extTable.extEntry.extOutput.1 = "hello world."
# enterprises.ucdavis.extTable.extEntry.extOutput.2 = "hello world."
# enterprises.ucdavis.extTable.extEntry.extErrFix.1 = 0
# enterprises.ucdavis.extTable.extEntry.extErrFix.2 = 0
0
 
LVL 62

Expert Comment

by:gheist
ID: 24085062
MIB file goes to management system and works AFTER you have configured SNMP sub-agent in snmpd. Same on Windows also.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question