[smokeping-users] Graph but no results

Tony DeMatteis tonyd at commspeed.net
Fri Oct 4 19:28:36 CEST 2013


The problem is indeed the ping command (see bottom of output), but a 
permissions issue with privilege level.  I'll have to dig more. Thanks 
again Greg!!

< 0x00000: 0d 0a 0d 0a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
....************
< 0x00010: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00020: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00030: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00040: 0d 0a 20 20  20 20 20 20  20 20 20 20  20 20 20 20  ..
< 0x00050: 20 20 20 20  20 20 20 20  7c 20 20 20  20 20 20 20          |
< 0x00060: 20 20 20 20  20 20 7c 0d  0a 20 20 20  20 20 20 20        |..
< 0x00070: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 7c 
7c                ||
< 0x00080: 7c 20 20 20  20 20 20 20  20 20 20 20  7c 7c 7c 0d  
|           |||.
< 0x00090: 0a 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20  .
< 0x000a0: 20 20 20 20  20 7c 7c 7c  7c 7c 20 20  20 20 20 20       |||||
< 0x000b0: 20 20 20 7c  7c 7c 7c 7c  0d 0a 20 20  20 20 20 20     |||||..
< 0x000c0: 20 20 20 20  20 20 20 2e  2e 2e 2e 2e  3a 7c 7c 7c         
.....:|||
< 0x000d0: 7c 7c 7c 7c  3a 2e 2e 2e  2e 2e 3a 7c  7c 7c 7c 7c  
||||:.....:|||||
< 0x000e0: 7c 7c 3a 2e  2e 2e 2e 2e  0d 0a 20 20  20 20 20 20  ||:.......
< 0x000f0: 20 20 20 20  20 20 20 20  20 20 20 20  43 20 69 
20              C i
< 0x00100: 73 20 63 20  6f 20 53 20  79 20 73 20  74 20 65 20  s c o S y 
s t e
< 0x00110: 6d 20 73 0d  0a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  m 
s..***********
< 0x00120: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00130: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00140: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00150: 2a 0d 0a 43  6f 6d 70 61  6e 79 20 20  20 20 20 20  *..Company
< 0x00160: 20 20 20 3d  20 20 65 53  65 64 6f 6e  61 0d 0a 53     = 
<censored>..S
< 0x00170: 69 74 65 20  4e 61 6d 65  20 20 20 20  20 20 20 3d  ite 
Name       =
< 0x00180: 20 20 45 53  45 53 4f 0d  0a 4c 6f 63  61 74 69 6f    
ESESO..Locatio
< 0x00190: 6e 20 20 20  20 20 20 20  20 3d 20 20  53 65 64 6f  n        
=  Sedo
< 0x001a0: 6e 61 2c 20  41 5a 0d 0a  44 65 76 69  63 65 20 4e  na. 
AZ..Device N
< 0x001b0: 61 6d 65 20  20 20 20 20  3d 20 20 63  72 31 2e 65  ame     
=  cr1.e
< 0x001c0: 73 65 64 6f  0d 0a 46 51  44 4e 20 20  20 20 20 20  sedo..FQDN
< 0x001d0: 20 20 20 20  20 20 3d 20  20 63 72 31  2e 65 73 65        =  
cr1.ese
< 0x001e0: 64 6f 2e 65  73 65 64 6f  6e 61 2e 6e  65 74 20 28  
do.<censored>.net (
< 0x001f0: 69 6e 73 3a  20 63 72 31  2e 65 73 65  64 6f 29 0d  ins: 
cr1.esedo).
< 0x00200: 0a 43 6f 6e  74 61 63 74  20 20 20 20  20 20 20 20  .Contact
< 0x00210: 20 3d 20 20  4e 4f 43 3a                             =  NOC:

< 0x00000: 28 38 36 36  29 33 31 36  2d 34 36 36  32 20 7c 20  <censored>
< 0x00010: 6e 6f 63 40  63 6f 6d 6d  73 70 65 65  64 2e 6e 65 <censored>
< 0x00020: 74 0d 0a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
...*************
< 0x00030: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00040: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00050: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 0d  
***************.
< 0x00060: 0a 0d 0a 20  20 20 20 20  20 20 20 20  20 20 20 20  ...
< 0x00070: 20 20 20 20  20 20 20 20  20 20 20 5c  5c 7c 2f 
2f             \\|//
< 0x00080: 0d 0a 20 20  20 20 20 20  20 20 20 20  20 20 20 20  ..
< 0x00090: 20 20 20 20  20 20 20 20  20 20 28 6f  20 6f 29 0d            
(o o).
< 0x000a0: 0a 20 20 20  20 20 20 20  20 20 20 20  20 20 20 2d  
.              -
< 0x000b0: 2d 2d 2d 2d  6f 4f 4f 2d  2d 2d 28 5e  29 2d 2d 2d  
----oOO---(^)---
< 0x000c0: 2d 2d 2d 2d  2d 2d 2d 2d  2d 0d 0a 20  2a 2a 2a 2a  
---------.. ****
< 0x000d0: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x000e0: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x000f0: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00100: 2a 2a 2a 2a  2a 2a 2a 0d  0a 20 2a 20  57 41 52 4e  *******.. 
* WARN
< 0x00110: 49 4e 47 3a  20 54 68 69  73 20 69 73  20 61 20 63  ING: This 
is a c
< 0x00120: 6f 6e 74 72  6f 6c 6c 65  64 20 61 63  63 65 73 73  ontrolled 
access
< 0x00130: 20 73 79 73  74 65 6d 2e  2e 2e 0d 0a  20 2a 0d 0a   
system..... *..
< 0x00140: 20 2a 0d 0a  20 2a 20 41  63 63 65 73  73 20 74 6f   *.. * 
Access to
< 0x00150: 20 74 68 69  73 20 65 71  75 69 70 6d  65 6e 74 20   this 
equipment
< 0x00160: 69 73 20 72  65 73 74 72  69 63 74 65  64 20 74 6f  is 
restricted to
< 0x00170: 20 65 53 65  64 6f 6e 61  0d 0a 20 2a  20 61 75 74   
eSedona.. * aut
< 0x00180: 68 6f 72 69  7a 65 64 20  65 6d 70 6c  6f 79 65 65  horized 
employee
< 0x00190: 73 20 6f 6e  6c 79 2e 20  20 41 6e 79  20 69 6e 74  s only.  
Any int
< 0x001a0: 72 75 73 69  6f 6e 73 20  6f 72 20 6d  69 73 75 73  rusions 
or misus
< 0x001b0: 65 20 77 69  6c 6c 0d 0a  20 2a 20 62  65 20 70 72  e will.. 
* be pr
< 0x001c0: 6f 73 65 63  75 74 65 64  20 74 6f 20  74 68 65 20  osecuted 
to the
< 0x001d0: 66 75 6c 6c  65 73 74 20  65 78 74 65  6e 74 20 6f  fullest 
extent o
< 0x001e0: 66 20 6c 6f  63 61 6c 2c  20 73 74 61  74 65 20 26  f local. 
state &
< 0x001f0: 0d 0a 20 2a  20 66 65 64  65 72 61 6c  20 6c 61 77  .. * 
federal law
< 0x00200: 2e 0d 0a 20  2a 0d 0a 20  2a 20 41 6c  6c 20 61 63  ... *.. * 
All ac
< 0x00210: 74 69 76 69  74 69 65 73  20 6f 6e 20  74 68 69 73  tivities 
on this
< 0x00220: 20 6e 65 74  77 6f 72 6b  20 61 72 65  20 6c 6f 67   network 
are log
< 0x00230: 67 65 64 21  21 21 0d 0a  20 2a 0d 0a  20 2a 0d 0a  ged!!!.. 
*.. *..
< 0x00240: 20 2a 20 20  20 49 66 20  79 6f 75 20  61 72 65 20   *   If 
you are
< 0x00250: 6e 6f 74 20  61 6e 20 61  75 74 68 6f  72 69 7a 65  not an 
authorize
< 0x00260: 64 20 75 73  65 72 2c 20  64 69 73 63  6f 6e 6e 65  d user. 
disconne
< 0x00270: 63 74 20 6e  6f 77 21 21  0d 0a 20 2a  2a 2a 2a 2a  ct 
now!!.. *****
< 0x00280: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x00290: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x002a0: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  
****************
< 0x002b0: 2a 2a 2a 2a  2a 2a 0d 0a  20 20 20 20  20 20 20 20  ******..
< 0x002c0: 20 20 20 20  20 20 2d 2d  2d 2d 2d 2d  2d 2d 2d 2d        
----------
< 0x002d0: 2d 2d 2d 2d  2d 2d 2d 2d  6f 4f 4f 2d  2d 2d 2d 2d  
--------oOO-----
< 0x002e0: 0d 0a 20 20  20 20 20 20  20 20 20 20  20 20 20 20  ..
< 0x002f0: 20 20 20 20  20 20 20 7c  5f 5f 7c 20  20 20 7c 5f         
|__|   |_
< 0x00300: 5f 7c 0d 0a  20 20 20 20  20 20 20 20  20 20 20 20  _|..
< 0x00310: 20 20 20 20  20 20 20 20  20 20 7c 20  7c 20 20 20            
| |
< 0x00320: 7c 20 7c 0d  0a 0d 0a 0d  0a 0d 0a 55  73 65 72 20  | 
|........User
< 0x00330: 41 63 63 65  73 73 20 56  65 72 69 66  69 63 61 74  Access 
Verificat
< 0x00340: 69 6f 6e 0d  0a 0d 0a 55  73 65 72 6e  61 6d 65 3a  
ion....Username:
< 0x00350: 20

 > 0x00000: 73 6d 6f 6b  65 70 69 6e  67 0d 0a                  smokeping..

