Solved

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

Posted on 2009-04-05
6
867 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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 500 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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Fine Tune your automatic Updates for Ubuntu / Debian
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

691 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