Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Jun 29, 2017 2:20 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: nmidDataExport plugin released
PostPosted: Thu May 28, 2015 8:46 pm 
Offline

Joined: Mon Jun 13, 2011 11:20 pm
Posts: 24
Hi Phalek.

I've made the change ,

But still not work. No difference.

Code:
"Date","Inbound","Outbound"
"2015-05-29 07:35:00","",""
"2015-05-29 07:40:00","",""
"2015-05-29 07:45:00","",""
"2015-05-29 07:50:00","",""
"2015-05-29 07:55:00","",""
"2015-05-29 08:00:00","",""
"2015-05-29 08:05:00","",""
"2015-05-29 08:10:00","",""
"2015-05-29 08:15:00","",""
"2015-05-29 08:20:00","",""
"2015-05-29 08:25:00","",""
"2015-05-29 08:30:00","",""
"2015-05-29 08:35:00","",""


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Fri May 29, 2015 4:06 am 
Offline

Joined: Mon Jun 13, 2011 11:20 pm
Posts: 24
Hello Phalek ,

I'm using second method now.

the rrdtool daemon that fill up the cpu resources before turns out originated from built-in Cacti Settings (Graph Export) that I played before.
It eat a lot cpu resources until the unit non responsive. After I disabled it the system now running well.

It collecting the graph every 5 minutes with the time range one hour.
Now I have to make a script to merge all the 5 minutes files to one big files of one month data.

Thks.


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Sat Jul 25, 2015 6:24 am 
Offline

Joined: Sun Jan 04, 2015 1:23 pm
Posts: 32
Hi

Any idea why I'm getting values every 2.5h exactly for graphs generated from same device while others from others are exporting just fine every less than 5min.
Ignore the values of the in/out, currently no traffic on this interface.
Code:

"Date","Inbound","Outbound"
"2015-07-21 19:12:00","0.00","0.00"
"2015-07-21 21:36:00","243860.38","0.00"
"2015-07-22 00:00:00","534107.69","0.00"
"2015-07-22 02:24:00","606122.81","0.00"
"2015-07-22 04:48:00","678016.32","0.00"
"2015-07-22 07:12:00","639967.65","0.00"
"2015-07-22 09:36:00","666183.50","0.00"
"2015-07-22 12:00:00","642326.01","0.00"
"2015-07-22 14:24:00","0.00","0.00"
"2015-07-22 16:48:00","0.00","0.00"
"2015-07-22 19:12:00","0.00","0.00"
"2015-07-22 21:36:00","0.00","0.00"
"2015-07-23 00:00:00","0.00","0.00"
"2015-07-23 02:24:00","0.00","0.00"
"2015-07-23 04:48:00","0.00","0.00"


below that's a good one. Less than 5min sample

Code:
"Date","Inbound","Outbound"
"2015-07-21 19:12:00","0.00","0.00"
"2015-07-21 19:16:30","0.00","0.00"
"2015-07-21 19:21:00","0.00","0.00"
"2015-07-21 19:25:30","0.00","0.00"
"2015-07-21 19:30:00","0.00","0.00"
"2015-07-21 19:34:30","0.00","0.00"
"2015-07-21 19:39:00","0.00","0.00"
"2015-07-21 19:43:30","0.00","0.00"
"2015-07-21 19:48:00","0.00","0.00"
"2015-07-21 19:52:30","0.00","0.00"
"2015-07-21 19:57:00","0.00","0.00"
"2015-07-21 20:01:30","0.00","0.00"
"2015-07-21 20:06:00","0.00","0.00"
"2015-07-21 20:10:30","0.00","0.00"
"2015-07-21 20:15:00","0.00","0.00"
"2015-07-21 20:19:30","0.00","0.00"
"2015-07-21 20:24:00","0.00","0.00"
"2015-07-21 20:28:30","0.00","0.00"
"2015-07-21 20:33:00","0.00","0.00"

I export interface graphs and tried already to delete the problematic graphs with the data sources as well , added it back but nothing seems to work.

