From: Eugene Prokopiev <enp@itx.ru> To: ALT Linux sysadmin discuss <Sysadmins@lists.altlinux.org> Subject: [Sysadmins] collectd web Date: Fri, 11 Dec 2015 15:16:28 +0300 Message-ID: <CANM4RuhvYSg+AJHJQ2hJCNbq4CcPYXBm0tBXx2fmacyQbrJ7pQ@mail.gmail.com> (raw) Здравствуйте! Расскажите, какие веб-интерфейсы для collectd сейчас удобны/актуальны. Попробовал опакеченный collection4: сказал spawn-fcgi -s /tmp/collection4.sock -- /usr/libexec/collection/collection.fcgi и fastcgi_pass unix:/tmp/collection4.sock в nginx.conf, однако список хостов и графиков оказался пустым (хотя в /var/lib/collectd/ все необходимое есть). Как это отлаживать? Попробовал неопакеченный collectd-web: запустил родной runserver.py и сказал proxy_pass http://127.0.0.1:8888/ в nginx.conf, однако вижу в nginx.error.log странные записи в духе: 2015/12/11 13:37:44 [error] 19716#0: *13 open() "//html/cgi-bin/collection.modified.cgi" failed (2: No such file or directory), client: 10.11.80.181, server: localhost, request: "GET /cgi-bin/collection.modified.cgi?action=show_graph;plugin=memory;type=memory;host=sandbox.donpac.ru;timespan=hour;start=12:42%20Dec%2011%202015;end=13:42%20Dec%2011%202015; HTTP/1.1", host: "sandbox", referrer: "http://sandbox/collectd-web/" Откуда там //html - непонятно, напрямую все работает, вырезание с помощью rewrite ^/html(/.*)$ $1 last в nginx не помогает, да и не дело - тот же скрипт с другими параметрами работает. Неплохо выглядит jarmon, и разворачивать удобно, ибо статика, но описывать каждый график вручную - это слишком. Еще интереснее facette, но там тоже хосты/графики нужно добавлять вручную, а еще собрать у нас что-то, использующее npm/nodejs будет, видимо, непросто. Опакеченный collectd-cgi-nginx меня не впечатлил - очень уж страшен. Что еще посоветуете? -- WBR, Eugene Prokopiev
next reply other threads:[~2015-12-11 12:16 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-12-11 12:16 Eugene Prokopiev [this message] 2015-12-11 12:57 ` Konstantin Lepikhov 2015-12-11 13:30 ` Eugene Prokopiev 2015-12-11 13:57 ` Konstantin Lepikhov 2015-12-12 16:37 ` 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=CANM4RuhvYSg+AJHJQ2hJCNbq4CcPYXBm0tBXx2fmacyQbrJ7pQ@mail.gmail.com \ --to=enp@itx.ru \ --cc=Sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git