----- "jeremiah" <[EMAIL PROTECTED]> wrote: > I want nagios to automatically check mysql services on my servers. > However when i view the web interface i see that staus is UNKNOWN and > it > displays the usage for check_mysql. In what file am i supposed to put > the arguments for this command? > > define service{ > use generic-service ; > Name > of service template > hostgroup_name mysql_servers > service_description MYSQL > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admins > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command check_mysql
Change your check_command directive to check_mysql!ARG1!ARG2!ARG3, where ARG1 is the $ARG1$ value of your check command from commands.cfg and so... -rm ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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