- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Loading MIBs in hpux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 06:45 AM
тАО10-11-2005 06:45 AM
Could I know how I can load the mib /opt/OV/newconfig/AGENT-MAN/snmp_mibs/hp-unix
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 07:02 AM
тАО10-11-2005 07:02 AM
Re: Loading MIBs in hpux
LoadMIBs: /opt/OV/newconfig/AGENT-MAN/snmp_mibs/hp-unix
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 07:20 AM
тАО10-11-2005 07:20 AM
Re: Loading MIBs in hpux
I have added this line to the top of the .cfg file.
But when I run mrtg, it gives snmp error, unable to poll the OID that I specified.
Thanks,
Sabin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 08:23 AM
тАО10-11-2005 08:23 AM
Re: Loading MIBs in hpux
Here's how I do it (though I don't use the OVO mibs - but it may help):
more mrtg.cfg
EnableIPv6: no
LoadMIBs: /usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt
WorkDir: /htdocs/mambo/mrtg/
Options[_]: bits,growright
######################################################################
# System: sha1
# Description: HP-UX sha1 B.11.11 U 9000/785
# Contact:
# Location:
######################################################################
RunAsDaemon: no
Interval: 5
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
# Email an ...
PageTop[$]:
Questions and references Geoff Wild.
### End of Global Config Options
######################################################################
Target[sha1.mydomain.comcpup]:.1.3.6.1.4.1.11.2.3.1.1.15.0&.1.3.6.1.4.1.11.2.3.1.1.13.0:mysnmpname@sha1.mydomain.com + .1.3.6.1.
4.1.11.2.3.1.1.16.0&.1.3.6.1.4.1.11.2.3.1.1.14.0:mysnmpname@sha1.mydomain.com
Title[sha1.mydomain.comcpup]: CPU Load on sha1.mydomain.com
MaxBytes[sha1.mydomain.comcpup]: 100
Ylegend[sha1.mydomain.comcpup]: CPU Load
ShortLegend[sha1.mydomain.comcpup]: %
PageTop[sha1.mydomain.comcpup]:
CPU Load on sha1.mydomain.com
Options[sha1.mydomain.comcpup]: integer, growright, nopercent
WithPeak[sha1.mydomain.comcpup]: wmy
LegendO[sha1.mydomain.comcpup]: User/System:
LegendI[sha1.mydomain.comcpup]: Idle/Nice:
Legend1[sha1.mydomain.comcpup]: Idle/Nice CPU Time
Legend2[sha1.mydomain.comcpup]: User/System CPU Time
Legend3[sha1.mydomain.comcpup]: Maximal Idle/Nice CPU Time
Legend4[sha1.mydomain.comcpup]: Maximal User/System CPU Time
######################################################################
Target[sha1.mydomain.commem]: .1.3.6.1.4.1.11.2.3.1.1.7.0&.1.3.6.1.4.1.11.2.3.1.1.8.0:mysnmpname@sha1.mydomain.com
Title[sha1.mydomain.commem]: Memory on sha1.mydomain.com
MaxBytes[sha1.mydomain.commem]: 100000000
Ylegend[sha1.mydomain.commem]: Memory Usage
ShortLegend[sha1.mydomain.commem]:
PageTop[sha1.mydomain.commem]:
Memory on sha1.mydomain.com
Options[sha1.mydomain.commem]: integer, gauge, growright, nopercent
kilo[sha1.mydomain.commem]: 1024
WithPeak[sha1.mydomain.commem]: wmy
LegendO[sha1.mydomain.commem]: Total:
LegendI[sha1.mydomain.commem]: Free:
Legend1[sha1.mydomain.commem]: Free System Memory
Legend2[sha1.mydomain.commem]: Total Available System Memory
Legend3[sha1.mydomain.commem]: Maximal Available System Memory
Legend4[sha1.mydomain.commem]: Maximal Free System Memory
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 08:42 AM
тАО10-11-2005 08:42 AM
Re: Loading MIBs in hpux
Here, the scenario is, mrtg is installed in a test server and I need to monitor the file system usage of another server in the production environment.
I created a .cfg file using the cfgmaker and it worked well for the network monitoring part.But for the filesystem monitoring, I am stucked up..
I just added the mib in the .cfg file and still its giving snmp error.
Please find below the error messsage.
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.11.2.3.1.2.2.1.4)
SNMPv1_Session (remote host: "167.6.249.33" [167.6.249.33].161)
community: "public"
request ID: 767096839
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for .1.3.6.1.4.1.11.2.3.1.2.2.1.4 .1.3.6.1.4.1.11.2.3.1.2.2.1.5
sysUptime sysName on public@167.6.249.33::::::v4only
at /usr/local/bin/mrtg line 1921
ERROR: Target[167.6.249.33_disk][_IN_] ' $target->[8]{$mode} ' did not eval into
defined data
ERROR: Target[167.6.249.33_disk][_OUT_] ' $target->[8]{$mode} ' did not eval int
o defined data
Thanks,
Sabin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 11:35 AM
тАО10-11-2005 11:35 AM
Re: Loading MIBs in hpux
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 03:24 AM
тАО10-12-2005 03:24 AM
Re: Loading MIBs in hpux
http://www.admins-tipps.net/management/mrtg_hpux.txt
AT the bottom, it mentions using a tool like getif to get the actual numbers for the disks...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 04:29 AM
тАО10-12-2005 04:29 AM
Re: Loading MIBs in hpux
I was just exploring the URL you provided; could see a getif install file.
" Following is a sample for the drive allocations. You must find out
the numbers yourself."
Does this mean, we need to find out the actual disk usage percentages or what? I am confused what does this 'numbers' mean..
Thanks,
Sabin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 04:32 AM
тАО10-12-2005 04:32 AM
Re: Loading MIBs in hpux
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 05:15 AM
тАО10-12-2005 05:15 AM
Re: Loading MIBs in hpux
Example, found this:
.iso.org.dod.internet.private.enterprises.hp.nm.hpnsa.hpnsaStorageCap.hpnsaSCDrv.hpnsaSCDrvTable.hpnsaSCDrvEntry.hpnsaSCDrvCurrentAvailable
.1.3.6.1.4.1.11.2.23.15.3.2.1.12
But, I get nothing when I connect...tried version 1 and 2c:
# snmpget -v 1 -c mysnmp myserver .1.3.6.1.4.1.11.2.23.15.3.2.1.12
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.4.1.11.2.23.15.3.2.1.12
# snmpget -v 2c -c mysnmp myserver .1.3.6.1.4.1.11.2.23.15.3.2.1.12
iso.3.6.1.4.1.11.2.23.15.3.2.1.12 = No Such Object available on this agent at this OID
Rgds...Geoff