SCHNEIDER Benoit | 6 Jun 2011 14:05
Picon

Discontinuance in smokeping graph

Hi,


At my office we use smokeping to monitor connection.
The smokeping have been update from the debian etch version to squeez with out any problem, but few mounth later (now) we have some discontinuance in the graph.
The drowing stop and restart for all graphed connection in exactly the same time.

I build a new smokping directly based on squeez, with the same configuration files and I don't have any problem.

Any idear about what's happenning ? Or a way to found where the problem is ?

In my log files I have this:

Jun  6 12:03:31 smokeping smokeping[543]: FPing: NOTE: smokeping took 60 seconds to complete 1 round of polling. This is over 80%% of the max time available for a polling cycle (60 seconds).

But in both server.

Thank's for helping

Totoro
_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
Thiago Motta | 8 Jun 2011 05:54
Picon

smokeping master/slave on windows

Hi Guys,


My company provide a monitoring service for out systems in some gold contracts. And one of our customer has requested to implement network monitoring in adition to what we already do.

I did some research and found that this customer is already using SmokePing and that it provides the info we need, so it seens to be the natural choise for me.

I built a small lab to make some tests since this customer env is windows only and smokeping was originaly designed to *NIX.i want to be sure that all would work before presenting to my manager as an viable option.

I managed to get an standalone server running, and them changed it to a Master an configured a Slave in another windows box. All seens fine until here, the slave is comunicating to the master and the master itself is gathering its data.

The problem is, the slave is reporting back to the Master that store the data in a .slave_cache file, but there are entries with duplicated time in here, so when Smokeping in the master process it it generates the following error:

RRDs::update ERROR: \smokeping\var/Test/Google~pssla-02-vm-2.rrd: illegal attempt to update using time 1307502575 when last update time is 1307502575 (minimum one second step).

So in the this cache file i see several entries with the same time, and sometimes older entries after newer ones.

I am using Smokepng 4.2.4 with RRD 1.2.30. I am planning to move to a newer version of RRD, but since i need to build it from the sources i am only planning to do it when i have all working to present to my customer to plan the final implemantation.

I only have graphics for the master data, the slave RRD files just sits there and never get updated.

Just a little backgroud on the use, i have several servives distribuited on several servers in 8 sites distributed across the country (a total of more them 80 distinti servers) and i need to test the latency and avaliability of the servers that has any communication. Our productis are telephony related and SIP-Based and demand eficienty networks so the need to monitor it. Having all standalone installs in the servers and the info distribuited would be unmanageble, thus i realy need the Master/Slave funtion working.

If this is not possible to get it working can someone recomend a product that can do similar monitoring on windows?

Thanks in advance for everyone.

Cheer,
Thiago Motta
_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
Eric Brander | 15 Jun 2011 22:46
Favicon

loss_colors usage

Hello fellow smokers,

I have a question about loss_colors usage. I would like the loss colors to be different for each probe. For instance, I have an curl probe that has only 5 pings and an fping probe that does 10. I want to set colors for 1 through 10 (green fade to red) for the fping probe but only 1 through 5 (again green fade to red) for the curl probe. Can I do a loss_colors section under each of those probes or is there some other way to handle this?

TIA,
Eric

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
Moore, Chris | 16 Jun 2011 18:34

CiscoRTTMonEchoICMP Display issue

Hi all,

 

Trying to get CiscoRTTMonEchoICMP working and have run into a strange issue.

 

When I have it configured, it runs fine (see log output below) but when I try to see the results, I get an error message from the web server:

 

ERROR: /opt/smokeping/etc/config, line 286: unknown variable 'ioshost'

 

When I remove the ioshost variable, I can see the web pages just fine – and I can even see the results from CiscoRTTMonEchoICMP while it was running graphed – but, of course CiscoRTTMonEchoICMP no longer runs.

 

Here’s the relevant config:

 

*** Probes ***

+ FPing

binary = /usr/sbin/fping

blazemode = true

 

+ CiscoRTTMonEchoICMP

forks = 5

 

*** Targets ***

 

+ local

 

menu = Local

title = local

 

++ Internet_A

 

probe = CiscoRTTMonEchoICMP

menu = Internet_A

title = Internet_67.64.149.129

alerts = someloss

host = 67.64.149.129

ioshost = community <at> 67.227.90.130

 

 

And here is the log output:

 

Jun 16 10:11:34 prinetmon01 smokeping[30733]: Starting syslog logging

Jun 16 10:11:34 prinetmon01 smokeping[30736]: Smokeping version 2.004002 successfully launched.

Jun 16 10:11:34 prinetmon01 smokeping[30736]: Entering multiprocess mode.

