ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey <a_s_y@sama.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] collectd и плагин ping
Date: Fri, 18 Oct 2019 10:41:15 +0400
Message-ID: <201910181041.15340.a_s_y@sama.ru> (raw)
In-Reply-To: <201910172247.26116.a_s_y@sama.ru>

On Thursday 17 October 2019, Sergey wrote:

> Отсальные плагины вполне пишут в /var/lib/collectd/`hostname`, то есть
> даже если на ходу через hostname заменить. Единственное предположение
> в том, что плагин ping как-то иначе определяет, куда писать, и каталога
> для него нет. Есть идеи?
 
Есть ещё одно отличие: где не работает, стоит systemd. И что-то я в логе
сразу не заметил

collectd[1301]: read-function of plugin `ping' failed. Will suspend it for 20.000 seconds.
collectd[1301]: ping plugin: ping_host_add (localhost) failed: Operation not permitted
collectd[1301]: ping plugin: No host could be added to ping object. Giving up.
collectd[1301]: ping plugin: The ping thread had a problem. Restarting it.

Пишут, что может мешать SELinux. В параметрах ядра у меня есть selinux=0,
и, вроде как, это работает:

# /usr/sbin/sestatus
SELinux status:                 disabled

То есть, не SELinux в моём случае. Сам systemd как-то может влиять?

-- 
С уважением, Сергей.


  reply	other threads:[~2019-10-18  6:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 18:47 Sergey
2019-10-18  6:41 ` Sergey [this message]
2019-10-18  6:49   ` Michael Shigorin
2019-10-18  6:54     ` Sergey
2019-10-18  7:04       ` Michael Shigorin
2019-10-18  7:14         ` Sergey
2019-10-18  7:56           ` Igor Golubkov
2019-10-18  8:23             ` [Comm] systemd, переопределение параметров unit-файла (collectd и плагин ping) Sergey
2019-12-31  8:16 ` [Comm] collectd и плагин ping Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201910181041.15340.a_s_y@sama.ru \
    --to=a_s_y@sama.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git