I found it check_command check_disk! -w 20% -c 10% --path=/ It was missing the "!"
Thanks for helping me sort it out. Wolf On Mon, Mar 19, 2012 at 10:37 AM, Wolf Halton <wolf.hal...@gmail.com> wrote: > I am not sure how I am launching the service, which I admit is bad, > but I inherited the setup. > I am not sure if it ever worked properly, because it took a > catastrophic rampant application running amok, spewing 9GB files to > clue me in. > I am running nagios 3.3.1 and nagios-plugins 1.4.15 > the application is check_local_disk > but I think that must have been a check from the previous nagios > the one in libexec is check_disk > so I tried > [code] > define service{ > use local-service > host_name LTS-MASTERKEY-000 > service_description Root Partition > check_command check_disk -w 20% -c 10% --path=/ > notifications_enabled 1 > max_check_attempts 3 > check_interval 5 > retry_interval 3 > check_period 24x7 > notification_interval 15 > notification_period 24x7 > notification_options w,c,r > contact_groups admins > } > [/code] > > and nagios will not start - says there is a configuration error > > On Fri, Mar 9, 2012 at 7:49 AM, Claudio Kuenzler <c...@claudiokuenzler.com> > wrote: >> Please show the service definition. >> How do you launch the check? By ssh, by nrpe? >> >> Seems you're using the same IP address or dns name as the hostname value. >> Can you verify this? >> >> On Fri, Mar 9, 2012 at 1:19 PM, Wolf Halton <wolf.hal...@gmail.com> wrote: >>> >>> All my machines show a similar output, regardless of how much is >>> available on their root partitions. >>> >>> >>> Root Partition >>> >>> OK 03-09-2012 07:11:08 28d 22h 18m 15s 1/3 >>> DISK OK - free space: >>> / 15903 MB (86% inode=93%): >>> >>> Up to and including ones that are 100% full. No alarms - ever. Is a >>> client app needed on the monitored clients that has not been >>> mentioned? >>> >>> -Wolf >>> >>> >>> -- >>> This Apt Has Super Cow Powers - http://sourcefreedom.com >>> Advancing Libraries Together - http://LYRASIS.org >>> >>> >>> ------------------------------------------------------------------------------ >>> Virtualization & Cloud Management Using Capacity Planning >>> Cloud computing makes use of virtualization - but cloud computing >>> also focuses on allowing computing to be delivered as a service. >>> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >>> _______________________________________________ >>> 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 >> >> >> >> ------------------------------------------------------------------------------ >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> 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 > > > > -- > This Apt Has Super Cow Powers - http://sourcefreedom.com > Advancing Libraries Together - http://LYRASIS.org -- This Apt Has Super Cow Powers - http://sourcefreedom.com Advancing Libraries Together - http://LYRASIS.org ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ 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