Jun 16 10:11:34 prinetmon01 smokeping[30736]: Child process 30738 started for probe CiscoRTTMonEchoICMP.

Jun 16 10:11:34 prinetmon01 smokeping[30738]: CiscoRTTMonEchoICMP: probing 1 targets with step 300 s and offset 95 s.

Jun 16 10:11:34 prinetmon01 smokeping[30739]: FPing: probing 6 targets with step 300 s and offset 100 s.

Jun 16 10:11:34 prinetmon01 smokeping[30736]: Child process 30739 started for probe FPing.

Jun 16 10:11:34 prinetmon01 smokeping[30736]: All probe processes started successfully.

Jun 16 10:11:35 prinetmon01 smokeping[30740]: smokeping <at> 67.227.90.130:::::2 supports 2.2.0 Round Trip Time MIB

Jun 16 10:16:35 prinetmon01 smokeping[30783]: smokeping <at> 67.227.90.130:::::2 supports 2.2.0 Round Trip Time MIB

Jun 16 10:21:35 prinetmon01 smokeping[30841]: smokeping <at> 67.227.90.130:::::2 supports 2.2.0 Round Trip Time MIB

Jun 16 10:26:35 prinetmon01 smokeping[30908]: smokeping <at> 67.227.90.130:::::2 supports 2.2.0 Round Trip Time MIB

 

Thanks in advance for your help,

 

Chris

_______________________________________________

 

Chris Moore

Network Engineer

Presilient, LLC

720-566-5056

 

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
Joakim Westin | 18 Jun 2011 12:33
Gravatar

Smokeping Master/Slave permission/denied problem

Hi, I'm a SmokePing beginner.

I have gotten as far as to setup three machines. One as master
(master) and two slaves. I have configured my Targets file and added
the slaves. I set the permission on the file
/etc/smokeping/smokeping_secrets as follows:

sudo chmod 0440 /etc/smokeping/smokeping_secrets

then I start SmokePing

sudo service smokeping restart

On the slave I then execute this:

/usr/sbin/smokeping --master-url=http://master/smokeping/smokeping.cgi
--cache-dir=/var/smokeping/ --shared-secret=/var/smokeping/secret.txt
-debug

and I get this error:

WARNING: Opening secrets file /etc/smokeping/smokeping_secrets:
Permission denied

If I change the permission on the file
/etc/smokeping/smokeping_secrets on the master (while SMokePing is
running) :

sudo chmod 0444 /etc/smokeping/smokeping_secrets

It works at the slave. But after a while SmokePing complains that the
file is world readable...

I understand that the file shouldn't be world readable... but since I
am no good at Python and Linux permissions I really need help with
this!

Can anyone give me a clue as to how the permissions should be set for
the master/slave to work OK?

I am doing this with 2.004002 and Perl v5.10.1 on Ubuntu 11.04

Cheers,
Joakim

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

G.W. Haywood | 18 Jun 2011 18:24
Picon
Favicon

Re: Smokeping Master/Slave permission/denied problem

Hi there,

On Sat, 18 Jun 2011, Joakim Westin wrote:

> sudo chmod 0440 /etc/smokeping/smokeping_secrets
> ...
> WARNING: Opening secrets file /etc/smokeping/smokeping_secrets:
> Permission denied
> ...
> Can anyone give me a clue as to how the permissions should be set for
> the master/slave to work OK?

It's probably the file ownership that's the problem, not the permissions.
The file should be owned by the UID that's running the process which is
complaining about reading it.  Try using

chown user /etc/smokeping/smokeping_secrets

where "user" is the userid of the smokeping process.

Peter Kristolaitis | 18 Jun 2011 16:10
Picon

Re: Smokeping Master/Slave permission/denied problem

The file needs to be readable by the user that Smokeping is running as 
on the master.   If the file is owned by root and you set permissions 
0440 on it, then the Smokeping user can't read it.

You should change the ownersip of the file so that your Smokeping user 
can read it;  for example, if Smokeping runs as _smokeping, you could do:

chown _smokeping:root /etc/smokeping/smokeping_secrets
chmod 0660 /etc/smokeping/smokeping_secrets

- Peter

