THOLD: Poller[0] ERROR: RPN Expression is invalid!

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
antokapo
Posts: 48
Joined: Fri Nov 20, 2015 4:06 am

THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by antokapo »

Hi

I'm getting many messages in cacti log like this :

THOLD: Poller[0] ERROR: RPN Expression is invalid! THold:'xxx.xxx.xxx.xx - bps - TenGigE0/1/0/1 - TenGigE0/1/0/1 [traffic_out]', Value:'114442710.52159', Expression:'|ds:traffic_out|,8,*,|query_ifHighSpeed|,1000000,*,/,100,*'

and i'm wondering if there's something wrong in interface.xml file.

My enviroment :

General Information
Date Mon, 06 Mar 2017 14:26:46 +0100
Cacti Version 0.8.8b
Cacti OS unix
SNMP Version NET-SNMP version: 5.4.3
RRDTool Version RRDTool 1.4.x
Hosts 1554
Graphs 41016
Data Sources Script/Command: 5
SNMP: 2315
SNMP Query: 117461
Script Query - Script Server: 239
Total: 120020
Poller Information
Interval 300
Type SPINE 0.8.8b Copyright 2002-2013 by The Cacti Group
Items Action[0]: 227169
Action[1]: 5
Action[2]: 359
Total: 227533
Concurrent Processes 8
Max Threads 5
PHP Servers 8
Script Timeout 180
Max OID 4
Last Run Statistics Time:35.0260 Method:spine Processes:8 Threads:5 Hosts:1506 HostsPerProcess:189 DataSources:227533 RRDsProcessed:0
PHP Information
PHP Version 5.3.10-1ubuntu3.24
PHP OS Linux
PHP uname Linux netmonitor 3.13.0-96-generic #143~precise1-Ubuntu SMP Tue Aug 30 14:38:06 UTC 2016 x86_64
PHP SNMP Installed
max_execution_time 300
memory_limit 2560M

Could you help me ?

thanks

Regards

Antonello
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by cigamit »

Expression:'|ds:traffic_out|,8,*,|query_ifHighSpeed|,1000000,*,/,100,*'

Double check that RPN Expression, something doesn't look right about it.
antokapo
Posts: 48
Joined: Fri Nov 20, 2015 4:06 am

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by antokapo »

Hi

I'm not very confident with RPN expressions, we started to use THOLD recently to alert on threshold reached by traffic on some router interfaces.

In which file is the RPN expression stored ?

thanks

Antonello
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by cigamit »

Its not stored in a file, you need to edit the threshold, scroll down to where it says "RPN Expression" and fix it.
antokapo
Posts: 48
Joined: Fri Nov 20, 2015 4:06 am

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by antokapo »

Hi

Yes, sure, i realized after your comment that settings page is on Cacti dashboard.

We use the same thold template also for other interfaces and no error arises, only for some interfaces i noticed the error message,
this sounds me strange

A
antokapo
Posts: 48
Joined: Fri Nov 20, 2015 4:06 am

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by antokapo »

I checked the RNP expression and it's a valid expression, and it works for various interfaces that we monitor, so i don't think the problem is the correctness of the RPN expression.

Thanks

Antonello
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by Osiris »

Maybe query_ifHighSpeed is missing from the Data Query or XML file, or for this interface, it returned a null value. The RPN looks good otherwise.
Before history, there was a paradise, now dust.
antokapo
Posts: 48
Joined: Fri Nov 20, 2015 4:06 am

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by antokapo »

Osiris wrote:Maybe query_ifHighSpeed is missing from the Data Query or XML file, or for this interface, it returned a null value. The RPN looks good otherwise.
Ok, i can i check this ? i looked at the interfaces.xml file and it contains query_ifHighSpeed section ..
antokapo
Posts: 48
Joined: Fri Nov 20, 2015 4:06 am

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by antokapo »

Please close this post, i resolved with manual update of thold_data table that had disaligned data on the graph_id anche graph_template columns for some thresholds.

A
wurg
Posts: 1
Joined: Thu Jul 09, 2020 3:09 am

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by wurg »

Please close this post, i resolved with manual update of thold_data table that had disaligned data on the graph_id anche graph_template columns for some thresholds.
-----------------------
Could you tell me how to fix this problem more detaily? Thank you.
antokapo
Posts: 48
Joined: Fri Nov 20, 2015 4:06 am

Re: THOLD: Poller[0] ERROR: RPN Expression is invalid!

Post by antokapo »

wurg wrote: Thu Jul 09, 2020 3:14 am Please close this post, i resolved with manual update of thold_data table that had disaligned data on the graph_id anche graph_template columns for some thresholds.
-----------------------
Could you tell me how to fix this problem more detaily? Thank you.
Hi
Unfortunately , i remember nothing about that time we fixed the issue
, i'm really sorry .

Antonello
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest