General discussion about Plugins for Cacti
Moderators: Moderators, Developers
-
johnrembo
- Cacti User
- Posts: 216
- Joined: Mon Apr 24, 2006 3:33 am
#1
Post
by johnrembo » Tue Jun 19, 2007 7:37 am
Everybody,
this topic should be ignored, because new release is anounced at
http://forums.cacti.net/viewtopic.php?t=24934
one more version of ZOND plug-in (with lot of internal changes).
This plug-in allows you to see real-time (live) charts with refresh interval of several seconds and less.
requirements:
java virtual machine compatible browser (tested with Internet Explorer 6/7,FireFox 1.5,2.0)
java runtime (1.5, 1.6)
http://www.java.com/en/
some screenshots (note time scale - minutes:seconds) :
Install it like any toher plug-in. Don't forget to enable "ZOND button next to charts" for your user (or guest) under "User Management" as displayed in 3rd screenshot.
It should work with cacti 0.8.7 now.
I am looking forward for your collaboration in catching-out all the bugs.
Please also share your suggestions on this thing - what features you find annoying, what other functionalities you'd like to see etc...[/url]
-
Attachments
-
- zond_v033.tar.gz
- ZOND plug-in v0.33 tar gzip archive
(cacti 0.8.7 compatible, experimental templates) - (213.84 KiB) Downloaded 1003 times
-
- zond_v0.32.tar.gz
- ZOND plug-in v0.32 beta tar gzip archive
- (30.36 KiB) Downloaded 615 times
-
- zond_v0.32.zip
- ZOND plug-in v0.32 beta zip archive
- (33.98 KiB) Downloaded 553 times
-
- zond_v031.zip
- ZOND plug-in v0.31 beta zip archive
- (29.78 KiB) Downloaded 438 times
-
- zond_v031.tar.gz
- ZOND plug-in v0.31 beta tar gzip archive
- (27.18 KiB) Downloaded 528 times
Last edited by
johnrembo on Fri Dec 21, 2007 3:46 am, edited 17 times in total.
-
Mika2006
- Cacti User
- Posts: 165
- Joined: Thu May 03, 2007 2:25 am
#2
Post
by Mika2006 » Tue Jun 19, 2007 8:03 am
it's so good but he is no free it cost 40 $

|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
-
cacti_owner
- Posts: 5
- Joined: Mon Jun 04, 2007 7:20 am
#3
Post
by cacti_owner » Tue Jun 19, 2007 9:56 am
Mika2006 wrote:
it's so good but he is no free it cost 40 $

this thing should soon be free for non-commercial use or maybe free at all...currently thre are not restrictions and licences in the supplied package, so you have nothing to worry about...
-
Mika2006
- Cacti User
- Posts: 165
- Joined: Thu May 03, 2007 2:25 am
#4
Post
by Mika2006 » Tue Jun 19, 2007 11:35 am
Yo thats work so good
i love it
but one question the graph he is on database or not?
j'ai du mal en anglais en fais je voulais savoir si ce qu'on vois ce grapher a chaque seconde
est il stocker dnas la base mysql??
and he is work with only ping graph and traffic graph?
and for nooobi like me how to install:
# cd /var/www/html/cacti/plugins/
# wget
http://xxxx/cacti/plugin/zond.tar.gz
# tar xvfz zond.tar.gz
# cd ..
# chown 1000:users -R zond
# nano /var/www/html/cacti/include/config.php
looking for line
$plugins = 'thold';
and add :
$plugins [] = 'zond';
well now y ou can see the new icon on cacti graph
very very good
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
-
Mika2006
- Cacti User
- Posts: 165
- Joined: Thu May 03, 2007 2:25 am
#5
Post
by Mika2006 » Tue Jun 19, 2007 2:00 pm
wel i have some probleme
like this :
your project has so good i hope i can help
-
Attachments
-

- Whit all other graph i hava blank graph
[quote]
Exception in thread "AWT-EventQueue-2" java.lang.NumberFormatException: For input string: "Content-type: text/html"
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at - cacti02.JPG (160.66 KiB) Viewed 26492 times
-

- Well
and the ping work - cacti01.JPG (166.78 KiB) Viewed 26492 times
-

- No traffic works?
- cacti00.JPG (162.21 KiB) Viewed 26496 times
Last edited by
Mika2006 on Thu Jun 21, 2007 2:02 pm, edited 1 time in total.
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
-
hgd26
- Posts: 25
- Joined: Fri Oct 06, 2006 5:36 am
#6
Post
by hgd26 » Wed Jun 20, 2007 7:43 am
I have a problem with java:
Code: Select all
Java Plug-in 1.5.0_11
Using JRE version 1.5.0_11 Java HotSpot(TM) Client VM
User home directory = /home/hgd
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
help?
-
Mika2006
- Cacti User
- Posts: 165
- Joined: Thu May 03, 2007 2:25 am
#7
Post
by Mika2006 » Wed Jun 20, 2007 8:46 am
well i try it with java 1.6 client and he works
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
-
hgd26
- Posts: 25
- Joined: Fri Oct 06, 2006 5:36 am
#8
Post
by hgd26 » Wed Jun 20, 2007 10:14 am
for del
-
johnrembo
- Cacti User
- Posts: 216
- Joined: Mon Apr 24, 2006 3:33 am
#9
Post
by johnrembo » Wed Jun 20, 2007 1:22 pm
Mika2006 wrote:wel i have some probleme
like this :
your project has so good i hope i can help
I have some questions.
1. On the first image (ping latency) I don't see a legend on the bottom of the chart. Did this happen immediately after the installation or after you have made some changes in the zond settings.
2. On the second image I would like to see "java console" output. After the blank window appears - go to you browsers "Tools -> Java console" and simply use copy button. Paste the result here (should look similar as in the "hgd26" post below).
3. I allready know about the problem visible in the last image. It is kind of debugging. I will remove this soon.
thank you
-
johnrembo
- Cacti User
- Posts: 216
- Joined: Mon Apr 24, 2006 3:33 am
#10
Post
by johnrembo » Wed Jun 20, 2007 1:24 pm
hgd26 wrote:for del
yup, an applet was compiled with 1.6 - that caused your error. I will recompile it to support java 1.5 vrm.
-
eternal
- Cacti User
- Posts: 68
- Joined: Thu Dec 14, 2006 4:38 pm
- Location: Kingsport TN
-
Contact:
#11
Post
by eternal » Wed Jun 20, 2007 3:07 pm
using php4
PHP Fatal error: Call to undefined function: snmp2_get() in /var/www/html/plugins/zond/snmp.php on line 32
-
zorrosam
- Cacti User
- Posts: 244
- Joined: Thu May 03, 2007 3:17 pm
- Location: Italy
#12
Post
by zorrosam » Thu Jun 21, 2007 3:25 am
very very useful!
good job for the community!
sam
-
Mika2006
- Cacti User
- Posts: 165
- Joined: Thu May 03, 2007 2:25 am
#13
Post
by Mika2006 » Thu Jun 21, 2007 2:05 pm
johnrembo wrote:
I have some questions.
1. On the first image (ping latency) I don't see a legend on the bottom of the chart. Did this happen immediately after the installation or after you have made some changes in the zond settings.
well
no change i have install the plugin zond and use it and i have this graph
johnrembo wrote:
2. On the second image I would like to see "java console" output. After the blank window appears - go to you browsers "Tools -> Java console" and simply use copy button. Paste the result here (should look similar as in the "hgd26" post below).
See next message please
Last edited by
Mika2006 on Thu Jun 21, 2007 2:10 pm, edited 1 time in total.
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
-
Mika2006
- Cacti User
- Posts: 165
- Joined: Thu May 03, 2007 2:25 am
#14
Post
by Mika2006 » Thu Jun 21, 2007 2:09 pm
sorry for double post but the forum have problem
Code: Select all
Exception in thread "AWT-EventQueue-7"
java.lang.NumberFormatException: For input string: "Content-type: text/html"
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Double.parseDouble(Unknown Source)
at netzond.a(Unknown Source)
at netzond.paint(Unknown Source)
at netzond.update(Unknown Source)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
-
johnrembo
- Cacti User
- Posts: 216
- Joined: Mon Apr 24, 2006 3:33 am
#15
Post
by johnrembo » Fri Jun 22, 2007 3:58 am
eternal wrote:using php4
PHP Fatal error: Call to undefined function: snmp2_get() in /var/www/html/plugins/zond/snmp.php on line 32
it should work now.
I say "should", because I have no php4 installation to test on.
try latest version.