[Xymon] rrd logs and graphs

Vernon Everett everett.vernon at gmail.com
Wed Mar 11 05:43:18 CET 2015


We have 4.3.12
And the command dumps core in the same way.


$ printf "@@data#0/host|||||conn||\ndata host.trends\n\n@@\n" |
XYMONTMP=/tmp ~xymon/server/bin/xymond_rrd --rrddir=/dev/null --debug
16816 2015-03-11 12:38:02 Opening file
/opt/local/xymon/server/etc/rrddefinitions.cfg
16816 2015-03-11 12:38:02 Want msg 1, startpos 0, fillpos 0, endpos -1,
usedbytes=0, bufleft=528383
16816 2015-03-11 12:38:02 Got 46 bytes
16816 2015-03-11 12:38:02 /opt/local/xymon/server/bin/xymond_rrd: Got
message 0 @@data#0/host|||||conn||
16816 2015-03-11 12:38:02 startpos 46, fillpos 46, endpos -1
16816 2015-03-11 12:38:02 Transport setup is:
16816 2015-03-11 12:38:02 xymondportnumber = 1984
16816 2015-03-11 12:38:02 xymonproxyhost = NONE
16816 2015-03-11 12:38:02 xymonproxyport = 0
16816 2015-03-11 12:38:02 Recipient listed as '172.21.219.192'
16816 2015-03-11 12:38:02 Standard protocol on port 1984
16816 2015-03-11 12:38:02 Will connect to address 172.21.219.192 port 1984
16816 2015-03-11 12:38:02 Connect status is 0
16816 2015-03-11 12:38:02 Sent 16 bytes
16816 2015-03-11 12:38:02 Read 15849 bytes
16816 2015-03-11 12:38:02 Closing connection
16816 2015-03-11 12:38:02 Opening file
/opt/local/xymon/server/etc/analysis.cfg
16816 2015-03-11 12:38:02 Compiling regex ctrldom[A-D]
16816 2015-03-11 12:38:02 Compiling regex infdom[A-B]1
16816 2015-03-11 12:38:02 Compiling regex .+dom..
16816 2015-03-11 12:38:02 Compiling regex infdom[A-B]1|notesdomD1
16816 2015-03-11 12:38:02 Compiling regex [.:]80$
16816 2015-03-11 12:38:02 Compiling regex syn.*,%oradom.*
16816 2015-03-11 12:38:02 Compiling regex syn.*|oradom.*|SINFV.*
16816 2015-03-11 12:38:02 Compiling regex [.:]514$
16816 2015-03-11 12:38:02 Compiling regex [.:]3389$
16816 2015-03-11 12:38:02 Compiling regex energise.*
16816 2015-03-11 12:38:02 Compiling regex [.:]8989$
16816 2015-03-11 12:38:02 Compiling regex [.:]80$
16816 2015-03-11 12:38:02 Compiling regex [.:]4848$
16816 2015-03-11 12:38:02 Compiling regex [.:]8080$
16816 2015-03-11 12:38:02 Compiling regex ^/var/crash/.*
16816 2015-03-11 12:38:02 Compiling regex ^/var/core/.*
16816 2015-03-11 12:38:02 Compiling regex [.:]22$
16816 2015-03-11 12:38:02 Compiling regex sinfct.*|domino.*
16816 2015-03-11 12:38:02 Compiling regex [.:]80$
16816 2015-03-11 12:38:02 Compiling regex [.:]25$
16816 2015-03-11 12:38:02 Compiling regex
sinfct.*|domino.*|SINFV.*|hermes|sirocco
16816 2015-03-11 12:38:02 Compiling regex SINFV.*
16816 2015-03-11 12:38:02 Compiling regex .*
16816 2015-03-11 12:38:02 Compiling regex ^error.*
16816 2015-03-11 12:38:02 Compiling regex ^error.*
16816 2015-03-11 12:38:02 Compiling regex .*restart/shutdown.*|.*Citrix
16816 2015-03-11 12:38:02 Compiling regex .*
16816 2015-03-11 12:38:02 Compiling regex ^warning.*
16816 2015-03-11 12:38:02 Compiling regex ^warning.*
16816 2015-03-11 12:38:02 Compiling regex
.*MetaFrameEvents.*|.*restart/shutdown.*|.*Citrix-Multimedia-Flash.*|.*Printer
16816 2015-03-11 12:38:02 Compiling regex .*
16816 2015-03-11 12:38:02 Compiling regex ^failure.*
16816 2015-03-11 12:38:02 Compiling regex ^failure.*
16816 2015-03-11 12:38:02 Compiling regex ^/var/crash/.*
16816 2015-03-11 12:38:02 Compiling regex ^/var/core/.*
16816 2015-03-11 12:38:02 Compiling regex [.:]22$
16816 2015-03-11 12:38:02 Compiling regex ^/var/crash/.*
16816 2015-03-11 12:38:02 Compiling regex ^/var/core/.*
16816 2015-03-11 12:38:02 Compiling regex [.:]22$
16816 2015-03-11 12:38:02 Opening file
/opt/local/xymon/server/etc/protocols.cfg
16816 2015-03-11 12:38:02 Service list dump
16816 2015-03-11 12:38:02  Name      : ftp
16816 2015-03-11 12:38:02    Sendtext: quit\r\n
16816 2015-03-11 12:38:02    Sendlen : 6
16816 2015-03-11 12:38:02    Exp.text: 220
16816 2015-03-11 12:38:02    Exp.len : 3
16816 2015-03-11 12:38:02    Exp.ofs : 0
16816 2015-03-11 12:38:02    Flags   : 1
16816 2015-03-11 12:38:02    Port    : 21
16816 2015-03-11 12:38:02  Name      : ftps
16816 2015-03-11 12:38:02    Sendtext: quit\r\n
16816 2015-03-11 12:38:02    Sendlen : 6
16816 2015-03-11 12:38:02    Exp.text: 220
16816 2015-03-11 12:38:02    Exp.len : 3
16816 2015-03-11 12:38:02    Exp.ofs : 0
16816 2015-03-11 12:38:02    Flags   : 5
16816 2015-03-11 12:38:02    Port    : 990
16816 2015-03-11 12:38:02  Name      : ssh
16816 2015-03-11 12:38:02    Sendtext: SSH-2.0-OpenSSH_4.1\r\n
16816 2015-03-11 12:38:02    Sendlen : 21
16816 2015-03-11 12:38:02    Exp.text: SSH
16816 2015-03-11 12:38:02    Exp.len : 3
16816 2015-03-11 12:38:02    Exp.ofs : 0
16816 2015-03-11 12:38:02    Flags   : 1
16816 2015-03-11 12:38:02    Port    : 22
16816 2015-03-11 12:38:02  Name      : ssh1
16816 2015-03-11 12:38:02    Sendtext: SSH-2.0-OpenSSH_4.1\r\n
16816 2015-03-11 12:38:02    Sendlen : 21
16816 2015-03-11 12:38:02    Exp.text: SSH
16816 2015-03-11 12:38:02    Exp.len : 3
16816 2015-03-11 12:38:02    Exp.ofs : 0
16816 2015-03-11 12:38:02    Flags   : 1
16816 2015-03-11 12:38:02    Port    : 22
16816 2015-03-11 12:38:02  Name      : ssh2
16816 2015-03-11 12:38:02    Sendtext: SSH-2.0-OpenSSH_4.1\r\n
16816 2015-03-11 12:38:02    Sendlen : 21
16816 2015-03-11 12:38:02    Exp.text: SSH
16816 2015-03-11 12:38:02    Exp.len : 3
16816 2015-03-11 12:38:02    Exp.ofs : 0
16816 2015-03-11 12:38:02    Flags   : 1
16816 2015-03-11 12:38:02    Port    : 22
16816 2015-03-11 12:38:02  Name      : telnet
16816 2015-03-11 12:38:02 Abort (core dumped)


On 11 March 2015 at 12:02, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:

> On 11 March 2015 at 14:18, Vernon Everett <everett.vernon at gmail.com>
> wrote:
>
>> I think you got that one nailed.
>>
>
> You might be overselling this finding a little.  But it's progress
> nonetheless.
>
>
>> I added
>>   send ""
>>   expect ""
>> as you requested, and it cores again.
>> This time on the next entry, which is telnets
>>
>
> I run v4.3.10, and I can't get it to dump core the same way yours does,
> when "--debug" is used.  Mine says "(null)" when there is no send or expect
> defined.  The source code file containing the code that triggers the core
> dump is identical to one from 4.3.18.  I've also tested it on a 4.3.18
> installation (using the RPM package from Terabithia) but also won't fail.
>
> Please can you try this:
>
> printf "@@data#0/host|||||conn||\ndata host.trends\n\n@@\n" |
> XYMONTMP=/tmp ~xymon/server/bin/xymond_rrd --rrddir=/dev/null --debug
>
> (adjust path to xymond_rrd and xymon username if required)
>
> For me, this displays the debug output at least as far as when parsing the
> protocols.cfg file.  If this also dumps core for you then we can work on
> fixing the core dump without risking your production Xymon config.  You
> could also build a binary and run it from an alternative location so that
> the production binary isn't touched.
>
> I realize this doesn't fix your problem for you.  But I'm optimistic that
> the debug output might point to where your problem is.
>
> J
>
>


-- 
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150311/eec49908/attachment.html>


More information about the Xymon mailing list