< 0x00000: ff fe 18 ff  fe 1f                                  ??.??.

< 0x00000: 73 6d                                               sm

< 0x00000: 6f 6b 65 70  69 6e 67                               okeping

< 0x00000: 0d 0a 50 61  73 73 77 6f  72 64 3a 20               ..Password:

 > 0x00000: 73 6d 30 6b  33 70 31 6e  47 41 63 37  34 31 31 34  <censored>
 > 0x00010: 34 39 32 0d 0a                                     <censored>..

< 0x00000: 0d 0a 0d 0a  63 72 31 2e  65 73 65 64  6f 23        
....cr1.esedo#

 > 0x00000: 74 65 72 6d  69 6e 61 6c  20 6c 65 6e  67 74 68 20  terminal 
length
 > 0x00010: 30 0d 0a                                            0..

< 0x00000: 74 65 72 6d  69 6e 61 6c 20                        terminal

< 0x00000: 6c 65 6e 67  74 68 20 30  0d 0a                     length 0..

< 0x00000: 63 72 31 2e  65 73 65 64  6f 23                     cr1.esedo#

 > 0x00000: 70 69 6e 67  0d 0a                                  ping..

< 0x00000: 70 69 6e 67  0d 0a                                  ping..

< 0x00000: 25 20 49 6e  63 6f 6d 70  6c 65 74 65  20 63 6f 6d  % 
Incomplete com
< 0x00010: 6d 61 6e 64  2e 0d 0a 0d  0a 63 72 31  2e 65 73 65  
mand.....cr1.ese
< 0x00020: 64 6f 23                                            do#