On 6/18/2011 6:33 AM, Joakim Westin wrote:
> Hi, I'm a SmokePing beginner.
>
> I have gotten as far as to setup three machines. One as master
> (master) and two slaves. I have configured my Targets file and added
> the slaves. I set the permission on the file
> /etc/smokeping/smokeping_secrets as follows:
>
> sudo chmod 0440 /etc/smokeping/smokeping_secrets
>
> then I start SmokePing
>
> sudo service smokeping restart
>
> On the slave I then execute this:
>
> /usr/sbin/smokeping --master-url=http://master/smokeping/smokeping.cgi
> --cache-dir=/var/smokeping/ --shared-secret=/var/smokeping/secret.txt
> -debug
>
> and I get this error:
>
> WARNING: Opening secrets file /etc/smokeping/smokeping_secrets:
> Permission denied
>
> If I change the permission on the file
> /etc/smokeping/smokeping_secrets on the master (while SMokePing is
> running) :
>
> sudo chmod 0444 /etc/smokeping/smokeping_secrets
>
> It works at the slave. But after a while SmokePing complains that the
> file is world readable...
>
> I understand that the file shouldn't be world readable... but since I
> am no good at Python and Linux permissions I really need help with
> this!
>
> Can anyone give me a clue as to how the permissions should be set for
> the master/slave to work OK?
>
> I am doing this with 2.004002 and Perl v5.10.1 on Ubuntu 11.04
>
> Cheers,
> Joakim
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users <at> lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Attachment (smime.p7s): application/pkcs7-signature, 6209 bytes
_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
Joakim Westin | 19 Jun 2011 13:19
Gravatar

Re: Smokeping Master/Slave permission/denied problem

Hi,

Many thanks both og you for pointing me in the right direction!

I did give the smokeping user ownership of the file but still got the
permission problem. After a while I realised that the issue was that
the SpeedyCGI module was running as www-data. Once I gave www-data
access to the file it all worked fine :-)

Thanks for helping me learn!

Cheers,
Joakim

2011/6/18 G.W. Haywood <ged <at> jubileegroup.co.uk>:
> Hi there,
>
> On Sat, 18 Jun 2011, Joakim Westin wrote:
>
>> sudo chmod 0440 /etc/smokeping/smokeping_secrets
>> ...
>> WARNING: Opening secrets file /etc/smokeping/smokeping_secrets:
>> Permission denied
>> ...
>> Can anyone give me a clue as to how the permissions should be set for
>> the master/slave to work OK?
>
> It's probably the file ownership that's the problem, not the permissions.
> The file should be owned by the UID that's running the process which is
> complaining about reading it.  Try using
>
> chown user /etc/smokeping/smokeping_secrets
>
> where "user" is the userid of the smokeping process.
>
> --
>
> 73,
> Ged.
>

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Steven Stromer | 21 Jun 2011 22:31

Old Alerts?

Hi. Smokeping is fantastic, but configuration has given me an issue...

I started with a tiny config file with only one alert, 'someloss'. Next, I built out my config file for my
network, with probes, targets and a range of alerts. The original alert 'someloss' was removed. Yet, when
I watch the smokeping logs, the ONLY alert I see active is 'someloss':

Jun 21 15:57:47 sstromer smokeping[92450]: Alert someloss is active for LAN_to_DOMAIN_HOST_Pings.Mail_Server_url
Jun 21 15:57:48 sstromer smokeping[92450]: Alert someloss is active for LAN_to_LAN.to_Router_ip

I've performed a string search through the file contents of all relevant directories for the term
'someloss', and can't find a single instance in any file containing this term. I've, of course, both
reloaded and restarted smokeping to no avail. Is there something more aggressive I have to do, such as
removing all of the .rdd files from existing targets?

Also, for future reference, what does it mean when an alert is logged as 'active'? Is the log activity
triggered by the beginning of an alert pattern being met, by the full pattern being met, by the alert
meeting all of the conditions necessary to trigger an email/application launch, or something other?

Thanks for the attention,

Steven Stromer

_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Steven Stromer | 22 Jun 2011 00:06

RRD parameter mismatch ('Different number of data sources...)

Hi List,

I've Googled all around for the better part of the day, and found multiple instances of this error, all
unresolved. If anyone can help, it would be much appreciated! smokeping is continuously restarting with
the following two messages in an endless loop:

org.macports.smokeping[30235]	Error: RRD parameter mismatch ('Different number of data sources:
/opt/local/var/smokeping/LAN_to_DOMAIN_HOST_Pings/Mail_Server_url.rrd has 23, create string
has 8'). You must delete /opt/local/var/smokeping/LAN_to_DOMAIN_HOST_Pings/Mail_Server_url.rrd
or fix the configuration parameters.

com.apple.launchd[1]	(org.macports.smokeping) Throttling respawn: Will start in 9 seconds

Deleting the file 'Mail_Server_url.rrd' does not resolve the issue. Where can I correct the
configuration parameters, or otherwise repair this issue?

Your assist is much appreciated!

Steven Stromer
_______________________________________________
smokeping-users mailing list
smokeping-users <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users


Gmane