From freifunk@fr32k.de Sun Oct 25 13:30:25 2015 From: picard To: admin@lists.ffnw.de Subject: [Admin] munin plugin - ffmap Date: Sun, 25 Oct 2015 13:30:12 +0100 Message-ID: <20151025133012.Horde.AxDfEUTmsASL_Y4ZAMVzqJG@fr32k.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0423567793254322676==" --===============0423567793254322676== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit hallo, ich habe versucht folgende plugins ein zu bauen. https://github.com/freifunkMUC/munin-plugins ffmap & ffmap_nodes um ffmap_nodes nutzen zu können muss mir alfred-json -z -r 159 erzeugt werden habe ich einen eintrag im cron.sh gemacht root(a)srv06 /home/ffnw/ffmap-backend (git)-[tags/v2] # vi cron.sh alfred-json -z -r 159 > $HOME/node_load.json leider bekomme ich fehler die ich nicht verstehe. root(a)srv01 /usr/share/munin/plugins # munin-run ffmap_muc Use of uninitialized value in subroutine entry at /usr/lib/x86_64-linux-gnu/perl/5.20/Time/Piece.pm line 469. nodes.json data too old (16733 days, 12 hours, 25 minutes, 32 seconds) at /etc/munin/plugins/ffmap_muc line 63. und root(a)srv01 /usr/share/munin/plugins # munin-run ffmap_nodes malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "\r\n To: admin@lists.ffnw.de Subject: Re: [Admin] munin plugin - ffmap Date: Sun, 25 Oct 2015 14:01:05 +0100 Message-ID: <20151025140105.Horde.wRK7yccVe_u-ejj47hh7XtM@fr32k.de> In-Reply-To: <20151025133012.Horde.AxDfEUTmsASL_Y4ZAMVzqJG@fr32k.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2354414688525832734==" --===============2354414688525832734== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Zitat von picard : > ich habe versucht folgende plugins ein zu bauen. https://github.com/LeSpocky/munin-plugins bei diesem plugin gibt es dieses problem root(a)srv01 /usr/share/munin/plugins # munin-run ffmap Could not get it! at /etc/munin/plugins/ffmap line 67. main::get_node_data() called at /etc/munin/plugins/ffmap line 387 dazu einer eine idee?? -- Gruß pic @ME https://wiki.nordwest.freifunk.net/picard --===============2354414688525832734==--