Xymon Mailing List Archive search

RRD graph not working for only one test

10 messages in this thread

list Rich Jones · Fri, 8 Jun 2018 15:30:31 +0100 ·
Hi all, weird one... Have been playing about with the following nginx
monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs
to work at all.

The test runs fine (as far as I can tell, i have modified the script to
output the data for the graph and that all looks fine), it sends it's data
etc and I can see the .rrd files created. However Xymon doesn't want to
display them at all. I simply end up with alt text and the magnifying
glass. Clicking the magnifying glass results in the "Cannot access RRD
directory" error.

I have performed an rrdtool dump on the offending graph and compared it
with other .rrd files, doesn't look to be any issue. Permissions are all
the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28

Cheers, Rich
list Scot Kreienkamp · Fri, 8 Jun 2018 14:53:16 +0000 ·
Did you put the graph definition in either graphs.d or graphs.cfg?


Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
quoted from Rich Jones

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Rich Jones
Sent: Friday, June 8, 2018 10:31 AM
To: xymon at xymon.com
Subject: [Xymon] RRD graph not working for only one test

Hi all, weird one... Have been playing about with the following nginx monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs to work at all.

The test runs fine (as far as I can tell, i have modified the script to output the data for the graph and that all looks fine), it sends it's data etc and I can see the .rrd files created. However Xymon doesn't want to display them at all. I simply end up with alt text and the magnifying glass. Clicking the magnifying glass results in the "Cannot access RRD directory" error.

I have performed an rrdtool dump on the offending graph and compared it with other .rrd files, doesn't look to be any issue. Permissions are all the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28
Cheers, Rich

This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Rich Jones · Fri, 8 Jun 2018 15:55:41 +0100 ·
Yep, they are in graphs.cfg
I see the following in the error log though... but i can't see it actually
looking for a graph titled 'nginx'

[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid
139975110661888] [client ***.***.***.**:53876] AH01215: Setup error:
Service nginx has a graph nginx, but no graph-definition:
/usr/local/xymon/cgi-bin/svcstatus.sh, referer: https://
****/xymon/aws/aws.html


*Rich Jones* | Systems Developer
Corporation Pop
21-23 Shudehill
Manchester M4 2AF
0161 838 0808
www.corporationpop.co.uk
This email message (and any attached file) is intended only for the use of
the individual or entity to whom the sender intended it to be addressed and
may contain information that constitutes a trade secret, or that is
privileged, confidential or subject to copyright. No part of it may be
circulated, quoted, or reproduced without prior written approval from
Corporation Pop Ltd. The contents of this document are strictly
confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop
Ltd. All rights reserved. Corporation Pop is a limited company registered
in England + Wales. Company number 4869229. VAT number 533 8932 26.

On 8 June 2018 at 15:53, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
quoted from Scot Kreienkamp
wrote:
Did you put the graph definition in either graphs.d or graphs.cfg?


*Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate*
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | |
Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Rich Jones
*Sent:* Friday, June 8, 2018 10:31 AM
*To:* xymon at xymon.com
*Subject:* [Xymon] RRD graph not working for only one test


Hi all, weird one... Have been playing about with the following nginx
monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs
to work at all.

The test runs fine (as far as I can tell, i have modified the script to
output the data for the graph and that all looks fine), it sends it's data
etc and I can see the .rrd files created. However Xymon doesn't want to
display them at all. I simply end up with alt text and the magnifying
glass. Clicking the magnifying glass results in the "Cannot access RRD
directory" error.

I have performed an rrdtool dump on the offending graph and compared it
with other .rrd files, doesn't look to be any issue. Permissions are all
the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28

Cheers, Rich

This message is intended only for the individual or entity to which it is
addressed.  It may contain privileged, confidential information which is
exempt from disclosure under applicable laws.  If you are not the intended
recipient, you are strictly prohibited from disseminating or distributing
this information (other than to the intended recipient) or copying this
information.  If you have received this communication in error, please
notify us immediately by e-mail or by telephone at the above number.
Thank you.
list Galen Johnson · Fri, 8 Jun 2018 11:11:04 -0400 ·
See if this thread helps.  It's not exactly your issue but might point out
areas you haven't looked.  Graphing issues are a common theme in Xymon
(Google has quite a few hits) :-)

http://lists.xymon.com/archive/2017-April/044560.html

On Fri, Jun 8, 2018 at 10:55 AM Rich Jones <user-6806fa693bf5@xymon.invalid>
quoted from Rich Jones
wrote:
Yep, they are in graphs.cfg
I see the following in the error log though... but i can't see it actually
looking for a graph titled 'nginx'

[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid
139975110661888] [client ***.***.***.**:53876] AH01215: Setup error:
Service nginx has a graph nginx, but no graph-definition:
/usr/local/xymon/cgi-bin/svcstatus.sh, referer: https://
****/xymon/aws/aws.html


*Rich Jones* | Systems Developer
Corporation Pop
21-23 Shudehill
Manchester M4 2AF
0161 838 0808
www.corporationpop.co.uk
This email message (and any attached file) is intended only for the use of
the individual or entity to whom the sender intended it to be addressed and
may contain information that constitutes a trade secret, or that is
privileged, confidential or subject to copyright. No part of it may be
circulated, quoted, or reproduced without prior written approval from
Corporation Pop Ltd. The contents of this document are strictly
confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop
Ltd. All rights reserved. Corporation Pop is a limited company registered
in England + Wales. Company number 4869229. VAT number 533 8932 26.

On 8 June 2018 at 15:53, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
wrote:
Did you put the graph definition in either graphs.d or graphs.cfg?


*Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate*
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | |
Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Rich Jones
*Sent:* Friday, June 8, 2018 10:31 AM
*To:* xymon at xymon.com
*Subject:* [Xymon] RRD graph not working for only one test


Hi all, weird one... Have been playing about with the following nginx
monitor https://github.com/ZeWaren/xymon-nginx and I can't get the
graphs to work at all.

The test runs fine (as far as I can tell, i have modified the script to
output the data for the graph and that all looks fine), it sends it's data
etc and I can see the .rrd files created. However Xymon doesn't want to
display them at all. I simply end up with alt text and the magnifying
glass. Clicking the magnifying glass results in the "Cannot access RRD
directory" error.

I have performed an rrdtool dump on the offending graph and compared it
with other .rrd files, doesn't look to be any issue. Permissions are all
the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28

Cheers, Rich

This message is intended only for the individual or entity to which it
is addressed.  It may contain privileged, confidential information which
is exempt from disclosure under applicable laws.  If you are not the
intended recipient, you are strictly prohibited from disseminating or
distributing this information (other than to the intended recipient) or
copying this information.  If you have received this communication in
error, please notify us immediately by e-mail or by telephone at the
above number. Thank you.
list Scot Kreienkamp · Fri, 8 Jun 2018 15:21:21 +0000 ·
Can you post the graph definition and the test2rrd definition?
signature


Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid

quoted from Rich Jones
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Rich Jones
Sent: Friday, June 8, 2018 10:56 AM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid>
Cc: xymon at xymon.com
Subject: Re: [Xymon] RRD graph not working for only one test

Yep, they are in graphs.cfg
I see the following in the error log though... but i can't see it actually looking for a graph titled 'nginx'

[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid 139975110661888] [client ***.***.***.**:53876] AH01215: Setup error: Service nginx has a graph nginx, but no graph-definition: /usr/local/xymon/cgi-bin/svcstatus.sh, referer: https://****/xymon/aws/aws.html
quoted from Galen Johnson


Rich Jones | Systems Developer

Corporation Pop
21-23 Shudehill
Manchester M4 2AF
0161 838 0808

www.corporationpop.co.uk<http://www.corporationpop.co.uk/>;
quoted from Galen Johnson

This email message (and any attached file) is intended only for the use of the individual or entity to whom the sender intended it to be addressed and may contain information that constitutes a trade secret, or that is privileged, confidential or subject to copyright. No part of it may be circulated, quoted, or reproduced without prior written approval from Corporation Pop Ltd. The contents of this document are strictly confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop Ltd. All rights reserved. Corporation Pop is a limited company registered in England + Wales. Company number 4869229. VAT number 533 8932 26.


On 8 June 2018 at 15:53, Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>> wrote:
Did you put the graph definition in either graphs.d or graphs.cfg?
From: Xymon [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Rich Jones
Sent: Friday, June 8, 2018 10:31 AM

To:xymon at xymon.com<mailto:xymon at xymon.com>
quoted from Galen Johnson
Subject: [Xymon] RRD graph not working for only one test

Hi all, weird one... Have been playing about with the following nginx monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs to work at all.

The test runs fine (as far as I can tell, i have modified the script to output the data for the graph and that all looks fine), it sends it's data etc and I can see the .rrd files created. However Xymon doesn't want to display them at all. I simply end up with alt text and the magnifying glass. Clicking the magnifying glass results in the "Cannot access RRD directory" error.

I have performed an rrdtool dump on the offending graph and compared it with other .rrd files, doesn't look to be any issue. Permissions are all the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28
Cheers, Rich

This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Rich Jones · Fri, 8 Jun 2018 16:30:38 +0100 ·
Hi Scott yep...

TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,deltalines,ops,stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,snapshot,if_load=devmon,temp=devmon,paging,mdc,mdchitpct,cics,dsa,getvis,maxuser,nparts,xymongen,xymonnet,xymonproxy,xymond,nginx"


The definitions are here
https://github.com/ZeWaren/xymon-nginx/blob/master/graphs.cfg

[nginx_connections]
    FNPATTERN ^nginx_connections.rrd
    TITLE Nginx connections
    YAXIS
    DEF:total at RRDIDX@=@RRDFN@:total:AVERAGE
    DEF:waiting at RRDIDX@=@RRDFN@:waiting:AVERAGE
    DEF:reading at RRDIDX@=@RRDFN@:reading:AVERAGE
    DEF:writing at RRDIDX@=@RRDFN@:writing:AVERAGE
    AREA:total at RRDIDX@#FFC3C0:Total          :0
    GPRINT:total at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:total at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:total at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:waiting at RRDIDX@#FF0000:Waiting             :1
    GPRINT:waiting at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:waiting at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:waiting at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:reading at RRDIDX@#FF7D00:Reading             :1
    GPRINT:reading at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:reading at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:reading at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:writing at RRDIDX@#FFF200:Writing             :1
    GPRINT:writing at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:writing at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:writing at RRDIDX@:MAX: Max\: %4.0lf \n

[nginx_requests]
    FNPATTERN ^nginx_requests.rrd
    TITLE Nginx requests
    YAXIS
    DEF:handreq at RRDIDX@=@RRDFN@:handreq:AVERAGE
    DEF:handconn at RRDIDX@=@RRDFN@:handconn:AVERAGE
    DEF:accepted at RRDIDX@=@RRDFN@:accepted:AVERAGE
    AREA:handreq at RRDIDX@#FF0000:Requests          :0
    GPRINT:handreq at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:handreq at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:handreq at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:accepted at RRDIDX@#00FF00:Accepted connections            :1
    GPRINT:accepted at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:accepted at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:accepted at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:handconn at RRDIDX@#0000FF:Handled connections             :1
    GPRINT:handconn at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:handconn at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:handconn at RRDIDX@:MAX: Max\: %4.0lf \n


On 8 June 2018 at 16:21, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
quoted from Scot Kreienkamp
wrote:
Can you post the graph definition and the test2rrd definition?


*Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate*
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | |
Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Rich Jones
*Sent:* Friday, June 8, 2018 10:56 AM
*To:* Scot Kreienkamp <user-9678697f1438@xymon.invalid>
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] RRD graph not working for only one test


