Solaris CPU/Disk/etc with MRTG?

This is a discussion on Solaris CPU/Disk/etc with MRTG? within the SNMP Users forums, part of the Networking and Network Related category; Hello, I recently compiled net-snmp on my Solaris 9 server. I had to use v5.1.1 (newer versions ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2005
Shane Presley
 
Posts: n/a
Default Solaris CPU/Disk/etc with MRTG?

Hello,

I recently compiled net-snmp on my Solaris 9 server. I had to use
v5.1.1 (newer versions wouldn't compiled). It was configured with

../configure --with-mib-modules="host disman/event-mib ucd-snmp/diskio
smux agentx mibII/mta_sendmail" --with-cc=gcc

It's up and running fine, I can SNMPWALK it from my MRTG monitoring station.

I read the NET-SNMP Tutorial -- MRTG located at
http://www.net-snmp.org/tutorial/tut...rtg/index.html

That seems to be exactly what I wanted. But some of those examples
aren't working for me.

cpu and tcpopen examples work fine. But others like cpusum and root
return MRTG errors about the OID not existing...

SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 2 (OID: 1.3.6.1.4.1.2021.11.51.0)
SNMPv1_Session (remote host: "myserver" [10.10.10.10].161)
community: "mycommunity"
request ID: 861698227
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for ssCpuRawNice.0 ssCpuRawNice.0 on mycommunity@myserver
at /usr/bin/mrtg line 1678
ERROR: Target[myserver.cpusum][_IN_] ' $$target[63]{$mode} +
$$target[64]{$mode} + $$target[65]{$mode} ' (warn): Use of
uninitialized value in addition (+) at (eval 293) line 1.
ERROR: Target[myserver.cpusum][_OUT_] ' $$target[63]{$mode} +
$$target[64]{$mode} + $$target[65]{$mode} ' (warn): Use of
uninitialized value in addition (+) at (eval 294) line 1.
WARNING: Skipping Update of myserver.cpusum, inlast is not defined
WARNING: Skipping Update of myserver.cpusum, outlast is not defined


Is there any other place I could look for examples? I'm interested in
graphing things like:

-Active CPU
-Swap
-Root Disk Partition
-Memory
etc

I just don't know what MIBs to look for.

Thanks,
Shane


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:33 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0