monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit packages for Debian 6.0.7


From: Martin Pala
Subject: Re: monit packages for Debian 6.0.7
Date: Tue, 6 Aug 2013 11:47:26 +0200

How exactly the web interface looks like? (blank page?). It seems that the web 
interface works, as it provides the status output to the CLI interface. 
According to your configuration snip, the http interface is not using SSL => 
make sure you try to connect to the GUI via http:// url (not the https://)

Regards,
Martin


On Aug 5, 2013, at 2:03 PM, Dmitry Korzhevin <address@hidden> wrote:

> Ok, seems this config error.
> 
> Here is output of console commands on server, running monit 5.5.1:
> 
> monit -V
> This is monit version 5.1.1
> Copyright (C) 2000-2010 by Tildeslash Ltd. All Rights Reserved.
> 
> monit -t
> Control file syntax OK
> 
> monit summary
> The Monit daemon 5.5.1 uptime: 6m
> 
> Process 'mysql'                     Running
> Process 'freerad'                   Running
> System 'api.vpnshield.stidia.com'   Running
> 
> monit status
> The Monit daemon 5.5.1 uptime: 6m
> 
> Process 'mysql'
>  status                            Running
>  monitoring status                 Monitored
>  pid                               488
>  parent pid                        340
>  uptime                            5d 23h 18m
>  children                          0
>  memory kilobytes                  49344
>  memory kilobytes total            49344
>  memory percent                    1.1%
>  memory percent total              1.1%
>  cpu percent                       0.0%
>  cpu percent total                 0.0%
>  port response time                0.000s to 127.0.0.1:3306 [DEFAULT via TCP]
>  data collected                    Mon, 05 Aug 2013 13:55:09
> 
> Process 'freerad'
>  status                            Running
>  monitoring status                 Monitored
>  pid                               878
>  parent pid                        1
>  uptime                            5d 23h 18m
>  children                          0
>  memory kilobytes                  5516
>  memory kilobytes total            5516
>  memory percent                    0.1%
>  memory percent total              0.1%
>  cpu percent                       0.0%
>  cpu percent total                 0.0%
>  port response time                0.001s to 127.0.0.1:1813stidia [RADIUS via 
> UDP]
>  port response time                0.001s to 127.0.0.1:1812stidia [RADIUS via 
> UDP]
>  data collected                    Mon, 05 Aug 2013 13:55:09
> 
> System 'api.vpnshield.stidia.com'
>  status                            Running
>  monitoring status                 Monitored
>  load average                      [0.00] [0.04] [0.03]
>  cpu                               0.2%us 0.2%sy 0.0%wa
>  memory usage                      345940 kB [8.2%]
>  swap usage                        0 kB [0.0%]
>  data collected                    Mon, 05 Aug 2013 13:55:09
> 
> 
> 
> Seems, monit monitors all services, but i can't see them in web interface. I 
> try Firefox, Opera and Chromium, try even clean cache, without no results.
> 
> Any advice?
> 
> 05.08.2013 14:41, Dmitry Korzhevin пишет:
>> Hi, Martin
>> 
>> Thank you, for advice. I take latest stable binary from site
>> (linux-x64), moved it to /opt, unpack and start with following command:
>> 
>> ./monit -c /etc/monit/monitrc -s /var/lib/monit/monit.state
>> 
>> Monit started:
>> 
>> Starting monit daemon with http interface at [*:2812]
>> 
>> I can login to webinterface, but i cant see any of my services in
>> monitoring dashboard.
>> 
>> I use simple config:
>> 
>> set daemon  60
>> set logfile syslog facility log_daemon
>> set mailserver localhost
>> set mail-format { from: address@hidden }
>> set alert MYEMAIL
>> set httpd port 2812 and
>> #     SSL ENABLE
>> #     PEMFILE  /var/certs/monit.pem
>>      allow login:pass
>> 
>> check process mysql with pidfile /var/run/mysqld/mysqld.pid
>>    group database
>>    start program = "/etc/init.d/mysql start"
>>    stop program = "/etc/init.d/mysql stop"
>>    if failed host 127.0.0.1 port 3306 then restart
>>    if 5 restarts within 5 cycles then timeout
>> 
>> check process freerad with pidfile /var/run/freeradius/freeradius.pid
>>   start program = "/etc/init.d/freeradius start"
>>   stop program = "/etc/init.d/freeradius stop"
>>   if failed host 127.0.0.1 port 1812 type udp protocol radius secret
>> stidia then alert
>>   if failed host 127.0.0.1 port 1813 type udp protocol radius secret
>> stidia then alert
>>   if 5 restarts within 5 cycles then timeout
>> 
>> 
>> Can you please advice, maby config syntax changed, and i should modify
>> my checks?
>> 
>> 
>> 
>> 05.08.2013 13:51, Martin Pala пишет:
>>> Hi,
>>> 
>>> we don't maintain package repository - we provide binary build as the
>>> "tar.gz" archive which works on almost every linux distribution
>>> including Debian 4.x or newer (you can get it from the download page)
>>> 
>>> Regards,
>>> Martin
>>> 
>>> 
>>> On Aug 5, 2013, at 12:49 PM, Dmitry Korzhevin
>>> <address@hidden> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> Guys, i think you know, that debian repository have very old version
>>>> of monit (5.1.1). Maby, monit developers have internal project
>>>> repository, where i can obtain latest debian packages of monit system?
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Best Regards,
>>>> Dmitry
>>>> 
>>>> ---
>>>> Dmitry KORZHEVIN
>>>> System Administrator
>>>> STIDIA S.A. - Luxembourg
>>>> 
>>>> e: address@hidden
>>>> m: +38 093 874 5453
>>>> w: http://www.stidia.com
>>>> 
>>>> --
>>>> To unsubscribe:
>>>> https://lists.nongnu.org/mailman/listinfo/monit-general
>>> 
>> 
>> Best Regards,
>> Dmitry
>> 
>> ---
>> Dmitry KORZHEVIN
>> System Administrator
>> STIDIA S.A. - Luxembourg
>> 
>> e: address@hidden
>> m: +38 093 874 5453
>> w: http://www.stidia.com
>> 
>> 
>> 
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>> 
> 
> Best Regards,
> Dmitry
> 
> ---
> Dmitry KORZHEVIN
> System Administrator
> STIDIA S.A. - Luxembourg
> 
> e: address@hidden
> m: +38 093 874 5453
> w: http://www.stidia.com
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]