Yep, they are in graphs.cfg
I see the following in the error log though... but i can't see it actually
looking for a graph titled 'nginx'

[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid
139975110661888] [client ***.***.***.**:53876] AH01215: Setup error:
Service nginx has a graph nginx, but no graph-definition:
/usr/local/xymon/cgi-bin/svcstatus.sh, referer:
https://****/xymon/aws/aws.html


*Rich Jones* | Systems Developer

Corporation Pop
21-23 Shudehill

<https://maps.google.com/?q=21-23+Shudehill+%0D%0AManchester+M4+2AF&entry=gmail&source=g>;
quoted from Scot Kreienkamp
Manchester M4 2AF
0161 838 0808

www.corporationpop.co.uk

This email message (and any attached file) is intended only for the use of
the individual or entity to whom the sender intended it to be addressed and
may contain information that constitutes a trade secret, or that is
privileged, confidential or subject to copyright. No part of it may be
circulated, quoted, or reproduced without prior written approval from
Corporation Pop Ltd. The contents of this document are strictly
confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop
Ltd. All rights reserved. Corporation Pop is a limited company registered
in England + Wales. Company number 4869229. VAT number 533 8932 26.


On 8 June 2018 at 15:53, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
wrote:

Did you put the graph definition in either graphs.d or graphs.cfg?

*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Rich Jones
*Sent:* Friday, June 8, 2018 10:31 AM
*To:*xymon at xymon.com
*Subject:* [Xymon] RRD graph not working for only one test


Hi all, weird one... Have been playing about with the following nginx
monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs
to work at all.

The test runs fine (as far as I can tell, i have modified the script to
output the data for the graph and that all looks fine), it sends it's data
etc and I can see the .rrd files created. However Xymon doesn't want to
display them at all. I simply end up with alt text and the magnifying
glass. Clicking the magnifying glass results in the "Cannot access RRD
directory" error.

I have performed an rrdtool dump on the offending graph and compared it
with other .rrd files, doesn't look to be any issue. Permissions are all
the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28

Cheers, Rich

This message is intended only for the individual or entity to which it is
addressed.  It may contain privileged, confidential information which is
exempt from disclosure under applicable laws.  If you are not the intended
recipient, you are strictly prohibited from disseminating or distributing
this information (other than to the intended recipient) or copying this
information.  If you have received this communication in error, please
notify us immediately by e-mail or by telephone at the above number. Thank
you.

list Scot Kreienkamp · Fri, 8 Jun 2018 19:08:07 +0000 ·
Can you post your SPLITNCV line?

So you have a files named exactly nginx_connections.rrd and nginx_requests.rrd in the RRD directory for the hosts you want?
signature


Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid

quoted from Rich Jones
From: Rich Jones [mailto:user-6806fa693bf5@xymon.invalid]
Sent: Friday, June 8, 2018 11:31 AM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid>
Cc: xymon at xymon.com
Subject: Re: [Xymon] RRD graph not working for only one test

Hi Scott yep...

TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,deltalines,ops,stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,snapshot,if_load=devmon,temp=devmon,paging,mdc,mdchitpct,cics,dsa,getvis,maxuser,nparts,xymongen,xymonnet,xymonproxy,xymond,nginx"


The definitions are here https://github.com/ZeWaren/xymon-nginx/blob/master/graphs.cfg
[nginx_connections]
    FNPATTERN ^nginx_connections.rrd
    TITLE Nginx connections
    YAXIS
    DEF:total at RRDIDX@=@RRDFN@:total:AVERAGE
    DEF:waiting at RRDIDX@=@RRDFN@:waiting:AVERAGE
    DEF:reading at RRDIDX@=@RRDFN@:reading:AVERAGE
    DEF:writing at RRDIDX@=@RRDFN@:writing:AVERAGE
    AREA:total at RRDIDX@#FFC3C0:Total          :0
    GPRINT:total at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:total at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:total at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:waiting at RRDIDX@#FF0000:Waiting             :1
    GPRINT:waiting at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:waiting at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:waiting at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:reading at RRDIDX@#FF7D00:Reading             :1
    GPRINT:reading at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:reading at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:reading at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:writing at RRDIDX@#FFF200:Writing             :1
    GPRINT:writing at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:writing at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:writing at RRDIDX@:MAX: Max\: %4.0lf \n

[nginx_requests]
    FNPATTERN ^nginx_requests.rrd
    TITLE Nginx requests
    YAXIS
    DEF:handreq at RRDIDX@=@RRDFN@:handreq:AVERAGE
    DEF:handconn at RRDIDX@=@RRDFN@:handconn:AVERAGE
    DEF:accepted at RRDIDX@=@RRDFN@:accepted:AVERAGE
    AREA:handreq at RRDIDX@#FF0000:Requests          :0
    GPRINT:handreq at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:handreq at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:handreq at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:accepted at RRDIDX@#00FF00:Accepted connections            :1
    GPRINT:accepted at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:accepted at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:accepted at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:handconn at RRDIDX@#0000FF:Handled connections             :1
    GPRINT:handconn at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:handconn at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:handconn at RRDIDX@:MAX: Max\: %4.0lf \n


On 8 June 2018 at 16:21, Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>> wrote:
Can you post the graph definition and the test2rrd definition?
From: Xymon [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Rich Jones
Sent: Friday, June 8, 2018 10:56 AM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>>

Cc:xymon at xymon.com<mailto:xymon at xymon.com>
quoted from Rich Jones
Subject: Re: [Xymon] RRD graph not working for only one test

Yep, they are in graphs.cfg
I see the following in the error log though... but i can't see it actually looking for a graph titled 'nginx'
[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid 139975110661888] [client ***.***.***.**:53876] AH01215: Setup error: Service nginx has a graph nginx, but no graph-definition: /usr/local/xymon/cgi-bin/svcstatus.sh, referer: https://****/xymon/aws/aws.html


Rich Jones | Systems Developer

Corporation Pop

21-23 Shudehill<https://maps.google.com/?q=21-23+Shudehill+%0D%0AManchester+M4+2AF&entry=gmail&source=g>;
quoted from Rich Jones
Manchester M4 2AF
0161 838 0808

www.corporationpop.co.uk<http://www.corporationpop.co.uk/>;

This email message (and any attached file) is intended only for the use of the individual or entity to whom the sender intended it to be addressed and may contain information that constitutes a trade secret, or that is privileged, confidential or subject to copyright. No part of it may be circulated, quoted, or reproduced without prior written approval from Corporation Pop Ltd. The contents of this document are strictly confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop Ltd. All rights reserved. Corporation Pop is a limited company registered in England + Wales. Company number 4869229. VAT number 533 8932 26.


On 8 June 2018 at 15:53, Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>> wrote:
Did you put the graph definition in either graphs.d or graphs.cfg?
From: Xymon [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Rich Jones
Sent: Friday, June 8, 2018 10:31 AM
To:xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] RRD graph not working for only one test

Hi all, weird one... Have been playing about with the following nginx monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs to work at all.

The test runs fine (as far as I can tell, i have modified the script to output the data for the graph and that all looks fine), it sends it's data etc and I can see the .rrd files created. However Xymon doesn't want to display them at all. I simply end up with alt text and the magnifying glass. Clicking the magnifying glass results in the "Cannot access RRD directory" error.

I have performed an rrdtool dump on the offending graph and compared it with other .rrd files, doesn't look to be any issue. Permissions are all the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28
Cheers, Rich

This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Rich Jones · Mon, 11 Jun 2018 09:15:02 +0100 ·
Hi Scott,

Where is the SPLITNCV line? I don't see it in xymonserver.cfg

And, to confirm, I have those two .rrd files in data/rrd/hostname yes. Both
I have performed a rrdtool dump to check the format and that.


On 8 June 2018 at 20:08, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
quoted from Scot Kreienkamp
wrote:
Can you post your SPLITNCV line?


So you have a files named exactly nginx_connections.rrd and
nginx_requests.rrd in the RRD directory for the hosts you want?


*Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate*
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | |
Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
*From:* Rich Jones [mailto:user-6806fa693bf5@xymon.invalid]
*Sent:* Friday, June 8, 2018 11:31 AM
*To:* Scot Kreienkamp <user-9678697f1438@xymon.invalid>
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] RRD graph not working for only one test


Hi Scott yep...


TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,
http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,
temperature,apache,bind,sendmail,mailq,nmailq=mailq,
socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,
files,procs=processes,ports,clock,lines,deltalines,ops,
stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,
JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,
snapshot,if_load=devmon,temp=devmon,paging,mdc,mdchitpct,
cics,dsa,getvis,maxuser,nparts,xymongen,xymonnet,xymonproxy,xymond,nginx"


The definitions are here https://github.com/ZeWaren/xymon-nginx/blob/
master/graphs.cfg
quoted from Scot Kreienkamp

[nginx_connections]

    FNPATTERN ^nginx_connections.rrd

    TITLE Nginx connections

    YAXIS

    DEF:total at RRDIDX@=@RRDFN@:total:AVERAGE

    DEF:waiting at RRDIDX@=@RRDFN@:waiting:AVERAGE

    DEF:reading at RRDIDX@=@RRDFN@:reading:AVERAGE

    DEF:writing at RRDIDX@=@RRDFN@:writing:AVERAGE

    AREA:total at RRDIDX@#FFC3C0:Total          :0

    GPRINT:total at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:total at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:total at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:waiting at RRDIDX@#FF0000:Waiting             :1

    GPRINT:waiting at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:waiting at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:waiting at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:reading at RRDIDX@#FF7D00:Reading             :1

    GPRINT:reading at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:reading at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:reading at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:writing at RRDIDX@#FFF200:Writing             :1

    GPRINT:writing at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:writing at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:writing at RRDIDX@:MAX: Max\: %4.0lf \n


[nginx_requests]

    FNPATTERN ^nginx_requests.rrd

    TITLE Nginx requests

    YAXIS

    DEF:handreq at RRDIDX@=@RRDFN@:handreq:AVERAGE

    DEF:handconn at RRDIDX@=@RRDFN@:handconn:AVERAGE

    DEF:accepted at RRDIDX@=@RRDFN@:accepted:AVERAGE

    AREA:handreq at RRDIDX@#FF0000:Requests          :0

    GPRINT:handreq at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:handreq at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:handreq at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:accepted at RRDIDX@#00FF00:Accepted connections            :1

    GPRINT:accepted at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:accepted at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:accepted at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:handconn at RRDIDX@#0000FF:Handled connections             :1

    GPRINT:handconn at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:handconn at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:handconn at RRDIDX@:MAX: Max\: %4.0lf \n


On 8 June 2018 at 16:21, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
wrote:

Can you post the graph definition and the test2rrd definition?

*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Rich Jones

*Sent:* Friday, June 8, 2018 10:56 AM
*To:* Scot Kreienkamp <user-9678697f1438@xymon.invalid>

*Cc:*xymon at xymon.com
quoted from Scot Kreienkamp
*Subject:* Re: [Xymon] RRD graph not working for only one test


Yep, they are in graphs.cfg
I see the following in the error log though... but i can't see it actually
looking for a graph titled 'nginx'

[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid
139975110661888] [client ***.***.***.**:53876] AH01215: Setup error:
Service nginx has a graph nginx, but no graph-definition:
/usr/local/xymon/cgi-bin/svcstatus.sh, referer:
https://****/xymon/aws/aws.html


*Rich Jones* | Systems Developer

Corporation Pop
21-23 Shudehill
<https://maps.google.com/?q=21-23+Shudehill+%0D%0AManchester+M4+2AF&entry=gmail&source=g>;
Manchester M4 2AF
0161 838 0808

www.corporationpop.co.uk

This email message (and any attached file) is intended only for the use of
the individual or entity to whom the sender intended it to be addressed and
may contain information that constitutes a trade secret, or that is
privileged, confidential or subject to copyright. No part of it may be
circulated, quoted, or reproduced without prior written approval from
Corporation Pop Ltd. The contents of this document are strictly
confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop
Ltd. All rights reserved. Corporation Pop is a limited company registered
in England + Wales. Company number 4869229. VAT number 533 8932 26.


On 8 June 2018 at 15:53, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
wrote:

Did you put the graph definition in either graphs.d or graphs.cfg?

*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Rich Jones
*Sent:* Friday, June 8, 2018 10:31 AM
*To:*xymon at xymon.com
*Subject:* [Xymon] RRD graph not working for only one test


Hi all, weird one... Have been playing about with the following nginx
monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs
to work at all.

The test runs fine (as far as I can tell, i have modified the script to
output the data for the graph and that all looks fine), it sends it's data
etc and I can see the .rrd files created. However Xymon doesn't want to
display them at all. I simply end up with alt text and the magnifying
glass. Clicking the magnifying glass results in the "Cannot access RRD
directory" error.

I have performed an rrdtool dump on the offending graph and compared it
with other .rrd files, doesn't look to be any issue. Permissions are all
the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28

Cheers, Rich

This message is intended only for the individual or entity to which it is
addressed.  It may contain privileged, confidential information which is
exempt from disclosure under applicable laws.  If you are not the intended
recipient, you are strictly prohibited from disseminating or distributing
this information (other than to the intended recipient) or copying this
information.  If you have received this communication in error, please
notify us immediately by e-mail or by telephone at the above number. Thank
you.

