(topic closed) ZOND plugin v0.32 released (beta)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

cigamit wrote:
streaker69 wrote:I did make an attempt to upgrade to php5 over the weekend, but couldn't figure out how to do it via yum on CentOS.
Enabling the CentOSPlus repo will upgrade you to php5 and mysql5

If you just want PHP5, then do
yum --enablerepo=centosplus update php
Thanks, that's what I couldn't figure out. Appreciate the tip.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

Image

And why zond work only with network trafic graph ?
Memory, CPU, HDD not working.

Script [http://cacti/plugins/zond/zond_process. ... E6ImEiO319] returned incorrect data values count! (0 instead of 1 records)
Last edited by slech on Sat Nov 10, 2007 4:29 pm, edited 1 time in total.
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Post by YoMarK »

First: this is really a great plugin!

I however have the same problem als slech, it only works(great!) on the traffic data sources. Any other data source will not work.

On for example the standard "Host MIB - Hard Drive Space" template i'm getting the following errors in the java console:

Code: Select all

Script [http://srvman/plugins/zond/zond_process.php?s_i_d=d1947a882526a2ab128e59726da7719e&tasks= YTo0OntzOjQxOiIyOTgwOjpoZGRfdG90YWw6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7Y TozOntzOjQ6InR5cGUiO3M6MToiMSI7czo2OiJtZXRob2QiO3M6MToiMiI7czo1OiJxdW VyeSI7czoxNTc6ImVzeHByb2QwMS5kb21tZWwubG9jYWwgcHVibGljIEM6XHdhbXBcd3d3X HNjcmlwdHNcc3NfaG9zdF9kaXNrLnBocCBzc19ob3N0X2Rpc2sgZXN4cHJvZDAxLmRvbW1lbC5sb2NhbCAxMjIgMToxNjE6MTAwMDpwdWJsaWM6O jo6OjogZ2V0IHRvdGFsIDEwMSAxIHY9MSB0PTEwMDAiO31zOjQwOiIyOTgxOjpoZGRfdXNlZDo6ZXN4cHJvZDAxX2hkZF90b3RhbF8xMDA0IjthOjM6e3M6N DoidHlwZSI7czoxOiIxIjtzOjY6Im1ldGhvZCI7czoxOiIyIjtzOjU6InF1ZXJ5IjtzOjE1NjoiZXN4cHJvZDAxLmRvbW1lbC 5sb2NhbCBwdWJsaWMgQzpcd2FtcFx3d3dcc2NyaXB0c1xzc19ob3N0X2Rpc2sucGhwIHNzX2hvc3RfZGlzayBlc3hwcm9kMD EuZG9tbWVsLmxvY2FsIDEyMiAxOjE2MToxMDAwOnB1YmxpYzo6Ojo6OiBnZXQgdXNlZCAxMDEgMSB2PTEgdD0xMDAwIjt9czo1OiJQUklOVCI7YT oyOntpOjA7czoxOiJhIjtpOjE7czoxOiJiIjt9czozOiJNQVAiO2E6Mjp7czo0MToiMjk4MDo6aGRkX3RvdGFsOjplc3hw cm9kMDFfaGRkX3RvdGFsXzEwMDQiO3M6MToiYSI7czo0MDoiMjk4MTo6aGRkX3VzZWQ6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7czox OiJiIjt9fQ..] returned incorrect data values count! (0 instead of 2 records)

Script [http://srvman/plugins/zond/zond_process.php?s_i_d=d1947a882526a2ab128e59726da7719e&tasks= YTo0OntzOjQxOiIyOTgwOjpoZGRfdG90YWw6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7Y TozOntzOjQ6InR5cGUiO3M6MToiMSI7czo2OiJtZXRob2QiO3M6MToiMiI7czo1OiJxdW VyeSI7czoxNTc6ImVzeHByb2QwMS5kb21tZWwubG9jYWwgcHVibGljIEM6XHdhbXBcd3d3X HNjcmlwdHNcc3NfaG9zdF9kaXNrLnBocCBzc19ob3N0X2Rpc2sgZXN4cHJvZDAxLmRvbW1lbC5sb2NhbCAxMjIgMToxNjE6MTAwMDpwdWJsaWM6Ojo6O jogZ2V0IHRvdGFsIDEwMSAxIHY9MSB0PTEwMDAiO31zOjQwOiIyOTgxOjpoZGRfdXNlZDo6ZXN4cHJvZDAxX2hkZF90b3RhbF8xMDA0IjthOjM6e3M6N DoidHlwZSI7czoxOiIxIjtzOjY6Im1ldGhvZCI7czoxOiIyIjtzOjU6InF1ZXJ5IjtzOjE1NjoiZXN4cHJvZDAxLmRvbW1lbC 5sb2NhbCBwdWJsaWMgQzpcd2FtcFx3d3dcc2NyaXB0c1xzc19ob3N0X2Rpc2sucGhwIHNzX2hvc3RfZGlzayBlc3hwcm9kMD EuZG9tbWVsLmxvY2FsIDEyMiAxOjE2MToxMDAwOnB1YmxpYzo6Ojo6OiBnZXQgdXNlZCAxMDEgMSB2PTEgdD0xMDAwIjt9czo1OiJQUklOVCI7YT oyOntpOjA7czoxOiJhIjtpOjE7czoxOiJiIjt9czozOiJNQVAiO2E6Mjp7czo0MToiMjk4MDo6aGRkX3RvdGFsOjplc3hw cm9kMDFfaGRkX3RvdGFsXzEwMDQiO3M6MToiYSI7czo0MDoiMjk4MTo6aGRkX3VzZWQ6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7czox OiJiIjt9fQ..] returned incorrect data values count! (0 instead of 2 records)

Script [http://srvman/plugins/zond/zond_process.php?s_i_d=d1947a882526a2ab128e59726da7719e&tasks= YTo0OntzOjQxOiIyOTgwOjpoZGRfdG90YWw6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7Y TozOntzOjQ6InR5cGUiO3M6MToiMSI7czo2OiJtZXRob2QiO3M6MToiMiI7czo1OiJxdW VyeSI7czoxNTc6ImVzeHByb2QwMS5kb21tZWwubG9jYWwgcHVibGljIEM6XHdhbXBcd3d3X HNjcmlwdHNcc3NfaG9zdF9kaXNrLnBocCBzc19ob3N0X2Rpc2sgZXN4cHJvZDAxLmRvbW1lbC5sb2NhbCAxMjIgMToxNjE6MTAwMDpwdWJsaWM6Ojo6O jogZ2V0IHRvdGFsIDEwMSAxIHY9MSB0PTEwMDAiO31zOjQwOiIyOTgxOjpoZGRfdXNlZDo6ZXN4cHJvZDAxX2hkZF90b3RhbF8xMDA0IjthOjM6e3M6N DoidHlwZSI7czoxOiIxIjtzOjY6Im1ldGhvZCI7czoxOiIyIjtzOjU6InF1ZXJ5IjtzOjE1NjoiZXN4cHJvZDAxLmRvbW1lbC 5sb2NhbCBwdWJsaWMgQzpcd2FtcFx3d3dcc2NyaXB0c1xzc19ob3N0X2Rpc2sucGhwIHNzX2hvc3RfZGlzayBlc3hwcm9kMD EuZG9tbWVsLmxvY2FsIDEyMiAxOjE2MToxMDAwOnB1YmxpYzo6Ojo6OiBnZXQgdXNlZCAxMDEgMSB2PTEgdD0xMDAwIjt9czo1OiJQUklOVCI7YT oyOntpOjA7czoxOiJhIjtpOjE7czoxOiJiIjt9czozOiJNQVAiO2E6Mjp7czo0MToiMjk4MDo6aGRkX3RvdGFsOjplc3hw cm9kMDFfaGRkX3RvdGFsXzEwMDQiO3M6MToiYSI7czo0MDoiMjk4MTo6aGRkX3VzZWQ6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7czox OiJiIjt9fQ..] returned incorrect data values count! (0 instead of 2 records)
(Edit: put a few spaces in the above large 'tasks' variable, for forum layout)
I'm using cacti 0.8.7, on Windows 2003.

It seems it's getting no correct value for the data, but is detects 2 records and that's correct for the "Host MIB - Hard Drive Space" template. This number of values(Data Source Item) detection is also correct for other data sources. But it seems dat it can't get values from the Data Source Items.
(except for the Interface - Traffic template)

Any idea how to solve this(or work arround it).

Thanks!
Marcelo
Posts: 48
Joined: Tue May 02, 2006 4:46 pm

Post by Marcelo »

Y have Zond working fine with many graphs...but someones fail.
Cacti 0.8.7a and Zond 0.33.

Code: Select all

Notice: Undefined index: plot_type in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 333

Notice: Undefined index: color in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 341

Notice: Undefined index: color in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 342

Notice: Undefined index: plot_type in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 369

Notice: Undefined index: title in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 375

Notice: Undefined index: plot_type in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 381

Notice: Undefined index: title in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 385

Notice: Undefined index: plot_type in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 333

Notice: Undefined index: color in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 341

Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in /usr/local/www/data-dist/seldon/plugins/zond/zond_functions.php on line 57

Notice: Undefined index: in /usr/local/www/data-dist/seldon/plugins/zond/zond_functions.php on line 58

Notice: Undefined index: color in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 342

Notice: Undefined index: plot_type in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 369

Notice: Undefined index: title in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 375

Notice: Undefined index: plot_type in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 381

Notice: Undefined index: title in /usr/local/www/data-dist/seldon/plugins/zond/zond_init.php on line 385
User avatar
adrianmarsh
Cacti User
Posts: 437
Joined: Wed Aug 17, 2005 8:51 am
Location: UK

Post by adrianmarsh »

Anyone else have the Update plugin telling them theres a Zone update available?

I have the latest on the first posting (0.33 beta).

Also, small bug I seem to of found:

- I have Zond "disabled" for the guest user account... but the icon still appears and Guest users can still try and run it. Can anyone else verify ?
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

I am having the same problem with the Update plugin telling me that an update is available, but i have the supposed most recent version (0.33). I am not sure why this is happening, but I have just ignored it since i started getting the message a couple of weeks back. One thing i did notice is in the setup.php that i have, it still said it was version 0.32, so i updated it to read 0.33, and i haven't noticed any changes. The same thing is happening with the RRDClean plugin, as well as the Syslog plugin from the SVN.

I can't tell you about the problem with the guest user, since i don't have a guest user defined on my system.

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

I just re-read a post from Gandolf about this problem and the RRDClean plugin. Apparently something got corrupted in the Plugin Update table. I deleted the lines for the plugins that i was having problems with, and then they re-appeared with the correct info.

I hope that helps.

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
User avatar
exploit-soget
Posts: 40
Joined: Tue Jan 23, 2007 5:31 am

Post by exploit-soget »

I have the same problem. It seems to be an incorrect version number in the file setup.php under zond directory. Version was noticed 0.32 but it was 0.33.
Maybe it works if you change this version number information.
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Post by johnrembo »

slech wrote:Image

And why zond work only with network trafic graph ?
Memory, CPU, HDD not working.

Script [http://cacti/plugins/zond/zond_process. ... E6ImEiO319] returned incorrect data values count! (0 instead of 1 records)
an old version of zond java applet is buggy enough. New version is allmost finished. It will be uploaded as part of new zond-plugin.

patience
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Post by johnrembo »

YoMarK wrote:First: this is really a great plugin!

I however have the same problem als slech, it only works(great!) on the traffic data sources. Any other data source will not work.

On for example the standard "Host MIB - Hard Drive Space" template i'm getting the following errors in the java console:

Code: Select all

Script [http://srvman/plugins/zond/zond_process.php?s_i_d=d1947a882526a2ab128e59726da7719e&tasks= YTo0OntzOjQxOiIyOTgwOjpoZGRfdG90YWw6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7Y TozOntzOjQ6InR5cGUiO3M6MToiMSI7czo2OiJtZXRob2QiO3M6MToiMiI7czo1OiJxdW VyeSI7czoxNTc6ImVzeHByb2QwMS5kb21tZWwubG9jYWwgcHVibGljIEM6XHdhbXBcd3d3X HNjcmlwdHNcc3NfaG9zdF9kaXNrLnBocCBzc19ob3N0X2Rpc2sgZXN4cHJvZDAxLmRvbW1lbC5sb2NhbCAxMjIgMToxNjE6MTAwMDpwdWJsaWM6O jo6OjogZ2V0IHRvdGFsIDEwMSAxIHY9MSB0PTEwMDAiO31zOjQwOiIyOTgxOjpoZGRfdXNlZDo6ZXN4cHJvZDAxX2hkZF90b3RhbF8xMDA0IjthOjM6e3M6N o6aGRkX3VzZWQ6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7czox OiJiIjt9fQ..] returned incorrect data values count! (0 instead of 2 records)
(...)
xOiIxIjtzOjY6Im1ldGhvZCI7czoxOiIyIjtzOjU6InF1ZXJ5IjtzOjE1NjoiZXN4cHJvZDAxLmRvbW1lbC 5sb2NhbCBwdWJsaWMgQzpcd2FtcFx3d3dcc2NyaXB0c1xzc19ob3N0X2Rpc2sucGhwIHNzX2hvc3RfZGlzayBlc3hwcm9kMD EuZG9tbWVsLmxvY2FsIDEyMiAxOjE2MToxMDAwOnB1YmxpYzo6Ojo6OiBnZXQgdXNlZCAxMDEgMSB2PTEgdD0xMDAwIjt9czo1OiJQUklOVCI7YT oyOntpOjA7czoxOiJhIjtpOjE7czoxOiJiIjt9czozOiJNQVAiO2E6Mjp7czo0MToiMjk4MDo6aGRkX3RvdGFsOjplc3hw cm9kMDFfaGRkX3RvdGFsXzEwMDQiO3M6MToiYSI7czo0MDoiMjk4MTo6aGRkX3VzZWQ6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7czox OiJiIjt9fQ..] returned incorrect data values count! (0 instead of 2 records)
(Edit: put a few spaces in the above large 'tasks' variable, for forum layout)
I'm using cacti 0.8.7, on Windows 2003.

It seems it's getting no correct value for the data, but is detects 2 records and that's correct for the "Host MIB - Hard Drive Space" template. This number of values(Data Source Item) detection is also correct for other data sources. But it seems dat it can't get values from the Data Source Items.
(except for the Interface - Traffic template)

Any idea how to solve this(or work arround it).

Thanks!
can you manualy check if two digit groups are returned by the script? Simply copy and paste url to your browser (zond should be running in the separate window, otherwise permission issues may occur)

http://srvman/plugins/zond/zond_process ... 19e&tasks= YTo0OntzOjQxOiIyOTgwOjpoZGRfdG90YWw6OmVzeHByb2QwMV9oZGRfdG90YWxfMTAwNCI7Y TozOntzOjQ6InR5cGUiO3M6MToiMSI7czo2OiJtZXRob2QiO3M6MToiMiI7czo1OiJxdW VyeSI7czoxNTc6ImVzeHByb2QwMS5kb21tZWwubG9jYWwgcHVibGljIEM6XHdhbXBcd3d3X HNjcmlwdHNcc3NfaG9zdF9...
it should display something like
21235423215 2354865453
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

zond don't work with graph opacity template in Cacti 0.8.7a

Image

Image
[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]
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

Hi,

Getting this error also on my graphs. None of them really are willing to work
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Post by johnrembo »

slech wrote:zond don't work with graph opacity template in Cacti 0.8.7a

Image

Image
Finaly I understood where from those strange RGB color values came from! :]

will fix it asap.
User avatar
exploit-soget
Posts: 40
Joined: Tue Jan 23, 2007 5:31 am

Post by exploit-soget »

Hi,

I have two little problems with this great plugins:

1st, my bottom legend is not ok.
2nd, concerning the plugin update, it says there is an update but i have the last version (0.33) and it wrote 0.32. What's the problem ????

Thanks for all your help !
Attachments
Load average.JPG
Load average.JPG (78.03 KiB) Viewed 6715 times
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Post by johnrembo »

All,

i confirm above errors are really present in zond-plugin. Currently 90% of them are fixed but some requires additional testing. I am going to fix them by the end of this week.

need code for food first
:wink:
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests