Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Try this. If on Linux/UNIX, use the following syntax "unzip -a manage_ajax.zip".

TheWitness
Attachments
manage_ajax.zip
(8.16 KiB) Downloaded 169 times
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 »

Larry - Makes sense. Thanks for the clarification.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

mcutting,

i am sorry to tell you that i don't understand why the snmp poller doesn't work for you

the error is probably in the function exec_background in manage_check.php

first, we have see that the parameters given to the function exec_background are correct.

2nd, we see in a simple php file that the exec function work for calling another php file

if we hardcod the parameters, it works...

can you :
1- delete cacti.log
2- set maximum logs
3- wait for a full cacti cycle
4- send me cacti.log (zippep) at gilles.boulon@free.fr
5- i don't have the result of phpinfo() so give me, it may help

thanks
Attachments
Image1.jpg
Image1.jpg (35.08 KiB) Viewed 3898 times
hramirez
Posts: 8
Joined: Mon Apr 16, 2007 2:39 pm

Post by hramirez »

Hi all,
I just downloaded and installed the .5.1, prior to that I was trying to run the version from SVN. MCutting was helping me on several issues I was having. After not being able to resolve all of them, we decided it would be be best to wait a week or two for new developments.

That's where I am today. I have installed the plugin as per the Install file. When I went to check my tables, here is what I received, as well as another issue when I try to create groups (which may be correlated to the DB issue).

Please let me know what you think :)
Attachments
table_nok.jpg
table_nok.jpg (75.58 KiB) Viewed 3892 times
manage_group_creation2.jpg
manage_group_creation2.jpg (94.55 KiB) Viewed 3892 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Gilles - What are you specifically looking for in the logs ? I am using the Manage poller, and not the Cacti one. I also tried the Manage plugin on a machine that didn't use WAMP, and got the same results.

I am wondering at this point if it's a PHP issue, although safe mode is not switched on - what do you think ?
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 »

hramirez - You need to drop all your tables that start with manage. Also, using the uninstall.sql file, remove manage components from the settings table.

Once you've done this, using the sql files to manually create each table in phpmyadmin. The issue that you have is that the plugin has not auto-created all of the tables.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

mcutting wrote:Gilles - What are you specifically looking for in the logs ?
i don't know... maybe i can see something interesting for me

specificaly lines wich contains references to "win_services.php"

like this, for example :

Code: Select all

05/04/2007 02:37:36 PM - PHPSVR: Poller[0] DEBUG: INC: 'D:\apache2\htdocs\cacti\scripts\win_services.php' FUNC: 'win_services' PARMS: '<ip> <snmp> 2 35 get servstate 1.44.83.101.114.118.105.99.101.32.87.73.78.83.32.40.87.105.110.100.111.119.115.32.73.110.116.101.114.110.101.116.32.78.97.109.101.32.83.101.114.118.105.99'
05/04/2007 02:37:36 PM - CACTID: Poller[0] Host[35] DS[156] SS[0] SERVER: D:\apache2\htdocs\cacti\scripts\win_services.php win_services <ip> <snmp> 2 35 get servstate 1.44.83.101.114.118.105.99.101.32.87.73.78.83.32.40.87.105.110.100.111.119.115.32.73.110.116.101.114.110.101.116.32.78.97.109.101.32.83.101.114.118.105.99, output: 0
05/04/2007 02:37:36 PM - PHPSVR: Poller[0] DEBUG: INC: 'D:\apache2\htdocs\cacti\scripts\win_services.php' FUNC: 'win_services' PARMS: '<ip> <snmp> 2 35 get servstate 1.47.83.101.114.118.105.99.101.32.100.101.32.100.195.169.116.101.99.116.105.111.110.32.100.101.32.83.121.109.97.110.116.101.99.32.83.121.115.116.101.109.3'
05/04/2007 02:37:36 PM - CACTID: Poller[0] Host[35] DS[1153] SS[0] SERVER: D:\apache2\htdocs\cacti\scripts\win_services.php win_services <ip> <snmp> 2 35 get servstate 1.47.83.101.114.118.105.99.101.32.100.101.32.100.195.169.116.101.99.116.105.111.110.32.100.101.32.83.121.109.97.110.116.101.99.32.83.121.115.116.101.109.3, output: 0
services are up but output is "0" because cacti poller only take 155 first caracters of the oid, despite the fact that they are correctly writed in tables data_local and manage_services

the real oid are these :

Code: Select all

1.44.83.101.114.118.105.99.101.32.87.73.78.83.32.40.87.105.110.100.111.119.115.32.73.110.116.101.114.110.101.116.32.78.97.109.101.32.83.101.114.118.105.99.101.41
1.47.83.101.114.118.105.99.101.32.100.101.32.100.195.169.116.101.99.116.105.111.110.32.100.101.32.83.121.109.97.110.116.101.99.32.83.121.115.116.101.109.32.67.101.110.116.101.114
have a look at cacti.log can maybe help me...

i have version 5.0.2 ready but i would like to know why it doesn't work for you
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

Thanks ,TheWitness
It's OK now.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Gilles - I'll post these sections of the logs as shown above, but I know that they all return as 1, and are graphed correctly as well.

I did have to apply the patch from mories to make this work (it wouldn't work without it). The WMI poller seems to work fine. Are you ready to release 0.5.2 ? I wouldn't mind testing for you.
Last edited by mcutting on Sun May 06, 2007 3:29 am, edited 1 time in total.
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 »

Gilles - Could you release the new version ?

Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

I can't select a template in device config page. I have installed TCP and win process template .Where can I set it? thx
Attachments
tem.PNG
tem.PNG (15.81 KiB) Viewed 3784 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Benton2006 - you need to create graphs first before you can see these options - have you done this ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

Now it's ok . I really appreciate your help.
sbala
Posts: 4
Joined: Sun May 06, 2007 10:58 pm
Location: UAE

Email alert not working

Post by sbala »

Hi there,

I cant make the email alert to work. I have below versions:

Manage : v0.5.1
THold : 0.2.9
CentOS release 4.3

Appreciate your help. Thanks in advance
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

sbala - Have you specified email addresses to send alerts to in Manage settings ? Does the email facility work in Thold ?

Can you post the output of a test email send in Thold ? Which PHP version ?
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 0 guests