check_openmanage & Dell R410

Trond Hasle Amundsen t.h.amundsen at usit.uio.no
Mon Nov 2 14:48:46 CET 2009


"Ortner, Gerald" <Gerald.Ortner at gespag.at> writes:

> looks like the symlink function isn't included anymore you can use
> --only in the command definition instead e.g. --only=batteries

Yes, the symlink stuff was messy and unnecessary. I removed it
completely and replaced the functionality with the '--only' option. To
get the same behaviour in Nagios as before, replace the command in your
Nagios config from (example):

  check_openmanage_cpu

to this:

  check_openmanage --only cpu

You can also mimic the symlink stuff with little shell wrappers:

  $ cat ./check_openmanage_cpu
  #!/bin/sh
  exec /usr/lib64/nagios/plugins/check_openmanage --only cpu $*

Example run:

  $ ./check_openmanage_cpu -H login1
  PROCESSORS OK - 2 processors checked

Cheers,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list