Re: [Nagios-users] Monitoring using MIBs

2009-03-25 Thread The Noob
Hello Marc,
Thanks for your answer. In fact I find a solution.
My Syslog-NG server which receives all Bluecoat messages send a SNMP TRAP
when it detects a status changes in the failover with Regex.
FInally, Nagios create an alarm in my TRAP service for my bluecoat.
Best regards
TheNoob

2009/3/20 Marc Powell m...@ena.com


 On Mar 19, 2009, at 5:33 PM, The Noob wrote:

  Hello,
 
  Someone knows how to check Failover Status On bluecoat ?
  In fact Bluecoat send a syslog when it changes states Master to
  backup but it does not send any snmp trap.
  SO I search an OID to pool the failover status .
  Can you help me ?

 I've done a quick search through the SGOS4 mibs and I can't find that
 they expose that status through SNMP. I've found it to be pretty
 normal that they don't expose many BlueCoat specific things...

 If you're sysloging to a remote host, you could use one of the
 check_log* plugins to monitor that log file for the alert...

 --
 Marc



 --
 Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
 powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
 easily build your RIAs with Flex Builder, the Eclipse(TM)based development
 software that enables intelligent coding and step-through debugging.
 Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 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

--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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

Re: [Nagios-users] Monitoring using MIBs

2009-03-20 Thread Marc Powell

On Mar 19, 2009, at 5:33 PM, The Noob wrote:

 Hello,

 Someone knows how to check Failover Status On bluecoat ?
 In fact Bluecoat send a syslog when it changes states Master to  
 backup but it does not send any snmp trap.
 SO I search an OID to pool the failover status .
 Can you help me ?

I've done a quick search through the SGOS4 mibs and I can't find that  
they expose that status through SNMP. I've found it to be pretty  
normal that they don't expose many BlueCoat specific things...

If you're sysloging to a remote host, you could use one of the  
check_log* plugins to monitor that log file for the alert...

--
Marc


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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


Re: [Nagios-users] Monitoring using MIBs

2009-03-19 Thread The Noob
Hello,

Someone knows how to check Failover Status On bluecoat ?
In fact Bluecoat send a syslog when it changes states Master to backup but
it does not send any snmp trap.
SO I search an OID to pool the failover status .
Can you help me ?
Best regards


2007/12/19 Hugo Rebello hugo.rebe...@dhl.com

  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: nagios-users-boun...@lists.sourceforge.net
 [mailto:nagios-users-boun...@lists.sourceforge.net 
 nagios-users-boun...@lists.sourceforge.net] On Behalf Of Hugo
 Rebello
 Sent: 18 December 2007 11:20
 To: nagios-users@lists.sourceforge.net
 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 
 listnagios-us...@lists.sourceforge.nethttps://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
 Nagios-users@lists.sourceforge.net
 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

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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

Re: [Nagios-users] Monitoring using MIBs

2007-12-19 Thread Miah, W (Wadud)
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: nagios-users@lists.sourceforge.net
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
Nagios-users@lists.sourceforge.net
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
Nagios-users@lists.sourceforge.net
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


Re: [Nagios-users] Monitoring using MIBs

2007-12-19 Thread Hugo Rebello




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: nagios-users@lists.sourceforge.net
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
Nagios-users@lists.sourceforge.net
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
Nagios-users@lists.sourceforge.net
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

[Nagios-users] Monitoring using MIBs

2007-12-18 Thread Hugo Rebello
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/marketplace
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
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


Re: [Nagios-users] Monitoring using MIBs

2007-12-18 Thread Giles Coochey
 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 ?
 

My Tip #1: I recommend using numerical OIDs with check_snmp. That way
you don't have to have the MIB loaded anywhere.
My Tip #2: Use a MIB browser such as iReasonings offering to identify
useful monitorable OIDs
My Tip #3: snmpwalk is your friend




-
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
Nagios-users@lists.sourceforge.net
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


Re: [Nagios-users] Monitoring using MIBs

2007-12-18 Thread Hugo Rebello




Could you send me an example of snmpwalk command ?

Thank you.

Hugo






Giles Coochey escreveu:

  
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 ?


  
  
My Tip #1: I recommend using numerical OIDs with check_snmp. That way
you don't have to have the MIB loaded anywhere.
My Tip #2: Use a MIB browser such as iReasonings offering to identify
useful monitorable OIDs
My Tip #3: snmpwalk is your friend




  




-
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
Nagios-users@lists.sourceforge.net
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

Re: [Nagios-users] Monitoring using MIBs

2007-12-18 Thread Giles Coochey



From: Hugo Rebello [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2007 12:33
To: Giles Coochey
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring using MIBs

Could you send me an example of snmpwalk command ?

Thank you.

Hugo

Try this link:

http://www.google.com/search?hl=enq=snmpwalk+example
 

-
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
Nagios-users@lists.sourceforge.net
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


Re: [Nagios-users] Monitoring using MIBs

2007-12-18 Thread Marc Powell

On Dec 18, 2007, at 5:20 AM, Hugo Rebello wrote:

 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 ?

An snmpwalk won't really show you the interesting stuff on the  
Bluecoat boxen unless you set the start of the MIB to be  
1.3.6.1.4.25.17. Here are some example 'interesting' OID's --

#OID based on Proxy/Cache MIB
OID proxyMemUsage   .1.3.6.1.3.25.17.1.1
OID proxyStorge .1.3.6.1.3.25.17.1.2

OID proxyCpuLoad.1.3.6.1.3.25.17.3.1.1
OID proxyNumObjects .1.3.6.1.3.25.17.3.1.2

OID proxyClientsHttpRequests.1.3.6.1.3.25.17.3.2.1.1
OID proxyClientsHttpHits.1.3.6.1.3.25.17.3.2.1.2
OID proxyClientsHttpErrors  .1.3.6.1.3.25.17.3.2.1.3
OID proxyClientsHttpInKbs   .1.3.6.1.3.25.17.3.2.1.4
OID proxyClientsHttpOutKbs  .1.3.6.1.3.25.17.3.2.1.5

OID proxyServerHttpRequests .1.3.6.1.3.25.17.3.2.2.1
OID proxyServerHttpErrors   .1.3.6.1.3.25.17.3.2.2.2
OID proxyServerHttpInKbs.1.3.6.1.3.25.17.3.2.2.3
OID proxyServerHttpOutKbs   .1.3.6.1.3.25.17.3.2.2.4

OID proxyHTTPMissSvcTime.1.3.6.1.3.25.17.3.3.1.3.1
OID proxyHTTPHitSvcTime .1.3.6.1.3.25.17.3.3.1.4.1
OID proxyHTTPNhSvcTime  .1.3.6.1.3.25.17.3.3.1.5.1

--
Mar


-
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
Nagios-users@lists.sourceforge.net
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