[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monitoring /dev/log?
From: |
mad |
Subject: |
Re: Monitoring /dev/log? |
Date: |
Mon, 18 Jul 2011 10:07:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Iceowl/1.0b2 Icedove/3.1.11 |
Sorry, I forgot to mention, I already tried that. The result is
'rsyslog' failed, cannot open a connection to UNIX[/dev/log]
Regards,
mad
Am 18.07.2011 09:38, schrieb Martin Pala:
> Hi,
>
> the /dev/log is unix socket ... you can check it along with the process
> itself, for example:
>
> check process rsyslog with pidfile /var/run/rsyslog.pid
> start program = "/etc/init.d/rsyslog start"
> stop program = "/etc/init.d/rsyslog stop"
> if failed unixsocket /dev/log then restart
>
> (verify the paths to pidfile and init script are correct)
>
> Regards,
> Martin
>
>
>
> On Jul 18, 2011, at 8:47 AM, mad wrote:
>
>> Hi,
>>
>> I would like to monitor the file '/dev/log' which is created by rsyslog.
>> I only want to know if it exists and if it does not exist, rsyslog
>> should be restarted.
>>
>> So far I have no luck with that, because /dev/log is no ordinary file.
>> It may not help that I have only monit version 5.0.3.
>>
>> Thanks in advance for any help,
>> mad
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
- Monitoring /dev/log?, mad, 2011/07/18
- Re: Monitoring /dev/log?, Martin Pala, 2011/07/18
- Re: Monitoring /dev/log?,
mad <=
- Re: Monitoring /dev/log?, Martin Pala, 2011/07/18
- Re: Monitoring /dev/log?, Aleksandrov Artyom, 2011/07/18
- Re: Monitoring /dev/log?, mad, 2011/07/18
- Re: Monitoring /dev/log?, Martin Pala, 2011/07/18
- Re: Monitoring /dev/log?, mad, 2011/07/18