list Scot Kreienkamp · Tue, 12 Jun 2018 12:21:49 +0000 ·
If you’re getting data then you don’t need a SPLITNCV.

I had to go back and re-read your email… sounds like Xymon isn’t finding your graph definition:  “Service nginx has a graph nginx, but no graph-definition”

Where did you put it, in what file?
signature


Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid

quoted from Rich Jones
From: Rich Jones [mailto:user-6806fa693bf5@xymon.invalid]
Sent: Monday, June 11, 2018 4:15 AM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid>
Cc: xymon at xymon.com
Subject: Re: [Xymon] RRD graph not working for only one test

Hi Scott,

Where is the SPLITNCV line? I don't see it in xymonserver.cfg

And, to confirm, I have those two .rrd files in data/rrd/hostname yes. Both I have performed a rrdtool dump to check the format and that.


On 8 June 2018 at 20:08, Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>> wrote:
Can you post your SPLITNCV line?

So you have a files named exactly nginx_connections.rrd and nginx_requests.rrd in the RRD directory for the hosts you want?
From: Rich Jones [mailto:user-6806fa693bf5@xymon.invalid<mailto:user-6806fa693bf5@xymon.invalid>]
Sent: Friday, June 8, 2018 11:31 AM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>>
Cc:xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] RRD graph not working for only one test

Hi Scott yep...

TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,deltalines,ops,stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,snapshot,if_load=devmon,temp=devmon,paging,mdc,mdchitpct,cics,dsa,getvis,maxuser,nparts,xymongen,xymonnet,xymonproxy,xymond,nginx"


The definitions are here https://github.com/ZeWaren/xymon-nginx/blob/master/graphs.cfg
[nginx_connections]
    FNPATTERN ^nginx_connections.rrd
    TITLE Nginx connections
    YAXIS
    DEF:total at RRDIDX@=@RRDFN@:total:AVERAGE
    DEF:waiting at RRDIDX@=@RRDFN@:waiting:AVERAGE
    DEF:reading at RRDIDX@=@RRDFN@:reading:AVERAGE
    DEF:writing at RRDIDX@=@RRDFN@:writing:AVERAGE
    AREA:total at RRDIDX@#FFC3C0:Total          :0
    GPRINT:total at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:total at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:total at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:waiting at RRDIDX@#FF0000:Waiting             :1
    GPRINT:waiting at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:waiting at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:waiting at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:reading at RRDIDX@#FF7D00:Reading             :1
    GPRINT:reading at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:reading at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:reading at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:writing at RRDIDX@#FFF200:Writing             :1
    GPRINT:writing at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:writing at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:writing at RRDIDX@:MAX: Max\: %4.0lf \n

[nginx_requests]
    FNPATTERN ^nginx_requests.rrd
    TITLE Nginx requests
    YAXIS
    DEF:handreq at RRDIDX@=@RRDFN@:handreq:AVERAGE
    DEF:handconn at RRDIDX@=@RRDFN@:handconn:AVERAGE
    DEF:accepted at RRDIDX@=@RRDFN@:accepted:AVERAGE
    AREA:handreq at RRDIDX@#FF0000:Requests          :0
    GPRINT:handreq at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:handreq at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:handreq at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:accepted at RRDIDX@#00FF00:Accepted connections            :1
    GPRINT:accepted at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:accepted at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:accepted at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:handconn at RRDIDX@#0000FF:Handled connections             :1
    GPRINT:handconn at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:handconn at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:handconn at RRDIDX@:MAX: Max\: %4.0lf \n


On 8 June 2018 at 16:21, Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>> wrote:
Can you post the graph definition and the test2rrd definition?
From: Xymon [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Rich Jones

Sent: Friday, June 8, 2018 10:56 AM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>>
Cc:xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] RRD graph not working for only one test

Yep, they are in graphs.cfg
I see the following in the error log though... but i can't see it actually looking for a graph titled 'nginx'
[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid 139975110661888] [client ***.***.***.**:53876] AH01215: Setup error: Service nginx has a graph nginx, but no graph-definition: /usr/local/xymon/cgi-bin/svcstatus.sh, referer: https://****/xymon/aws/aws.html


Rich Jones | Systems Developer

Corporation Pop
21-23 Shudehill<https://maps.google.com/?q=21-23+Shudehill+%0D%0AManchester+M4+2AF&entry=gmail&source=g>;
Manchester M4 2AF
0161 838 0808

www.corporationpop.co.uk<http://www.corporationpop.co.uk/>;

This email message (and any attached file) is intended only for the use of the individual or entity to whom the sender intended it to be addressed and may contain information that constitutes a trade secret, or that is privileged, confidential or subject to copyright. No part of it may be circulated, quoted, or reproduced without prior written approval from Corporation Pop Ltd. The contents of this document are strictly confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop Ltd. All rights reserved. Corporation Pop is a limited company registered in England + Wales. Company number 4869229. VAT number 533 8932 26.


