Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Thanks Larry - what about the selections - are these working ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Larry -

All seems to work well. I'm still using the PERL poller, which seems to work ok, but the SNMP one has never worked properly on this revision.

I still don't see any entries in the drop down lists within the DEVICES view as shown (only for SELECT A SITE, and the dro-down next to it)

When these drop down lists are clicked, they are all empty. The version before the one with all your changes seems to work ?

THanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok,

Well I'll get to it maybe during the week. The code should be a bit more readable but not completely fixed yet.

Larry
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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Thanks Larry.

Functionality is also good - no problems here.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Where can I download it? site http://gilles.boulon.free.fr/manage/manage-0.4.1.zip doesn't work, Help me! :o
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

I really appreciate if someone send me a copy of the latest version of manage plugin, My email address is ca.rrison@163.com, Thanks a lot. :wink:
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to obtain using SVN. Hear is a good address. If using Windows, use Tortoise SVN.

svn://cvs.cacti.net/var/svnroot/cacti_plugins

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?
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Thanks, TheWitness, Hope it appears in next cacti release :)
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Hi Larry,

Cosmetically, the changes are great. However, I have found a small problem. When using your newer version, the selected site and group name seems to default to a particular site (in my case, it's one in the middle east !). I changed this to the correct site and group, but when I go back into the device, it has reverted back to what it was before.

Also, the poller doesn't seem to work properly anymore with the new version. I recall you mentioning that you were going to look at this at a later date, but is there any reason you can think of as to why this would stop working ? I expect it's because you've changed a lot of the code ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have not changed the polling backend. As far at the whole Group/Site model and how it works, you and I have to do a GotoMeeting when I get back into town so that I can understand how it's supposed to work :)

Then we can do some serious fix/redesign. I am in San Jose till the end of the week.

Larry
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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Ok - PM me when you have some time, and we'll set something up.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
cpt_ahab
Cacti User
Posts: 61
Joined: Tue Feb 01, 2005 11:34 am

Post by cpt_ahab »

Hello

First Thanks for this great plugin.
I installed it and everything seems to work great.
Alerting works. UP/DOWN works.
There are only some Errors in my cacti log.

Code: Select all

 04/18/2007 09:06:37 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete FROM `manage_process` where id='61' and LOWER(name) not in (SELECT LOWER(value) FROM data_template_data,data_local,data_input_data,snmp_query WHERE data_local.id=data_template_data.local_data_id and data_local.host_id='61' and data_input_data.data_template_data_id=data_template_data.id and snmp_query.id=data_input_data.data_input_field_id and snmp_query.name='SNMP - Running Processes')"
04/18/2007 09:06:37 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete FROM `manage_process` where id='80' and LOWER(name) not in (SELECT LOWER(value) FROM data_template_data,data_local,data_input_data,snmp_query WHERE data_local.id=data_template_data.local_data_id and data_local.host_id='80' and data_input_data.data_template_data_id=data_template_data.id and snmp_query.id=data_input_data.data_input_field_id and snmp_query.name='SNMP - Running Processes')"
04/18/2007 09:06:37 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete FROM `manage_services` where id='61' and oid not in (select data_local.snmp_index from data_input_data, data_template_data, data_local, data_template where data_input_data.data_input_field_id=(SELECT distinct(data_input_fields.id) FROM data_input, data_input_fields where data_input.type_id = 6 and data_input_fields.data_input_id=data_input.id and data_input_fields.name='Index Value') and data_input_data.data_template_data_id=data_template_data.id and data_template_data.local_data_id=data_local.id and data_template_data.data_template_id=data_template.id and data_template.name='Win Services' and data_local.host_id=61)"
04/18/2007 09:06:36 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete FROM `manage_process` where id='77' and LOWER(name) not in (SELECT LOWER(value) FROM data_template_data,data_local,data_input_data,snmp_query WHERE data_local.id=data_template_data.local_data_id and data_local.host_id='77' and
I am sure these errors have something todo with the services and processes,
because the tables they want to delete things in are emtpy.

And i get this error in the device tab of the mangage plugin.
There where services should be.

Code: Select all

 	
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/cacti2/plugins/manage/list.php on line 967
And if i klick on a host in the manage plugin.
The graphs are shown in preview mode.
The strange thing is that if i klick on normal graphs afterwards.
The tree-mode is gone and all graphs are shown in previewmode until i log out and log in again.

strange.

greez ahab
cacti 0.8.6j ** cactid 0.8.6d ** rrdtool 1.2.15
Debain ** Apache 2 ** PHP 4.3.0
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Sounds like you are some tables missing. Can you click manage then settings, and the click the debug link. This will give you a list of tables - post the output here.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
cpt_ahab
Cacti User
Posts: 61
Joined: Tue Feb 01, 2005 11:34 am

Post by cpt_ahab »

Hmm did not found the debug link.
i looked in myadmin. here is what i found in db cacti

Code: Select all

 cacti  
Anzeigen: (27 Zeilen)  cdef
Anzeigen: (41 Zeilen)  cdef_items
Anzeigen: (107 Zeilen)  colors
Anzeigen: (14 Zeilen)  data_input
Anzeigen: (1645 Zeilen)  data_input_data
Anzeigen: (47 Zeilen)  data_input_fields
Anzeigen: (184 Zeilen)  data_local
Anzeigen: (52 Zeilen)  data_template
Anzeigen: (236 Zeilen)  data_template_data
Anzeigen: (944 Zeilen)  data_template_data_rra
Anzeigen: (513 Zeilen)  data_template_rrd
Anzeigen: Creates a relationship for each item in a custom graph. (180 Zeilen)  graph_local
Anzeigen: Stores the names for graph item input groups. (131 Zeilen)  graph_template_input
Anzeigen: Stores the relationship for what graph iitems are associated (462 Zeilen)  graph_template_input_defs
Anzeigen: Contains each graph template name. (50 Zeilen)  graph_templates
Anzeigen: (5 Zeilen)  graph_templates_gprint
Anzeigen: Stores the actual graph data. (230 Zeilen)  graph_templates_graph
Anzeigen: Stores the actual graph item data. (2447 Zeilen)  graph_templates_item
Anzeigen: (3 Zeilen)  graph_tree
Anzeigen: (94 Zeilen)  graph_tree_items
Anzeigen: (74 Zeilen)  host
Anzeigen: (126 Zeilen)  host_graph
Anzeigen: (25271 Zeilen)  host_snmp_cache
Anzeigen: (74 Zeilen)  host_snmp_query
Anzeigen: (9 Zeilen)  host_template
Anzeigen: (24 Zeilen)  host_template_graph
Anzeigen: (15 Zeilen)  host_template_snmp_query
Anzeigen: (136 Zeilen)  manage_alerts
Anzeigen: (9 Zeilen)  manage_device_type
Anzeigen: (2 Zeilen)  manage_groups
Anzeigen: (22 Zeilen)  manage_host
Anzeigen: (22 Zeilen)  manage_host_services
Anzeigen: (0 Zeilen)  manage_method
Anzeigen: (0 Zeilen)  manage_process
Anzeigen: (0 Zeilen)  manage_services
Anzeigen: (6 Zeilen)  manage_templates
Anzeigen: (0 Zeilen)  poller
Anzeigen: (0 Zeilen)  poller_command
Anzeigen: (350 Zeilen)  poller_item
Anzeigen: (2392 Zeilen)  poller_output
Anzeigen: (74 Zeilen)  poller_reindex
Anzeigen: (1 Zeilen)  poller_time
Anzeigen: (4 Zeilen)  rra
Anzeigen: (16 Zeilen)  rra_cf
Anzeigen: (128 Zeilen)  settings
Anzeigen: (81 Zeilen)  settings_graphs
Anzeigen: (0 Zeilen)  settings_tree
Anzeigen: (10 Zeilen)  snmp_query
Anzeigen: (29 Zeilen)  snmp_query_graph
Anzeigen: (78 Zeilen)  snmp_query_graph_rrd
Anzeigen: (78 Zeilen)  snmp_query_graph_rrd_sv
Anzeigen: (60 Zeilen)  snmp_query_graph_sv
Anzeigen: (1 Zeilen)  thold_data
Anzeigen: Table of thresholds defaults for graphs (0 Zeilen)  thold_template
Anzeigen: (4 Zeilen)  user_auth
Anzeigen: (7 Zeilen)  user_auth_perms
Anzeigen: (44 Zeilen)  user_auth_realm
Anzeigen: (85 Zeilen)  user_log
Anzeigen: (1 Zeilen)  version
Anzeigen: (1 Zeilen)  weathermap_auth
Anzeigen: (1 Zeilen)  
cacti 0.8.6j ** cactid 0.8.6d ** rrdtool 1.2.15
Debain ** Apache 2 ** PHP 4.3.0
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

That's odd.

1. Click the MANAGE tab in your CACTI
2. Scroll to the bottom of the screen, and click the SETTINGS link

You should see something along the lines of the below.

Just looking at the output you have already posted, it looks like you are running v4 - is this correct ?

Let me know how you get on
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests