Stupid Question

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You've built a Sata Query. That requires an XML file describing the required fields. I need that XML file to get an idea about your error
Reinhard
Sullen_Scrota
Posts: 14
Joined: Mon Nov 12, 2007 9:13 am

Post by Sullen_Scrota »

<interface>
<name>APN stats</name>
<description>Get GGSN J20 APN stats</description>
<oid_index>.1.3.6.1.4.1.10923.1.1.1.1.1.5.1.2</oid_index>
<index_order>ApnName</index_order>
<index_order_type>alphabetic</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<ApnName>
<name>ApnName</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.10923.1.1.1.1.1.5.1.2</oid>
</ApnName>

<ActivePdpCount>
<name>ActivePdpCount</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.10923.1.1.1.1.1.5.1.3</oid>
</ActivePdpCount>
</fields>
</interface>
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please change last fields direction to "input". Then, run a verbose query and post results
Reinhard
Sullen_Scrota
Posts: 14
Joined: Mon Nov 12, 2007 9:13 am

Post by Sullen_Scrota »

Devices->Host->Associated Data Query->Verbose Query gives the following output.

+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/home/www/html/cacti/resource/snmp_queries/GGSN-J20-Active-PDP-Contexts-by-APN.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.10923.1.1.1.1.1.5.1.2'
+ Located input field 'ApnName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.10923.1.1.1.1.1.5.1.2'
+ Found item [ApnName='XXXX'] index: 1 [from value]

... lots of data removed ...

+ Located input field 'ActivePdpCount' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.10923.1.1.1.1.1.5.1.3'
+ Found item [ActivePdpCount='0'] index: 1 [from value]

... lots of data removed ...


+ Found data query XML file at '/home/www/html/cacti/resource/snmp_queries/GGSN-J20-Active-PDP-Contexts-by-APN.xml'
+ Found data query XML file at '/home/www/html/cacti/resource/snmp_queries/GGSN-J20-Active-PDP-Contexts-by-APN.xml'
+ Found data query XML file at '/home/www/html/cacti/resource/snmp_queries/GGSN-J20-Active-PDP-Contexts-by-APN.xml'
+ Found data query XML file at '/home/www/html/cacti/resource/snmp_queries/GGSN-J20-Active-PDP-Contexts-by-APN.xml'
+ Found data query XML file at '/home/www/html/cacti/resource/snmp_queries/GGSN-J20-Active-PDP-Contexts-by-APN.xml'
Sullen_Scrota
Posts: 14
Joined: Mon Nov 12, 2007 9:13 am

Post by Sullen_Scrota »

The RRA has not been created and the poller is still not running this query.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sullen_Scrota wrote:The RRA has not been created and the poller is still not running this query.
This was not intended.
Reinhard
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Now I requires a screenshot of the Data Template in question. The lower part, please
Reinhard
Sullen_Scrota
Posts: 14
Joined: Mon Nov 12, 2007 9:13 am

Post by Sullen_Scrota »

As requested
Attachments
datatemplate.JPG
datatemplate.JPG (250.35 KiB) Viewed 10082 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please check

Code: Select all

Output Type ID
Index Value
Index Type
and retry
Reinhard
Sullen_Scrota
Posts: 14
Joined: Mon Nov 12, 2007 9:13 am

Post by Sullen_Scrota »

Hi,

Checking these three items made no difference.

I even deleted and recreated the host.

Still no entry in the poller_item table.


Regards
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

I have a similar problem.
After update 0.8.7 to 0.8.7a
2 host 10 sec poller interval
1 min schedulle

after change poller interval to 15 or 20 sec



11/20/2007 09:45:54 PM - SYSTEM STATS: Time:1.1277 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:45:44 PM - SYSTEM STATS: Time:1.1169 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:45:33 PM - SYSTEM STATS: Time:1.1190 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:45:22 PM - SYSTEM STATS: Time:1.1179 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:45:12 PM - SYSTEM STATS: Time:1.1199 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:45:01 PM - SYSTEM STATS: Time:1.1238 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0

11/20/2007 09:45:00 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval!
The Poller Interval is '10' seconds, with a maximum of a '300' second Scheduled Task, but 120 seconds have passed since the last poll!

11/20/2007 09:43:54 PM - SYSTEM STATS: Time:1.1179 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:43:43 PM - SYSTEM STATS: Time:1.1199 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:43:33 PM - SYSTEM STATS: Time:1.1747 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:43:22 PM - SYSTEM STATS: Time:1.1746 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:43:12 PM - SYSTEM STATS: Time:1.1192 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:43:01 PM - SYSTEM STATS: Time:1.1236 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0

11/20/2007 09:43:00 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval!
The Poller Interval is '10' seconds, with a maximum of a '300' second Scheduled Task, but 120 seconds have passed since the last poll!

11/20/2007 09:41:56 PM - SYSTEM STATS: Time:1.1900 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:0
11/20/2007 09:41:45 PM - SYSTEM STATS: Time:1.3679 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:0
11/20/2007 09:41:44 PM - SYSTEM STATS: Time:11.4481 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:14
11/20/2007 09:41:36 PM - CMDPHP: Poller[0] Host[4] DS[28] WARNING: Result from SNMP not valid. Partial Result:
11/20/2007 09:41:28 PM - SYSTEM STATS: Time:6.3034 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:14
11/20/2007 09:41:18 PM - SYSTEM STATS: Time:6.4627 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:14
11/20/2007 09:41:08 PM - SYSTEM STATS: Time:7.2211 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:14
11/20/2007 09:41:00 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '10' seconds, with a maximum of


after Rebuild Poller Cache



11/20/2007 09:57:22 PM - SYSTEM STATS: Time:1.1697 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:57:01 PM - SYSTEM STATS: Time:1.1234 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:56:43 PM - SYSTEM STATS: Time:1.2974 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:0
11/20/2007 09:56:22 PM - SYSTEM STATS: Time:1.2944 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:0
11/20/2007 09:56:06 PM - SYSTEM STATS: Time:6.2627 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:23 RRDsProcessed:14

11/20/2007 09:56:00 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '20' seconds, with a maximum of a '300' second Scheduled Task, but 120 seconds have passed since the last poll!
11/20/2007 09:54:58 PM - SYSTEM STATS: Time:6.1824 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:14
11/20/2007 09:54:48 PM - SYSTEM STATS: Time:6.1815 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:14
11/20/2007 09:54:32 PM - SYSTEM STATS: Time:1.1194 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:0
11/20/2007 09:54:27 PM - SYSTEM STATS: Time:6.1494 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:0 RRDsProcessed:14
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Goto Settings->Poller, set your cron interval and press the save button.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
gsaray101
Cacti User
Posts: 233
Joined: Thu May 17, 2007 9:18 am

WARNING: Scheduled Task is out of sync with the Poller Inter

Post by gsaray101 »

I have one minute poller and cron is set to run every 5 minutes. I sometimes get this error and thus causing gaps on my graphs:

WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '300' second Scheduled Task, but 600 seconds have passed since the last poll!

what do you think is the problem?
trilliumtech
Posts: 6
Joined: Wed Mar 23, 2011 9:04 am

Re: Stupid Question

Post by trilliumtech »

I have this same exact problem, but with 0.8.7g. Did anyone ever figure out the fix for this?
jezct
Posts: 7
Joined: Wed Jun 22, 2011 5:56 am

Re: Stupid Question

Post by jezct »

Hi, is there a fix for this, I have the same issue.
Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests