[Nagios-users] Perl/BASH Wrapper Script for check_nrpe binary

2011-02-17 Thread Traiano Welcome
Hi List

I would like to debug  the check_nrpe binary (for nagios 3.1.2) using a perl 
wrapper script. The wrapper script should return all the output  handed to it 
by the remote nrpe agent, as well as correctly get and return to nagios, the 
return value of the check:

Would anyone have a handy wrapper script for this purpose lying around 
somewhere?

Thanks in Advance,
Traiano Welcome
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] snmp Konica Minolta

2011-02-17 Thread Richard Gliebe
On 2/16/11 7:50 PM Albrecht Dreß wrote:
 Hi Richard:

Hi Albrecht (german?)

 Staple Unit
 root@mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-kmc250
 public CONSUM Black Toner Cartridge
 Black Toner Cartridge is OK
 /snip

 It looks as if the Konica doesn't give much details (just good or bad);
 the same script on a HP says e.g.

 snip
 root@mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-hpclj4650
 public CONSUM Black Print Cartridge HP C9720A
 OK,Black Print Cartridge HP C9720A is at 79%|Black Print Cartridge HP
 C9720A=79;;9000;
 /snip

our Konica Minolta printers wouldn't like this script as well.

# ./check_snmp_printer.sh printer public CONSUM TEST
Consumables you may Monitor:
Cyan Toner Cartridge
Magenta Toner Cartridge
Yellow Toner Cartridge
Black Toner Cartridge
Cyan Imaging Unit
Magenta Imaging Unit
Yellow Imaging Unit
Black Imaging Unit
Waste Toner Box
Fuser Unit
Transfer Unit
Staple Unit
Saddle Staple Cartridge 1
Saddle Staple Cartridge 2
Punch Dust Box

# ./check_snmp_printer.sh printer public CONSUM Cyan Toner Cartridge
Error OID not found,maybe your Printer does not support checking this 
device, call me with Option CONSUM TEST or see help

On HP printers, it works.

# ./check_snmp_printer.sh printer public CONSUM TEST
Consumables you may Monitor:
Patrone Schwarz HP CE505A

# ./check_snmp_printer.sh printer public CONSUM Patrone Schwarz HP 
CE505A
5
CRITICAL,Patrone Schwarz HP CE505A is at 5%|Patrone Schwarz HP 
CE505A=5;;940;

I had a phone with a Konica Minolta reseller.
Customers are not allowed to check the Cartridges/Toner by themself. 
They have to by a Hardware module for this feature .

Lets fight for these OIDs ;-)

Regards
Richard

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Hostgroups: if not contact for one host, none are available

2011-02-17 Thread Rutger Blom
I find this very irritating too. It doesn't make sense either.

Rutger

2011/2/17 Yueh-Hung Liu yuehung@gmail.com:
 this isn't a bug.
 by reviewing the source codes, you can find that Nagios(more
 precisely, the CGIs) just do this way.
 i have no clue why Nagios won't show partial hostgroups if one has
 no access to all host members.
 maybe for performance issue?


 On Thu, Feb 17, 2011 at 2:44 AM, C. Bensend be...@bennyvision.com wrote:

 Hey folks,

   This has bitten me a few times now, so I figured I'd better report
 it...

   If I have hostgroup bob:

 host1
 host2
 host3
 host4
 host5

 and contact frank is a contact for hosts 1, 2, 3, and 4 (but NOT
 5), frank will not be able to view the *hostgroup*.  It gives the
 usual It appears you do not have permissions ... error.

   *Surely* this can't be intentional, can it?  Why the heck would
 you _want_ that behavior?  I would expect it to display the hosts
 in the group (viewing a host you're a contact for will show all
 services, even if you're not a contact for all), or at worst just
 the members of the group the user is a contact for, but not deny
 access to the entire hostgroup.

   In my environment, I have accidentally added a host to the
 wrong hostgroup.  When I do this and the users of the hostgroup
 aren't contacts for this new one that I misplaced, the users lose
 access to the entire hostgroup.

   Am I being dense, or is this a bug?  3.2.3 on RHEL 5.5, BTW.

 Thanks!

 Benny


 --
 Hairy ape nads.        -- Colleen, playing Neverwinter Nights



 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 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


 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 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


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Nagios Alert Format?

2011-02-17 Thread Engelmann, Austin
This is a small question. I have been editing the Nagios alert commands
to get a nice, simple format to our cell phones. I am trying to get the
notification type to be on the MSG: line. In my command, the
notification type always gets place on the next line. My current command
and the format of the SMS alert are listed below, anybody see what I can
change and if it's possible?

 

#'notify-service-by-email' command definition

define command{

command_name   notify-service-by-email

command_line  /usr/bin/printf %b
$NOTIFICATIONTYPE$\nSVC: $SERVICEDESC$\nHost: $HOSTALIAS$\nState:
$SERVICESTATE$\n$SERVICEOUTPUT$ | /bin/mail -s Service Alert
$CONTACTEMAIL$

}

 

FRM:nagiosadmin 

SUBJ:Service Alert

MSG:

RECOVERY

SVC: Ping Test

Host: Hostname

State: OK

PING OK - Packet loss = 0%,

RTA = 14.29 ms

 

Austin

 

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] Hostgroups: if not contact for one host, none are available

2011-02-17 Thread C. Bensend

 this isn't a bug.
 by reviewing the source codes, you can find that Nagios(more
 precisely, the CGIs) just do this way.
 i have no clue why Nagios won't show partial hostgroups if one has
 no access to all host members.
 maybe for performance issue?

If this behavior is intention, I'd love to know why...  It seems
utterly broken to me, and while I have no vote to cast, I'd love
to see it changed.

While this seems like just a logic thing, I'd have to dig into
the code to see if I'm smart enough to come up with a diff.  :)

Any developers have an opinion/comment?

Benny


-- 
Hairy ape nads.-- Colleen, playing Neverwinter Nights



--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Nagios Alert Format?

2011-02-17 Thread Dr. Ed Morbius
Possible alternate solution:

Does your cell phone and/or carrier provide MMS service?

Messages will arrive in a format more similar to email, with more
context, etc.  You still could benefit by rewriting the standard Nagios
alerts (which I find to be rather uninformative), but could avoid other
limitations of SMS (160 character limit, etc.).

on 12:59 Thu 17 Feb, Engelmann, Austin (aengelm...@libertymgt.com) wrote:
 This is a small question. I have been editing the Nagios alert commands
 to get a nice, simple format to our cell phones. I am trying to get the
 notification type to be on the MSG: line. In my command, the
 notification type always gets place on the next line. My current command
 and the format of the SMS alert are listed below, anybody see what I can
 change and if it's possible?
 
  
 
 #'notify-service-by-email' command definition
 
 define command{
 
 command_name   notify-service-by-email
 
 command_line  /usr/bin/printf %b
 $NOTIFICATIONTYPE$\nSVC: $SERVICEDESC$\nHost: $HOSTALIAS$\nState:
 $SERVICESTATE$\n$SERVICEOUTPUT$ | /bin/mail -s Service Alert
 $CONTACTEMAIL$
 
 }
 
  
 
 FRM:nagiosadmin 
 
 SUBJ:Service Alert
 
 MSG:
 
 RECOVERY
 
 SVC: Ping Test
 
 Host: Hostname
 
 State: OK
 
 PING OK - Packet loss = 0%,
 
 RTA = 14.29 ms
 
  
 
 Austin
 
  
 

 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb

 ___
 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


-- 
Dr. Ed Morbius, Chief Scientist /|
  Robot Wrangler / Staff Psychologist| When you seek unlimited power
Krell Power Systems Unlimited|  Go to Krell!

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] check_openmanage SNMP Error

2011-02-17 Thread Shawn Green
I'm in the process of rolling out check_openmanage to monitor a variety of 
hardware including R510s, M600s, and M610s.  I'm running into an interesting 
issue where the alert is reporting back:

SNMP ERROR [cooling]: The requested entries are empty or do not exist.

I understand this is an SNMP error (not check_openmanage), but what's baffling 
me is how to work around it.  My Net::SNMP module is up to date (v6.0.1) as are 
net-snmp packages on all hosts.

A good majority of hosts that are getting this error are M600/M610 blades, yet 
other blades in the same chassis' do not get this error.  I'm also seeing these 
on several R510s, yet other R510s have no problems.

All hosts are Centos 5.5 64 bit with OMSA 6.2.0.

Thanks in advance,

Shawn
sgr...@dotomi.com

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] Nagios Alert Format?

2011-02-17 Thread Engelmann, Austin
We do have MMS capabilities...

-Original Message-
From: Dr. Ed Morbius [mailto:dredmorb...@gmail.com] 
Sent: Thursday, February 17, 2011 2:58 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios Alert Format?

Possible alternate solution:

Does your cell phone and/or carrier provide MMS service?

Messages will arrive in a format more similar to email, with more
context, etc.  You still could benefit by rewriting the standard Nagios
alerts (which I find to be rather uninformative), but could avoid other
limitations of SMS (160 character limit, etc.).

on 12:59 Thu 17 Feb, Engelmann, Austin (aengelm...@libertymgt.com)
wrote:
 This is a small question. I have been editing the Nagios alert
commands
 to get a nice, simple format to our cell phones. I am trying to get
the
 notification type to be on the MSG: line. In my command, the
 notification type always gets place on the next line. My current
command
 and the format of the SMS alert are listed below, anybody see what I
can
 change and if it's possible?
 
  
 
 #'notify-service-by-email' command definition
 
 define command{
 
 command_name   notify-service-by-email
 
 command_line  /usr/bin/printf %b
 $NOTIFICATIONTYPE$\nSVC: $SERVICEDESC$\nHost: $HOSTALIAS$\nState:
 $SERVICESTATE$\n$SERVICEOUTPUT$ | /bin/mail -s Service Alert
 $CONTACTEMAIL$
 
 }
 
  
 
 FRM:nagiosadmin 
 
 SUBJ:Service Alert
 
 MSG:
 
 RECOVERY
 
 SVC: Ping Test
 
 Host: Hostname
 
 State: OK
 
 PING OK - Packet loss = 0%,
 
 RTA = 14.29 ms
 
  
 
 Austin
 
  
 



--
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb

 ___
 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


-- 
Dr. Ed Morbius, Chief Scientist /|
  Robot Wrangler / Staff Psychologist| When you seek unlimited
power
Krell Power Systems Unlimited|  Go to
Krell!


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Nagios Alert Format?

2011-02-17 Thread Engelmann, Austin
I should mention:

I took every cell number address (ex. 15551234...@carrier.net) and added
them as a contact in Active Directory. Then I created an alias which
forwards to that contact (ex. em...@company.com) and Nagios uses this to
send messages out.

I am in the process of ordering a PC and iSMS box to dedicate to Nagios
and get it out of the server room.

-Original Message-
From: Dr. Ed Morbius [mailto:dredmorb...@gmail.com] 
Sent: Thursday, February 17, 2011 2:58 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios Alert Format?

Possible alternate solution:

Does your cell phone and/or carrier provide MMS service?

Messages will arrive in a format more similar to email, with more
context, etc.  You still could benefit by rewriting the standard Nagios
alerts (which I find to be rather uninformative), but could avoid other
limitations of SMS (160 character limit, etc.).

on 12:59 Thu 17 Feb, Engelmann, Austin (aengelm...@libertymgt.com)
wrote:
 This is a small question. I have been editing the Nagios alert
commands
 to get a nice, simple format to our cell phones. I am trying to get
the
 notification type to be on the MSG: line. In my command, the
 notification type always gets place on the next line. My current
command
 and the format of the SMS alert are listed below, anybody see what I
can
 change and if it's possible?
 
  
 
 #'notify-service-by-email' command definition
 
 define command{
 
 command_name   notify-service-by-email
 
 command_line  /usr/bin/printf %b
 $NOTIFICATIONTYPE$\nSVC: $SERVICEDESC$\nHost: $HOSTALIAS$\nState:
 $SERVICESTATE$\n$SERVICEOUTPUT$ | /bin/mail -s Service Alert
 $CONTACTEMAIL$
 
 }
 
  
 
 FRM:nagiosadmin 
 
 SUBJ:Service Alert
 
 MSG:
 
 RECOVERY
 
 SVC: Ping Test
 
 Host: Hostname
 
 State: OK
 
 PING OK - Packet loss = 0%,
 
 RTA = 14.29 ms
 
  
 
 Austin
 
  
 



--
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb

 ___
 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


-- 
Dr. Ed Morbius, Chief Scientist /|
  Robot Wrangler / Staff Psychologist| When you seek unlimited
power
Krell Power Systems Unlimited|  Go to
Krell!


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Nagios Alert Format?

2011-02-17 Thread Chris Beattie
Engelmann, Austin wrote:
 notification type to be on the MSG: line. In my command, the 
 notification type always gets place on the next line.

It looks like FRM:, SUBJ:, and MSG: are being added by your phone. 
  Those words do not appear in your command.  You can verify this by 
setting your pager address as your regular e-mail address.

Here is the command I use:
define command{
 command_namenotify-by-epager
 command_line/usr/bin/printf %b $HOSTNAME$/$SERVICEDESC$ 
is $SERVICESTATE$\n$SERVICEOUTPUT$\n$SHORTDATETIME$ | /bin/mail -s 
$NOTIFICATIONTYPE$: $HOSTNAME$/$SERVICEDESC$ $CONTACTPAGER$
}

And here is a page, sent to a regular e-mail client:

From: nagios@domain [mailto:nagios@domain]
Sent: Thursday, February 17, 2011 2:46 PM
To: Chris Beattie
Subject: PROBLEM: servername/Disk: F

servername/Disk: F is WARNING
F:\ - total: 399.99 Gb - used: 342.71 Gb (86%) - free 57.27 Gb (14%)
02-17-2011 14:46:02