On 10/04/2013 10:23 AM, Gregory Sloop wrote:
> Re: [smokeping-users] Graph but no results If I were to guess, I'd 
> guess there's some syntax issue with the def of the target.
>
> Recheck the configs.
>
> Some possibilities:
> -The TelnetIOSPing isn't where you think it is or has permission 
> issues, and smokeping can't run it.
> -The way the credentials are passed to SP cause an issue. [Again, 
> syntactical]
>
> I don't have any other great ideas - and I know nothing about 
> TelnetIOSPing - but I'd guess starting at scratch again and taking a 
> break and re-reviewing the configs will probably get you there.
>
> -Greg
>
>
>
> 	The debug was actually directly from the TelnetIOSPing.pm.  I simply 
> uncommented a few statements and changed the path/filename and 
> included the $source at the top to clearly delineate the host it was 
> printing output from the Extended Ping results.
>
> So I ran smokeping in debug mode.  Interesting... Smokeping isn't 
> getting any data to update the rrd with.
>
> pattern match timed-out at 
> /usr/share/perl5/Smokeping/probes/TelnetIOSPing.pm line 172
> TelnetIOSPing: <censored>: got
>
> Calling 
> RRDs::update(/var/lib/smokeping/Network/core_to_esedo/esedo_to_mesa_rtr.rrd 
> --template 
> uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 
> 1380903220:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)
>
>
> It would appear that there is a problem waiting for the prompt after 
> issuing the "Terminal Length 0" command  What's odd is that a running 
> log of the ping command output shows results for the connected host as 
> I showed in my original post.  I know from everybody else's point of 
> view, your's included, that the obvious question "are you sure your 
> seeing the output from the host you think you are?".  Reasonable 
> question.  I don't know how I could be seeing otherwise, the debug 
> print statements follow the $telnet-> yada yada statements and result.
>
> Ok, so the debug indicates there are no results due to a problem 
> getting to the ping command (line179 - 
> $telnet->waitfor('/[\@\w\-\.]+[>#][ ]*$/');) .  So I do the login to 
> the router manually and it works (using the password from the Probe 
> config file for the smokeping user).  It doesn't appear to be an 
> authentication issue...
>
> BTW - I use tacacs, and every router is auth'ing against the same source
>
>
> root at smokeping1:/etc/smokeping# ssh smokeping at cr1.esedo 
> <mailto:smokeping at cr1.esedo>
>
>
> ************************************************************
>                       |             |
>                      |||           |||
>                     |||||         |||||
>              .....:|||||||:.....:|||||||:.....
>                   C i s c o S y s t e m s
> ************************************************************
> Company         =  <censored>
> Site Name       =  ESEDO
> Location        =  <censored>
> Device Name     =  cr1.esedo
> FQDN            =  cr1.esedo.<censored>.net (ins: cr1.esedo)
> Contact         =  <censored>
> ************************************************************
>
>                         \\|//
>                         (o o)
>               -----oOO---(^)------------
>  ***********************************************************
>  * WARNING: This is a controlled access system...
>  *
>  *
>  * Access to this equipment is restricted to <censored>
>  * authorized employees only.  Any intrusions or misuse will
>  * be prosecuted to the fullest extent of local, state &
>  * federal law.
>  *
>  * All activities on this network are logged!!!
>  *
>  *
>  *   If you are not an authorized user, disconnect now!!
>  ***********************************************************
>               ------------------oOO-----
>                      |__|   |__|
>                       | |   | |
>
> Password:
>
> cr1.esedo>en
> Password:
> cr1.esedo#ping
> Protocol [ip]:
> Target IP address: <censored>
> Repeat count [5]: 20
> Datagram size [100]:
> Timeout in seconds [2]:
> Extended commands [n]: y
> Source address or interface:
> Type of service [0]:
> Set DF bit in IP header? [no]:
> Validate reply data? [no]:
> Data pattern [0xABCD]:
> Loose, Strict, Record, Timestamp, Verbose[none]: v
> Loose, Strict, Record, Timestamp, Verbose[V]:
> Sweep range of sizes [n]:
> Type escape sequence to abort.
> Sending 20, 100-byte ICMP Echos to <censored>, timeout is 2 seconds:
> Reply to request 0 (4 ms)
> Reply to request 1 (8 ms)
> Reply to request 2 (4 ms)
> Reply to request 3 (12 ms)
> Reply to request 4 (12 ms)
> Reply to request 5 (8 ms)
> Reply to request 6 (8 ms)
> Reply to request 7 (8 ms)
> Reply to request 8 (4 ms)
> Reply to request 9 (8 ms)
> Reply to request 10 (4 ms)
> Reply to request 11 (8 ms)
> Reply to request 12 (4 ms)
> Reply to request 13 (4 ms)
> Reply to request 14 (4 ms)
> Reply to request 15 (8 ms)
> Reply to request 16 (4 ms)
> Reply to request 17 (8 ms)
> Reply to request 18 (8 ms)
> Reply to request 19 (8 ms)
> Success rate is 100 percent (20/20), round-trip min/avg/max = 4/6/12 ms
> cr1.esedo#
>
>
>
> On 10/04/2013 08:46 AM, Gregory Sloop wrote:
>
> The "debug" you sent was from *your* script, not a smokeping --debug, 
> right.
>
> Have you run smokeping --debug and watched the data/logs it returns?
>
> Again, usually the problems are:
> writing the data to the RRD - and running smokeping in debug mode will 
> show you what's happening here: [or for a slave - the apache + 
> apache-error logs]
> - or -
> reading the data from the RRD for presentation - and the apache [and 
> the apache error] logs will show you this.
>
> So, if you're sure there's no read problem, then I think we're back to 
> making sure that real data is hitting the RRD and a smokeping --debug 
> would probably be enlightening.
>
> -Greg
>
>
> 	Hi Greg,
>
> It's odd because both targets were added to the conf at the same time 
> and are under the same parent.  It would be strange that one rrd file 
> would be writable/readable while to other not.  However, looking at 
> the suggestions you offered, I don't see any errors/problems with file 
> permissions or entries in the apache log.
>
>
> # It would appear the rrd files have the proper permissions.  Same 
> owner:user for esedo_to_x (which does not display data in graph) as 
> pvdc_to_x (which does display data in graph).  The files are also 
> being updated.  Is there something here or elsewhere I am missing?
>
> Thank you again....
>
>
>
> root at smokeping1:/home/tonyd# ll /var/lib/smokeping/Network/core_to_esedo
> total 23388
> drwxr-xr-x 2 smokeping smokeping    4096 Oct  2 22:49 ./
> drwxr-xr-x 6 smokeping smokeping    4096 Oct  2 10:53 ../
> -rw-r--r-- 1 smokeping smokeping 2986808 Oct  4 08:13 
> esedo_to_foothills_rtr.rrd
> -rw-r--r-- 1 smokeping smokeping 2986808 Oct  4 08:13 
> esedo_to_mesa_rtr.rrd
> -rw-r--r-- 1 smokeping smokeping 2986808 Oct  4 08:13 
> esedo_to_montezona_rtr.rrd
> -rw-r--r-- 1 smokeping smokeping 2986808 Oct  4 08:13 esedo_to_voc_rtr.rrd
> -rw-r--r-- 1 smokeping smokeping 2986808 Oct  4 08:13 
> mm_to_foothills_rtr.rrd
> -rw-r--r-- 1 smokeping smokeping 2986808 Oct  4 08:13 
> pvdc_to_esedo_core.rrd
> -rw-r--r-- 1 smokeping smokeping 2986808 Oct  4 08:13 pvdc_to_mesa_rtr.rrd
> -rw-r--r-- 1 smokeping smokeping 2986808 Oct  4 08:13 pvdc_to_voc_rtr.rrd
>
>
>
> # This does not display data
>
> tail -f /var/log/apache2/access.log
>
> <censored> - - [04/Oct/2013:08:07:12 -0700] "GET 
> /cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr 
> HTTP/1.1" 200 2010 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:07:13 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_86400.png 
> HTTP/1.1" 200 21541 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:07:13 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_2592000.png 
> HTTP/1.1" 200 22492 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:07:13 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_31536000.png 
> HTTP/1.1" 200 22418 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:07:13 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_604800.png 
> HTTP/1.1" 200 20330 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:07:13 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_10800.png 
> HTTP/1.1" 200 21382 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:07:13 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/esedo_to_mesa_rtr_last_43200.png 
> HTTP/1.1" 200 20971 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.esedo_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:07:14 -0700] "GET /favicon.ico 
> HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Linux x86_64) 
> AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
>
>
> # This displays data
>
> <censored> - - [04/Oct/2013:08:14:14 -0700] "GET 
> /cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr 
> HTTP/1.1" 200 2005 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:14:16 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_2592000.png 
> HTTP/1.1" 200 25540 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:14:16 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_10800.png HTTP/1.1" 
> 200 26251 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:14:16 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_43200.png HTTP/1.1" 
> 200 29813 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:14:16 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_604800.png 
> HTTP/1.1" 200 27440 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:14:16 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_31536000.png 
> HTTP/1.1" 200 22782 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:14:16 -0700] "GET 
> /smokeping/images/Network/core_to_esedo/pvdc_to_mesa_rtr_last_86400.png HTTP/1.1" 
> 200 34500 
> "http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr" 
> <http://216.19.19.135/cgi-bin/smokeping.cgi?target=Network.core_to_esedo.pvdc_to_mesa_rtr> "Mozilla/5.0 
> (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) 
> Chrome/23.0.1271.97 Safari/537.11"
> <censored> - - [04/Oct/2013:08:14:16 -0700] "GET /favicon.ico 
> HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Linux x86_64) 
> AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
>
>
>
>
>
>
> On 10/04/2013 07:48 AM, Gregory Sloop wrote:
> Have you checked the apache logs to see if it can actually read the 
> RRD files to get the data you want?
>
> Usually when there's an "empty" graph the problem is one of two things:
> 1) smokeping can't write the data to the RRD.
> 2) the web-server can't read it.
>
> If you've really debugged things and you're sure it's successfully 
> writing to the RRD, then you'd want to watch the web-server logs and 
> see if it's really reading them.
>
> -Greg
>
>
>
> 	I meant to include my Probe definition.
>
>
> +TelnetIOSPing
>
> forks = 5
> offset = 50%
> packetsize = 56
> step = 300
> timeout = 10
> iospass = <censored>
> iosuser = smokeping
> pings = 20
> Hello,
>
> Maybe someone could provide me with some assistance.  I have a
> host/Target graph that get's created and populates the web page.
> However, no results appear on the graph.  I am using the TelnetIOSPing
> probe.  I have a number of other hosts/Targets that are using this
> probe.  I have kicked out some debug results from
> /usr/share/perl5/Smokeping/probes/TelnetIOSPing.pm and the host is
> reachable and I see ping results, but they don't make it into the
> graph.  In addition, no errors related to said host, are showing in the
> smokeping.log.  Any ideas?
>
> Thank you!
>
>
>     open(OUTF,">>/tmp/TelnetIOSPing.debug") || die "Can't open OUTF: $!";
>     print OUTF "target => $dest\nsource => $source\nuser => $login\n";
>
>     my $ok = $telnet->open(Host => $source,
>                    Port => $port);
>
>     print OUTF "\n";
>     print OUTF "===========================\n";
>     print OUTF "Connection to $source $ok\n";
>     print OUTF "\n";
>
>     #---- Code that does the log in and executes extended ping
>
>     $telnet->prompt('/[\@\w\-\.]+[>#][ ]*$/');
>     @output = $telnet->cmd("n");
>
>     #$telnet->waitfor('/[\@\w\-\.]+[>#][ ]*$/');
>     $telnet->print("quit");
>     $telnet->close;
>
>     print OUTF "closed Telnet connection\n";
>
>     my @times = ();
>     while (@output) {
>         my $outputline = shift @output;
>         chomp($outputline);
>         print OUTF "$outputline\n";
>         $outputline =~ /^Reply to request \d+ \((\d+) ms\)/ && 
> push(@times,$1);
>         print OUTF "$outputline => $1\n";
>     }
>
>
> <<< I see data in graph from this Target >>>
>
> +++ pvdc_to_mesa_rtr
> menu = Core to eSedo MESA RTR
> title = Core Router to eSedo MESA RTR
> probe = TelnetIOSPing
> host = <censored>
> source = <censored>
>
>
> ===========================
> Connection to <censored> 1
>
> closed Telnet connection
> Type escape sequence to abort.
> Type escape sequence to abort. =>
> Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds:
> Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds: =>
> Reply to request 0 (1 ms)
> Reply to request 0 (1 ms) => 1
> Reply to request 1 (4 ms)
> Reply to request 1 (4 ms) => 4
> Reply to request 2 (1 ms)
> Reply to request 2 (1 ms) => 1
> Reply to request 3 (1 ms)
> Reply to request 3 (1 ms) => 1
> Reply to request 4 (1 ms)
> Reply to request 4 (1 ms) => 1
> Reply to request 5 (1 ms)
> Reply to request 5 (1 ms) => 1
> Reply to request 6 (1 ms)
> Reply to request 6 (1 ms) => 1
> Reply to request 7 (1 ms)
> Reply to request 7 (1 ms) => 1
> Reply to request 8 (4 ms)
> Reply to request 8 (4 ms) => 4
> Reply to request 9 (1 ms)
> Reply to request 9 (1 ms) => 1
> Reply to request 10 (1 ms)
> Reply to request 10 (1 ms) => 1
> Reply to request 11 (1 ms)
> Reply to request 11 (1 ms) => 1
> Reply to request 12 (1 ms)
> Reply to request 12 (1 ms) => 1
> Reply to request 13 (1 ms)
> Reply to request 13 (1 ms) => 1
> Reply to request 14 (1 ms)
> Reply to request 14 (1 ms) => 1
> Reply to request 15 (1 ms)
> Reply to request 15 (1 ms) => 1
> Reply to request 16 (1 ms)
> Reply to request 16 (1 ms) => 1
> Reply to request 17 (1 ms)
> Reply to request 17 (1 ms) => 1
> Reply to request 18 (1 ms)
> Reply to request 18 (1 ms) => 1
> Reply to request 19 (4 ms)
> Reply to request 19 (4 ms) => 4
> Success rate is 100 percent (20/20), round-trip min/avg/max = 1/1/4 ms
> Success rate is 100 percent (20/20), round-trip min/avg/max = 1/1/4 ms 
> => 4
> target => <censored>
> source => <censored>
> user => smokeping
>
>
>
>
> <<< I DO NOT see data in graph from this Target >>>
>
> +++ esedo_to_mesa_rtr
> menu = esedo Core to eSedo MESA
> title = eSedo Core Router to eSedo MESA RTR
> probe = TelnetIOSPing
> host = <censored>
> source = <censored>
>
>
> ===========================
> Connection to <censored> 1
>
> closed Telnet connection
> Type escape sequence to abort.
> Type escape sequence to abort. =>
> Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds:
> Sending 20, 56-byte ICMP Echos to <censored>, timeout is 2 seconds: =>
> Reply to request 0 (60 ms)
> Reply to request 0 (60 ms) => 60
> Reply to request 1 (52 ms)
> Reply to request 1 (52 ms) => 52
> Reply to request 2 (24 ms)
> Reply to request 2 (24 ms) => 24
> Reply to request 3 (64 ms)
> Reply to request 3 (64 ms) => 64
> Reply to request 4 (56 ms)
> Reply to request 4 (56 ms) => 56
> Reply to request 5 (40 ms)
> Reply to request 5 (40 ms) => 40
> Reply to request 6 (44 ms)
> Reply to request 6 (44 ms) => 44
> Reply to request 7 (60 ms)
> Reply to request 7 (60 ms) => 60
> Reply to request 8 (40 ms)
> Reply to request 8 (40 ms) => 40
> Reply to request 9 (36 ms)
> Reply to request 9 (36 ms) => 36
> Reply to request 10 (20 ms)
> Reply to request 10 (20 ms) => 20
> Reply to request 11 (20 ms)
> Reply to request 11 (20 ms) => 20
> Reply to request 12 (28 ms)
> Reply to request 12 (28 ms) => 28
> Reply to request 13 (28 ms)
> Reply to request 13 (28 ms) => 28
> Reply to request 14 (36 ms)
> Reply to request 14 (36 ms) => 36
> Reply to request 15 (20 ms)
> Reply to request 15 (20 ms) => 20
> Reply to request 16 (20 ms)
> Reply to request 16 (20 ms) => 20
> Reply to request 17 (8 ms)
> Reply to request 17 (8 ms) => 8
> Reply to request 18 (20 ms)
> Reply to request 18 (20 ms) => 20
> Reply to request 19 (44 ms)
> Reply to request 19 (44 ms) => 44
> Success rate is 100 percent (20/20), round-trip min/avg/max = 8/36/64 ms
> Success rate is 100 percent (20/20), round-trip min/avg/max = 8/36/64 
> ms => 44
> target => <censored>
> source => <censored>
> user => smokeping
>
>
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch <mailto:smokeping-users at lists.oetiker.ch>
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>
>
>
>
> /--
> Gregory Sloop, Principal: Sloop Network & Computer Consulting
> Voice: 503.251.0452 x82
> EMail: /gregs at sloop.net <mailto:gregs at sloop.net>
> http://www.sloop.net
> /---
>
> -- 
> Gregory Sloop, Principal: Sloop Network & Computer Consulting
> Voice: 503.251.0452 x82
> EMail: /gregs at sloop.net <mailto:gregs at sloop.net>
> http://www.sloop.net
> /---
>
> -- 
> Gregory Sloop, Principal: Sloop Network & Computer Consulting
> Voice: 503.251.0452 x82
> EMail: /gregs at sloop.net <mailto:gregs at sloop.net>
> http://www.sloop.net
> /--- /

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20131004/a2f1b6c9/attachment-0001.htm 


More information about the smokeping-users mailing list