[smokeping-users] [Ticket #33] smokeping-users Digest, Vol 77, Issue 3
IT Department
anghelflorin at globtel.ro
Tue Nov 12 18:32:29 CET 2013
This is a notification from the Help Desk.
On Nov 12, 2013 @ 05:32 pm, smokeping-users-request at lists.oetiker.ch wrote:
Send smokeping-users mailing list submissions to
smokeping-users at lists.oetiker.ch
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
or, via email, send a message with subject or body 'help' to
smokeping-users-request at lists.oetiker.ch
You can reach the person managing the list at
smokeping-users-owner at lists.oetiker.ch
When replying, please edit your Subject line so it is more specific
than "Re: Contents of smokeping-users digest..."
Today's Topics:
1. Re: (no subject) (Paul Mansfield)
2. Re: rename of smokeping.cgi into index.cgi (Arnaud)
3. Re: rename of smokeping.cgi into index.cgi (Paul Mansfield)
4. Re: Can't call method "_pings" (Iain)
5. Slave Graphs not updating on master (Nick Toseland)
6. Re: Slave Graphs not updating on master (Gregory Sloop)
----------------------------------------------------------------------
Message: 1
Date: Mon, 8 Jul 2013 12:28:15 +0100
From: Paul Mansfield <paul.mansfield+smokeping at grapeshot.co.uk>
Subject: Re: [smokeping-users] (no subject)
To: smokeping-users at lists.oetiker.ch
Message-ID:
<CAHYeK0dET7yorU2h5nJExNRTc7dTnt-m3gaQiE9BwWSktY=iOQ at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
the smokeping master host configuration is very fragile, and a mistake
in one place doesn't always show up at the point of the error but can
break the part below.
the only solution is to comment out chunks of the config until the
error goes away and then re-introduce things a line or two at a time.
just to add to the misery, if a slave is running in debug mode I have
found that it will lock up when the master's configuration changes.
On 8 July 2013 12:22, Dharmapriya Thusitha <thusitha555 at gmail.com> wrote:
> but in this example ,(go to this link)->
> https://lists.oetiker.ch/pipermail/smokeping-users/2002-July/000253.html
> it has device name as
>
> 'hosting.com Colocation'
>
> so it has "." and " " .but they says the error is only the " " , not the
> "." .how could be it happen .then
>
> why ip address gives an error "unknown section" to me.
>
>
>
> On Mon, Jul 8, 2013 at 2:50 PM, Dharmapriya Thusitha <thusitha555 at gmail.com>
> wrote:
>>
>> hi,
>> In smokeping ,it uses ++/[-_0-9a-zA-Z]+/ types of device names.so i cant
>> add ip address as the device name .it gives an error." ERROR:
>> /etc/smokeping/devices/xx.xx.xx.xx, line 1: unknown section '"xx.xx.xx.xx.
>> and i have 5000 agents to monitor. because of this problem ,it is very hard
>> to change the names of those devices.give me an solution
>>
>>
>> On Mon, Jul 8, 2013 at 2:40 PM, Paul Mansfield
>> <paul.mansfield+smokeping at grapeshot.co.uk> wrote:
>>>
>>> On 8 July 2013 10:00, Dharmapriya Thusitha <thusitha555 at gmail.com> wrote:
>>> > and i have 5000 agents to monitor. because of this problem ,it is very
>>> > hard
>>> > to change the names of those devices.give me an solution
>>>
>>> I'd recommend programmatically generating something you can add to
>>> /etc/hosts file or DNS, as well as generating the smokeping
>>> configuration.
>>>
>>> If you have that many hosts you must be using some sort of automated
>>> deployment and monitoring already so you can get the list of IPs from
>>> that.
>>>
>>> _______________________________________________
>>> smokeping-users mailing list
>>> smokeping-users at lists.oetiker.ch
>>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>>
>>
>
------------------------------
Message: 2
Date: Mon, 8 Jul 2013 14:09:12 +0000 (UTC)
From: Arnaud <adedc at wanadoo.fr>
Subject: Re: [smokeping-users] rename of smokeping.cgi into index.cgi
To: smokeping-users at lists.oetiker.ch
Message-ID: <loom.20130708T152259-216 at post.gmane.org>
Content-Type: text/plain; charset=us-ascii
G.W. Haywood <ged <at> jubileegroup.co.uk> writes:
>
> Hi there,
>
> On Wed, 6 Feb 2013, Kris De Rocker wrote:
>
> > I've followed a nice (and working!) how-to to install smokeping on a
CentOS system
> > (http://www.wedebugyou.com/2012/11/how-to-install-and-configure-
smokeping-on-centos-6/)
>
> Unofficial HOWTOs generally should be treated with suspicion. They
> are usually out of date and often wrong.
>
> > At this moment, the smokeping URL is like
http://ip/smokeping/smokeping.cgi
> > Can i just do a rename of smokeping.cgi into index.cgi so that when i
surf to
> > http://ip/smokeping it will be visible? Or isn't that possible?
>
> Don't do that. Use the facilities which are made available by Apache:
>
> http://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex
>
>
Hi,
I am following the same installation with a problem in step 6 (add
smokeping start/stop script) because the link is anavailable.
Could you please send me the file "smokeping_start_stop.txt"?
Best regards
------------------------------
Message: 3
Date: Tue, 9 Jul 2013 09:35:36 +0100
From: Paul Mansfield <paul.mansfield+smokeping at grapeshot.co.uk>
Subject: Re: [smokeping-users] rename of smokeping.cgi into index.cgi
To: smokeping-users at lists.oetiker.ch
Message-ID:
<CAHYeK0cxFBO1fmfnhduvJBj0UWQJpwkDAc5Y-cHKOFoY8mRO2w at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
this is the script I use for starting slaves:
#!/bin/bash
#OPTS="--debug-daemon --nodaemon"
chown root:smokeping /usr/local/smokeping/etc/secret
chmod ug=rw,o= /usr/local/smokeping/etc/secret
su - smokeping -s /bin/bash -c "/usr/local/smokeping/bin/smokeping
$OPTS --master-url=http://smokeping.example.com
--cache-dir=/usr/local/s
mokeping/cache --shared-secret=/usr/local/smokeping/etc/secret"
and here's the one I use for starting the master node:
#!/bin/bash
#OPTS="--debug-daemon --nodaemon"
cd /usr/local/smokeping
chgrp -R smokeping cache data var
chmod -R g+w cache data var
su - smokeping -s /bin/bash -c "cd /usr/local/smokeping ; bin/smokeping $OPTS"
------------------------------
Message: 4
Date: Tue, 9 Jul 2013 14:30:34 +0200
From: Iain <expat.iain at gmail.com>
Subject: Re: [smokeping-users] Can't call method "_pings"
To: smokeping-users at lists.oetiker.ch
Message-ID: <20130709143034.1a687c3a at expat-lt.net.tain.com>
Content-Type: text/plain; charset=UTF-8
On Fri, 23 Nov 2012 12:50:05 +0200, ?????? ??????? did type at the
keyboard thusly:
> please help to solve the problem
>
> Can't call method "_pings" on an undefined value at
> /usr/local/smokeping/lib/Smokeping.pm line 884.
>
> thanks
Did you ever manage to fix this problem? I have the same issue after
migrating a working installation from Debian to FreeBSD. I can view
graphs and all other information if I pass ?target= argument on the
URL, but hitting the http://<host>/<path>/smokeping.fcgi results in the
exact same error.
------------------------------
Message: 5
Date: Wed, 10 Jul 2013 00:36:15 +0100
From: Nick Toseland <nick at livejournalinc.com>
Subject: [smokeping-users] Slave Graphs not updating on master
To: smokeping-users at lists.oetiker.ch
Message-ID: <51DC9E6F.2020007 at livejournalinc.com>
Content-Type: text/plain; charset="iso-8859-1"
All,
I am pulling my hair out trying to get the slave graphs to update on the
master server.
I have ran the debug on the slave and can it executing the probe and
sending the data to the master. apparently the server acknowledges it,
but nothing appears on the webpage.
This is how the apache and smokeping process run:
# ps -ef | grep apache
root 987 1 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 989 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 991 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 992 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start
# ps -ef | grep smokeping
106 1706 1 0 23:05 ? 00:00:00 /usr/sbin/smokeping [FPing]
There is nothing in /var/log/syslog to suggest why this is not working.
There is however these in /var/log/apache2/error.log. The problem is
that those files don't exist
[Tue Jul 9 23:17:00 2013] smokeping.cgi [client XXXXX]: Could not lock
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache
(Permission denied). Trying again 2 more times.
[Tue Jul 9 23:17:01 2013] smokeping.cgi [client XXXXX]: Could not lock
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache
(Permission denied). Trying again 1 more times.
[Tue Jul 9 23:17:02 2013] smokeping.cgi [client XXXXX]: Could not
update
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache,
giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.
[Tue Jul 9 23:22:00 2013] smokeping.cgi [client XXXXX]: Could not lock
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache
(Permission denied). Trying again 2 more times.
[Tue Jul 9 23:22:01 2013] smokeping.cgi [client XXXXX]: Could not lock
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache
(Permission denied). Trying again 1 more times.
[Tue Jul 9 23:22:02 2013] smokeping.cgi [client XXXXX]: Could not
update
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache,
giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.
ls -la /var/lib/smokeping//External/
total 5848
drwxr-xr-x 2 smokeping smokeping 4096 Jul 9 22:51 .
drwxr-xr-x 6 smokeping smokeping 4096 Jul 9 22:51 ..
-rw-r--r-- 1 smokeping smokeping 2986808 Jul 9 23:33 BBC-CO-UK.rrd
-rw-r--r-- 1 smokeping smokeping 2986808 Jul 9 22:51
BBC-CO-UK~smokeping-oregon.rrd
Could you help me get to the bottom of this?
Thanks
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130710/f47784a2/attachment-0001.htm
------------------------------
Message: 6
Date: Tue, 9 Jul 2013 16:52:31 -0700
From: Gregory Sloop <gregs at sloop.net>
Subject: Re: [smokeping-users] Slave Graphs not updating on master
To: smokeping-users at lists.oetiker.ch
Message-ID: <1517435054.20130709165231 at sloop.net>
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130709/029d6a8d/attachment.htm
------------------------------
_______________________________________________
smokeping-users mailing list
smokeping-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
End of smokeping-users Digest, Vol 77, Issue 3
**********************************************
------
This is an automated response. Your issue has been noted. We'll be in touch soon.
Please reply to this email or visit the URL below with any additional details.
http://florin-pc/portal/view-help-request/33
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20131112/907b84f7/attachment.htm
More information about the smokeping-users
mailing list