On 8 June 2018 at 15:53, Scot Kreienkamp <user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid>> wrote:
Did you put the graph definition in either graphs.d or graphs.cfg?
From: Xymon [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Rich Jones
Sent: Friday, June 8, 2018 10:31 AM
To:xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] RRD graph not working for only one test

Hi all, weird one... Have been playing about with the following nginx monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs to work at all.

The test runs fine (as far as I can tell, i have modified the script to output the data for the graph and that all looks fine), it sends it's data etc and I can see the .rrd files created. However Xymon doesn't want to display them at all. I simply end up with alt text and the magnifying glass. Clicking the magnifying glass results in the "Cannot access RRD directory" error.

I have performed an rrdtool dump on the offending graph and compared it with other .rrd files, doesn't look to be any issue. Permissions are all the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28
Cheers, Rich

This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Rich Jones · Tue, 12 Jun 2018 14:44:44 +0100 ·
The graph definitions are in server/etc/graphs.cfg as follows:
quoted from Scot Kreienkamp

[nginx_connections]
    FNPATTERN ^nginx_connections.rrd
    TITLE Nginx connections
    YAXIS
    DEF:total at RRDIDX@=@RRDFN@:total:AVERAGE
    DEF:waiting at RRDIDX@=@RRDFN@:waiting:AVERAGE
    DEF:reading at RRDIDX@=@RRDFN@:reading:AVERAGE
    DEF:writing at RRDIDX@=@RRDFN@:writing:AVERAGE
    AREA:total at RRDIDX@#FFC3C0:Total          :0
    GPRINT:total at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:total at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:total at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:waiting at RRDIDX@#FF0000:Waiting             :1
    GPRINT:waiting at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:waiting at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:waiting at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:reading at RRDIDX@#FF7D00:Reading             :1
    GPRINT:reading at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:reading at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:reading at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:writing at RRDIDX@#FFF200:Writing             :1
    GPRINT:writing at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:writing at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:writing at RRDIDX@:MAX: Max\: %4.0lf \n

[nginx_requests]
    FNPATTERN ^nginx_requests.rrd
    TITLE Nginx requests
    YAXIS
    DEF:handreq at RRDIDX@=@RRDFN@:handreq:AVERAGE
    DEF:handconn at RRDIDX@=@RRDFN@:handconn:AVERAGE
    DEF:accepted at RRDIDX@=@RRDFN@:accepted:AVERAGE
    AREA:handreq at RRDIDX@#FF0000:Requests          :0
    GPRINT:handreq at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:handreq at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:handreq at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:accepted at RRDIDX@#00FF00:Accepted connections            :1
    GPRINT:accepted at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:accepted at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:accepted at RRDIDX@:MAX: Max\: %4.0lf \n
    AREA:handconn at RRDIDX@#0000FF:Handled connections             :1
    GPRINT:handconn at RRDIDX@:LAST: Current\: %4.0lf
    GPRINT:handconn at RRDIDX@:AVERAGE: Average\: %4.0lf
    GPRINT:handconn at RRDIDX@:MAX: Max\: %4.0lf \n

Though as it's looking for a graph called 'nginx' this makes sense, though
as there are two graphs to display I'm not sure..


On 12 June 2018 at 13:21, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
quoted from Scot Kreienkamp
wrote:
If you’re getting data then you don’t need a SPLITNCV.


I had to go back and re-read your email… sounds like Xymon isn’t finding
your graph definition:  “Service nginx has a graph nginx, but no
graph-definition”


Where did you put it, in what file?


*Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate*
One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | |
Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
*From:* Rich Jones [mailto:user-6806fa693bf5@xymon.invalid]
*Sent:* Monday, June 11, 2018 4:15 AM
*To:* Scot Kreienkamp <user-9678697f1438@xymon.invalid>
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] RRD graph not working for only one test


Hi Scott,

Where is the SPLITNCV line? I don't see it in xymonserver.cfg


And, to confirm, I have those two .rrd files in data/rrd/hostname yes.
Both I have performed a rrdtool dump to check the format and that.


On 8 June 2018 at 20:08, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
wrote:

Can you post your SPLITNCV line?


So you have a files named exactly nginx_connections.rrd and
nginx_requests.rrd in the RRD directory for the hosts you want?

*From:* Rich Jones [mailto:user-6806fa693bf5@xymon.invalid]
*Sent:* Friday, June 8, 2018 11:31 AM
*To:* Scot Kreienkamp <user-9678697f1438@xymon.invalid>
*Cc:*xymon at xymon.com
*Subject:* Re: [Xymon] RRD graph not working for only one test


Hi Scott yep...


TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,
http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,
temperature,apache,bind,sendmail,mailq,nmailq=mailq,
socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,
files,procs=processes,ports,clock,lines,deltalines,ops,
stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,
JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,
snapshot,if_load=devmon,temp=devmon,paging,mdc,mdchitpct,
cics,dsa,getvis,maxuser,nparts,xymongen,xymonnet,xymonproxy,xymond,nginx"


The definitions are here https://github.com/ZeWaren/xymon-nginx/blob/
master/graphs.cfg

[nginx_connections]

    FNPATTERN ^nginx_connections.rrd

    TITLE Nginx connections

    YAXIS

    DEF:total at RRDIDX@=@RRDFN@:total:AVERAGE

    DEF:waiting at RRDIDX@=@RRDFN@:waiting:AVERAGE

    DEF:reading at RRDIDX@=@RRDFN@:reading:AVERAGE

    DEF:writing at RRDIDX@=@RRDFN@:writing:AVERAGE

    AREA:total at RRDIDX@#FFC3C0:Total          :0

    GPRINT:total at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:total at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:total at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:waiting at RRDIDX@#FF0000:Waiting             :1

    GPRINT:waiting at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:waiting at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:waiting at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:reading at RRDIDX@#FF7D00:Reading             :1

    GPRINT:reading at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:reading at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:reading at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:writing at RRDIDX@#FFF200:Writing             :1

    GPRINT:writing at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:writing at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:writing at RRDIDX@:MAX: Max\: %4.0lf \n


[nginx_requests]

    FNPATTERN ^nginx_requests.rrd

    TITLE Nginx requests

    YAXIS

    DEF:handreq at RRDIDX@=@RRDFN@:handreq:AVERAGE

    DEF:handconn at RRDIDX@=@RRDFN@:handconn:AVERAGE

    DEF:accepted at RRDIDX@=@RRDFN@:accepted:AVERAGE

    AREA:handreq at RRDIDX@#FF0000:Requests          :0

    GPRINT:handreq at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:handreq at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:handreq at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:accepted at RRDIDX@#00FF00:Accepted connections            :1

    GPRINT:accepted at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:accepted at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:accepted at RRDIDX@:MAX: Max\: %4.0lf \n

    AREA:handconn at RRDIDX@#0000FF:Handled connections             :1

    GPRINT:handconn at RRDIDX@:LAST: Current\: %4.0lf

    GPRINT:handconn at RRDIDX@:AVERAGE: Average\: %4.0lf

    GPRINT:handconn at RRDIDX@:MAX: Max\: %4.0lf \n


On 8 June 2018 at 16:21, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
wrote:

Can you post the graph definition and the test2rrd definition?

*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Rich Jones


*Sent:* Friday, June 8, 2018 10:56 AM
*To:* Scot Kreienkamp <user-9678697f1438@xymon.invalid>
*Cc:*xymon at xymon.com
*Subject:* Re: [Xymon] RRD graph not working for only one test


Yep, they are in graphs.cfg
I see the following in the error log though... but i can't see it actually
looking for a graph titled 'nginx'

[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid
139975110661888] [client ***.***.***.**:53876] AH01215: Setup error:
Service nginx has a graph nginx, but no graph-definition:
/usr/local/xymon/cgi-bin/svcstatus.sh, referer:
https://****/xymon/aws/aws.html


*Rich Jones* | Systems Developer

Corporation Pop
21-23 Shudehill
<https://maps.google.com/?q=21-23+Shudehill+%0D%0AManchester+M4+2AF&entry=gmail&source=g>;
Manchester M4 2AF
0161 838 0808

www.corporationpop.co.uk

This email message (and any attached file) is intended only for the use of
the individual or entity to whom the sender intended it to be addressed and
may contain information that constitutes a trade secret, or that is
privileged, confidential or subject to copyright. No part of it may be
circulated, quoted, or reproduced without prior written approval from
Corporation Pop Ltd. The contents of this document are strictly
confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop
Ltd. All rights reserved. Corporation Pop is a limited company registered
in England + Wales. Company number 4869229. VAT number 533 8932 26.


On 8 June 2018 at 15:53, Scot Kreienkamp <user-9678697f1438@xymon.invalid>
wrote:

Did you put the graph definition in either graphs.d or graphs.cfg?

*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Rich Jones
*Sent:* Friday, June 8, 2018 10:31 AM
*To:*xymon at xymon.com
*Subject:* [Xymon] RRD graph not working for only one test


Hi all, weird one... Have been playing about with the following nginx
monitor https://github.com/ZeWaren/xymon-nginx and I can't get the graphs
to work at all.

The test runs fine (as far as I can tell, i have modified the script to
output the data for the graph and that all looks fine), it sends it's data
etc and I can see the .rrd files created. However Xymon doesn't want to
display them at all. I simply end up with alt text and the magnifying
glass. Clicking the magnifying glass results in the "Cannot access RRD
directory" error.

I have performed an rrdtool dump on the offending graph and compared it
with other .rrd files, doesn't look to be any issue. Permissions are all
the same across all the data/rrd/host etc.

Has anyone else had this issue or similar? Any ideas?
I'm running Xymon 4.3.28

Cheers, Rich

This message is intended only for the individual or entity to which it is
addressed.  It may contain privileged, confidential information which is
exempt from disclosure under applicable laws.  If you are not the intended
recipient, you are strictly prohibited from disseminating or distributing
this information (other than to the intended recipient) or copying this
information.  If you have received this communication in error, please
notify us immediately by e-mail or by telephone at the above number. Thank
you.