One more question.

I have the mib information below, however I don't know how can I use it on the Nagios check.

I have tried this command, but I've just receive SNMP Warning message.

./check_snmp -H 192.168.1.12 -o .iso.org.dod.internet.private.enterprises.blueCoat.blueCoatMgmt.deviceUsageMIB.deviceUsageMIBObjects.deviceUsageTable.deviceUsageEntry.deviceUsageStatus.1 -C public

SNMP WARNING - ok(1)

******************

usage.mib

The usage.mib file sends a notification when the percentage of available space that is used exceeds a threshold specified by the deviceUsageHigh variable.

Resources that can be monitored include:

  • Disk
  • CPU

The usage.mib trap variables and their values are described in the table below.


Trap Variable

Description

Value

deviceUsageName

The textual name of the resource; for example, CPU..

---

deviceUsagePercent

Percentage of the resource that is in use

---

deviceUsageStatus

Comparison of the deviceUsagePercent value with the deviceUsageHigh variable.

ok(1)
high(2)


The deviceUsageHigh variable can specify values for each resource, using an SNMP set operation. A notification is sent when the value is reached. For more information on the deviceUsageHigh variable, refer to the usage.mib file.

The error messages produced by the deviceUsageHigh variable are described in the table below.


Message

Status

ok (1)

Normal

high (2)

Warning

***************************

Thank you.
Cheers,



Miah, W (Wadud) escreveu:
Here's an example on using snmpwalk:

snmpwalk -Of -c public -v1 -m IFT-SNMP-MIB 172.16.140.35 private

where the MIB is stored in /usr/share/snmp/mibs/. The MIB can also be
specified in the check_snmp plugin, which obtains it from the specified
path. Examine the MIB first and browse through the output of snmpwalk to
obtain OID of interest. 

Hope this helps.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Hugo
Rebello
Sent: 18 December 2007 11:20
To: [email protected]
Subject: [Nagios-users] Monitoring using MIBs

Can anyone help me ?

I'd like to monitor a specific proxy service (Blue Coat) and I don't
know if Nagios works with different mibs.
Anybody knows a good tip about that ?

Thank you.

Cheers,
Hugo




------------------------------------------------------------------------
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to