Dinesh Jadhav
9867011640
"Do not worry about anything; instead
PRAY ABOUT EVERYTHING."
Philippians 4:6
--- On Tue, 9/6/09, Gourav Joshi <[email protected]> wrote:
From: Gourav Joshi <[email protected]>
Subject: Re: [LinuxVadaPav] Fw: Nagios problem check_mysql
To: [email protected]
Date: Tuesday, 9 June, 2009, 3:42 PM
On Tue, Jun 9, 2009 at 12:49 PM, dinesh jadhav
<din_jadhav2003@ yahoo.co. in>wrote:
>
>
>
>
> Dinesh Jadhav9867011640" Do not worry about anything; instead
> PRAY ABOUT EVERYTHING."
> Philippians 4:6
>
> --- On Tue, 9/6/09, dinesh jadhav <din_jadhav2003@ yahoo.co.
> in<din_jadhav2003% 40yahoo.co. in>>
> wrote:
>
> From: dinesh jadhav <din_jadhav2003@ yahoo.co. in<din_jadhav2003% 40yahoo.co.
> in>
> >
> Subject: Nagios problem check_mysql
> To: "Vadapav Linux" <linuxvadapav@ yahoogroups. com<linuxvadapav%
> 40yahoogroups. com>
> >
> Date: Tuesday, 9 June, 2009, 11:37 AM
>
> HI All,
> 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?
>
> Here is what i have so far in commands.cfg
>
> define command{
> command_name check_mysql
> command_line $USER1$/check_ mysql -H $HOSTADDRESS$ -P $ARG1$
> -u $ARG2$ -p $ARG3$
> }
>
> and my services.cf file... or localhosts.cfg (nagios verion 3.0)
>
> 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
> }
>
> Thanks!Dinesh Jadhav9867011640" Do not worry about anything; instead
> PRAY ABOUT EVERYTHING."
> Philippians 4:6
>
> Explore your hobbies and interests. Click here to begin.
>
> Explore and discover exciting holidays and getaways with Yahoo! India
> Travel http://in.travel. yahoo.com/
>
> [Non-text portions of this message have been removed]
>
>
>
Hi,
You have not specified "check_command" option there in services.cfg. You
have to specify it with username and password for mysql.
--
Have a nice time,
Gourav Joshi
Visit me at :- http://www.gouravjo shi.co.in
[Non-text portions of this message have been removed]
========================================
HI Gaurav,
I have nagios 3.0 so ther no such file above i mistaly type services.cfg
ther is only one file that is localhost.cfg and second is command.cfg. I
already put the username and password over ther then aslo same problem facing.
Try to help me out.
Cricket on your mind? Visit the ultimate cricket website. Enter
http://beta.cricket.yahoo.com
[Non-text portions of this message have been removed]