Any clue ?

Thanks


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Thu Jul 30, 2015 3:16 am 
Offline

Joined: Tue Feb 10, 2015 3:56 am
Posts: 11
Hi Guys,

I am getting validation error after selecting Auto Export > Go.

Please give solution if you got this fixed.

Thanks


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Sun Aug 02, 2015 4:57 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2589
Location: Kressbronn, Germany
Hi

Try this: In cacti/site/include/csrf/csrf_magic.php put $GLOBALS['csrf']['defer'] = true;

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Tue Aug 11, 2015 12:06 am 
Offline

Joined: Tue Feb 10, 2015 3:56 am
Posts: 11
phalek wrote:
Hi

Try this: In cacti/site/include/csrf/csrf_magic.php put $GLOBALS['csrf']['defer'] = true;


Sorry but I couldn't locate cacti/site/include/csrf/csrf_magic.php file at all.


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Tue Aug 11, 2015 8:37 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2589
Location: Kressbronn, Germany
Search for it under your cacti install dir.

/path/to/cacti/include/csrf/csrf_magic.php

In CactiEZ it's here:

/var/www/html/include/csrf/csrf_magic.php

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Fri Aug 14, 2015 6:35 am 
Offline

Joined: Tue Feb 10, 2015 3:56 am
Posts: 11
Well, seems I missed some posts.
Cause I do not have even "csrf" directory.


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Wed Mar 30, 2016 12:45 pm 
Offline

Joined: Mon May 18, 2009 8:33 am
Posts: 16
Hi folks,

I'm ashamed to ask this question, but once a wise person told me a stupid question is the one you don't ask... ;)

After installing the plugin, I use the process to create an automated report and nothing really happens. The attached file is a screenshot I get after clicking Go (after selecting a graph and selected "Automated Export - Add to Export"). Not sure if this is the correct response.

I noticed no file is generated in the export directory and I also check my cacti log file and notice the script does not generate a file.

03/30/2016 12:05:18 PM - nmidDataExport: Poller[0] Exported 0 file(s)
03/30/2016 12:10:17 PM - nmidDataExport: Poller[0] Exported 0 file(s)
03/30/2016 12:15:18 PM - nmidDataExport: Poller[0] Exported 0 file(s)
03/30/2016 12:20:17 PM - nmidDataExport: Poller[0] Exported 0 file(s)
03/30/2016 12:25:17 PM - nmidDataExport: Poller[0] Exported 0 file(s)

Has someone had a similar symptom? How can I solve this?

Thanks!


Attachments:
screenshot.png
screenshot.png [ 216.41 KiB | Viewed 2928 times ]
Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Wed Mar 30, 2016 3:30 pm 
Offline

Joined: Mon May 18, 2009 8:33 am
Posts: 16
Managed to solve it. Somehow, the plugin was conflicting with the threshold plugin. After disabling and enabling the threshold plugin, the dataexport plugin began to generate the files.


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Wed May 04, 2016 6:53 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2589
Location: Kressbronn, Germany
Great to hear that. Btw. is threshold plugin = Thold ?

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Wed May 04, 2016 10:50 am 
Offline

Joined: Mon May 18, 2009 8:33 am
Posts: 16
Correct. Regards


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Mon Apr 10, 2017 3:16 am 
Offline

Joined: Wed Nov 20, 2013 6:02 am
Posts: 1
Hi, I got the same problem, and I already disabling and enabling the threshold plugin, but still not working.
Someone can help me fix it?


Top
 Profile  
 
 Post subject: Re: nmidDataExport plugin released
PostPosted: Sun Jun 04, 2017 8:58 am 
Offline

Joined: Mon May 18, 2009 8:33 am
Posts: 16
Hi torohuang

I'm not an expert on this, try going to the Plugin Management section and make sure the NmidDataExport plugin is loaded before the Thold plugin. You'd have to click the "Load Order**" option, this provides you the ability to move the load order.

I hope this helps...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group