-- 
-Chris

--


Nothing in this message is intended to make or accept an offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] check_openmanage SNMP Error

2011-02-17 Thread Trond Hasle Amundsen
Shawn Green sgr...@dotomi.com writes:

 I?m in the process of rolling out check_openmanage to monitor a variety of
 hardware including R510s, M600s, and M610s.  I?m running into an interesting
 issue where the alert is reporting back:

 SNMP ERROR [cooling]: The requested entries are empty or do not exist. 

 I understand this is an SNMP error (not check_openmanage), but what?s baffling
 me is how to work around it.  My Net::SNMP module is up to date (v6.0.1) as 
 are
 net-snmp packages on all hosts.

 A good majority of hosts that are getting this error are M600/M610 blades, yet
 other blades in the same chassis? do not get this error.  I?m also seeing 
 these
 on several R510s, yet other R510s have no problems. 

 All hosts are Centos 5.5 64 bit with OMSA 6.2.0.

Hi Shawn,

One thing that is really peculiar is that you're getting this error from
blade servers. The plugin should identify blades and ignore the fact
that they don't have cooling devices (i.e. fans). You should never get
this error from blades. Are you really sure that the error from your
blades are with cooling and not something else?

(If so, we'll need to investigate why the plugin doesn't identify the
blade servers correctly).

Your Net::SNMP version is fine and not to blame. The error lies with
OMSA and/or the SNMP service. Try running on the servers:

  omreport chassis fans

On the blades, you should get an error saying that no fan probes where
found, which is normal. But the R510s should display fan info. If they
don't, the problem is not SNMP related but with OMSA itself.

If you haven't already done so, try restarting OMSA (i.e. run
'srvadmin-services.sh restart') on the servers. Reinstalling OMSA (or
better yet: reinstall with version 6.4.0) is the logical next step. Make
sure that there are no errors during installation and that everything
gets installed.

Cheers,
-- 
Trond H. Amundsen t.h.amund...@usit.uio.no
Center for Information Technology Services, University of Oslo

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] SMS Alerts, what do you use?

2011-02-17 Thread Mirza Dedic
Hi,

I currently have Nagios running on a Ubuntu 10.04 VM on our virtual 
infrastructure, what I would like to do is enable SMS notification for some of 
the more critical notifications. Just wondering what you guys use out there 
and how you have it setup? Anyone share their experience on getting something 
reliable to work?

Thanks.



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] SMS Alerts, what do you use?

2011-02-17 Thread Jay Ashworth
- Original Message -
 From: Mirza Dedic mi...@oppy.com

 I currently have Nagios running on a Ubuntu 10.04 VM on our virtual
 infrastructure, what I would like to do is enable SMS notification for
 some of the more critical notifications. Just wondering what you
 guys use out there and how you have it setup? Anyone share their
 experience on getting something reliable to work?

You will get different responses on this...

but using SMS for something that's *more* critical may not be your best
approach, seeing as how SMS is a non-reliable transport with no way to 
tell (in most cases) whether the destination addressee received the 
message and (in some cases) even whether the network did.

It depends on what your definition of is, er, I mean critical is. :-)

Cheers,
-- jra

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] SMS Alerts, what do you use?

2011-02-17 Thread Mirza Dedic
I want to receive text version of some notifications in place (along with the 
standard email) for some of our systems; I already have the checks in place but 
what I want is them to be texted to me and not emailed. Sometimes emails get 
through the cracks, but I think SMS will work.

Also for a scenario where our email server does not work, say the service stops 
or the box becomes unresponsive this would be a 2nd way to get alerted 
regarding the issue.

That is the general idea of what I need SMS or an alternative way to get 
messages to my mobile device; and with the iPhone there is no custom email 
filters on messages (such as setting loud noise, etc. unless you jailbreak it 
and use cydia repo) but such control is there for texts.

-Original Message-
From: Jay Ashworth [mailto:j...@baylink.com]
Sent: February/17/2011 8:28 PM
To: Nagios Users List
Subject: Re: [Nagios-users] SMS Alerts, what do you use?

- Original Message -
 From: Mirza Dedic mi...@oppy.com

 I currently have Nagios running on a Ubuntu 10.04 VM on our virtual
 infrastructure, what I would like to do is enable SMS notification for
 some of the more critical notifications. Just wondering what you
 guys use out there and how you have it setup? Anyone share their
 experience on getting something reliable to work?

You will get different responses on this...

but using SMS for something that's *more* critical may not be your best 
approach, seeing as how SMS is a non-reliable transport with no way to tell (in 
most cases) whether the destination addressee received the message and (in some 
cases) even whether the network did.

It depends on what your definition of is, er, I mean critical is. :-)

Cheers,
-- jra

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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