Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alfresco Search services does not show performance data #1

Open
CesarCapillas opened this issue Sep 6, 2018 · 0 comments
Open

Alfresco Search services does not show performance data #1

CesarCapillas opened this issue Sep 6, 2018 · 0 comments
Assignees

Comments

@CesarCapillas
Copy link
Member

With Icinga 1 + PNP4Nagios 0.6.16 and using the python script,

The logs about the the following:

2018-08-31 19:35:55 [730] [0] RRDs::update /var/lib/pnp4nagios/perfdata/ass/[ASS]_FTS.rrd 1535744131:99541.0:0.0:0.0
2018-08-31 19:35:55 [730] [0] RRDs::update ERROR /var/lib/pnp4nagios/perfdata/ass/[ASS]_FTS.rrd: not a simple signed integer: '99541.0'
2018-08-31 19:35:55 [730] [0] RRDs::update /var/lib/pnp4nagios/perfdata/ass/[ASS]_AFTS_Handler.rrd 1535744131:0.0:0.0:0.0:0.0:0.0:0.0
2018-08-31 19:35:55 [730] [0] RRDs::update ERROR /var/lib/pnp4nagios/perfdata/ass/[ASS]_AFTS_Handler.rrd: not a simple signed integer: '0.0'
2018-08-31 19:35:55 [730] [0] RRDs::update /var/lib/pnp4nagios/perfdata/ass/[ASS]_Alfresco_Handler.rrd 1535744131:0.0:0.0:0.0:0.0:0.0:0.0
2018-08-31 19:35:55 [730] [0] RRDs::update ERROR /var/lib/pnp4nagios/perfdata/ass/[ASS]_Alfresco_Handler.rrd: not a simple signed integer: '0.0'
2018-08-31 19:35:55 [730] [0] RRDs::update /var/lib/pnp4nagios/perfdata/ass/[ASS]_Query_Cache.rrd 1535744131:0.0:100.0:789.0:1.0:1.0
2018-08-31 19:35:55 [730] [0] RRDs::update ERROR /var/lib/pnp4nagios/perfdata/ass/[ASS]_Query_Cache.rrd: not a simple signed integer: '0.0'
2018-08-31 19:35:55 [730] [0] RRDs::update /var/lib/pnp4nagios/perfdata/ass/[ASS]_Errors_in_Alfresco_Index.rrd 1535744131:588.0:1331.0:10.0:119047.0:2.0:78211.0:30322.0:1504240225.0:229511.0:26.0
2018-08-31 19:35:55 [730] [0] RRDs::update ERROR /var/lib/pnp4nagios/perfdata/ass/[ASS]_Errors_in_Alfresco_Index.rrd: not a simple signed integer: '588.0'

I think the problem is related with some float final presentation in perfdata of some integer values.
Although I'm not familiarized with python nagiosplugin library, I found that python script shows filter caches performance data at this way:

evictions=0.0c hitratio=100.0%;95:;90: hits=860.0c misses=0.0c size=1.0

while this format gives a correct graph (at least for hitratio and hits):

evictions=0c hitratio=100%;95:;90: hits=1001c misses=0c size=1c

I found this changing the corresponding line in the python script:

#self.metrics.insert(0, nagiosplugin.Metric(key, float(value), uom=uom, context=context))
self.metrics.insert(0, nagiosplugin.Metric(key, int(value), uom=uom, context=context))

But this is not straightfoward with the rest of metrics of type for example index or FTS.

--C.

@CesarCapillas CesarCapillas self-assigned this Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant