nmidDataExport plugin released

Announcements concerning Plugins for Cacti

Moderators: Moderators, Developers

Author
Message
optimuscream
Posts: 34
Joined: Mon Jun 13, 2011 11:20 pm

Re: nmidDataExport plugin released

#16 Post by optimuscream » Thu May 28, 2015 8:46 pm

Hi Phalek.

I've made the change ,

But still not work. No difference.

Code: Select all

"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","",""

optimuscream
Posts: 34
Joined: Mon Jun 13, 2011 11:20 pm

Re: nmidDataExport plugin released

#17 Post by optimuscream » Fri May 29, 2015 4:06 am

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.

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

Re: nmidDataExport plugin released

#18 Post by NaT1 » Sat Jul 25, 2015 6:24 am

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: Select all


"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: Select all

"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

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

Re: nmidDataExport plugin released

#19 Post by rovshango » Thu Jul 30, 2015 3:16 am

Hi Guys,

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

Please give solution if you got this fixed.

Thanks

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidDataExport plugin released

#20 Post by phalek » Sun Aug 02, 2015 4:57 am

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 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

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
[/size]

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

Re: nmidDataExport plugin released

#21 Post by rovshango » Tue Aug 11, 2015 12:06 am

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.

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidDataExport plugin released

#22 Post by phalek » Tue Aug 11, 2015 8:37 am

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 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

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
[/size]

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

Re: nmidDataExport plugin released

#23 Post by rovshango » Fri Aug 14, 2015 6:35 am

Well, seems I missed some posts.
Cause I do not have even "csrf" directory.

msantana
Posts: 24
Joined: Mon May 18, 2009 8:33 am

Re: nmidDataExport plugin released

#24 Post by msantana » Wed Mar 30, 2016 12:45 pm

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 4109 times

msantana
Posts: 24
Joined: Mon May 18, 2009 8:33 am

Re: nmidDataExport plugin released

#25 Post by msantana » Wed Mar 30, 2016 3:30 pm

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.

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidDataExport plugin released

#26 Post by phalek » Wed May 04, 2016 6:53 am

Great to hear that. Btw. is threshold plugin = Thold ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

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
[/size]

msantana
Posts: 24
Joined: Mon May 18, 2009 8:33 am

Re: nmidDataExport plugin released

#27 Post by msantana » Wed May 04, 2016 10:50 am

Correct. Regards

torohuang
Posts: 1
Joined: Wed Nov 20, 2013 6:02 am

Re: nmidDataExport plugin released

#28 Post by torohuang » Mon Apr 10, 2017 3:16 am

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?

msantana
Posts: 24
Joined: Mon May 18, 2009 8:33 am

Re: nmidDataExport plugin released

#29 Post by msantana » Sun Jun 04, 2017 8:58 am

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...

Post Reply