On 11/17/06, Tobias Klausmann <[EMAIL PROTECTED]> wrote:
Hi!
On Fri, 17 Nov 2006, Yogesh Hasabnis wrote:
> Yes, I had used arrayprobe form the command-line. But being a layman, I
was
> not sure how to define a checkcommand using arrayprobe. Anyway, I will
also
> give it a try.
We use this:
nrpe.conf:
command[check_array]=/usr/bin/sudo /usr/bin/arrayprobe
Note that sudo is needed since NRPE has its own user and teh
utility nees to run as root.
nagios config:
define service {
host_name <host name(s) here>
service_description check_array
check_command check_nrpe!check_array
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
check_period 24x7
notification_interval 300
notification_period 24x7
notification_options w,c,r
contact_groups <contact groups here>
}
Hope this helps,
Tobias
Yes, it will certainly help. Will give a feedback about both check_cciss
and arrayprobe once I get it working.
Thanks
Yogesh
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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