Help on check_disk using the -p option.
Mukarram Syed
muksyed at yahoo.com
Thu Apr 7 20:21:51 CEST 2005
All,
I am in the process of writing a script for this.
Thanks to everyone who responded to this Subject.
-Mukarram.
--- andrew2 at one.net wrote:
> nagios-users-admin at lists.sourceforge.net wrote:
> > Is it possible to have multiple check_command for
> a single
> > service_description? For example:
> >
> > define service{
> > service_description Disks
> > check_command check_nrpe!check_disk1
> > check_command check_nrpe!check_disk2
> > }
>
> No, you can only do one check per service. One
> thing you could do to
> achieve the results you're looking for would be to
> write up your own
> script that performs each of the individual checks
> for your disks and
> then concatenates the results into one result that
> returns OK, WARNING,
> or CRITICAL along with whatever additional text
> you'd like and then have
> Nagios use your script as the check command for that
> service.
>
> Andrew
>
>
Mukarram Syed
muksyed at yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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