|
|
| Author |
Message |
MagicOneXXX
Joined: 19 Dec 2006 Posts: 49
|
Posted: Fri Apr 25, 2008 10:48 am Post subject: found issue |
|
|
| I found out why nothing was coming up under the plugin installations: I had unzipped the manage 0.6 folder into the plugins directory, then copied over the files into the manage/ folder. Having the manage-0.6/ folder under plugins was causing conflicts. Removing that folder solved the problem.
|
|
| Back to top |
|
 |
chimpooooo
Joined: 09 Mar 2008 Posts: 34
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Mon Apr 28, 2008 3:19 am Post subject: |
|
|
chimpooooo, it's weird
normally,
| Code: | | db_execute("INSERT INTO manage_sites ( id , name ) VALUES ('', '" . $_GET['name'] . "')"); |
should work
what is your cacti setup (os, mysql, php version...) ?
in manage_sites.php, try replacing the above code, near line 32 by this :
| Code: | | db_execute("INSERT INTO manage_sites ( id , name ) VALUES (NULL, '" . $_GET['name'] . "')"); |
but if it works, i'm afraid you need to modify other files and replace '' by NULL for each INSERT command
i can modify my code to handle this but you are the only one that report this error
EDIT : can you post your my.ini file ?
it seems maybe your mysql server is in strict mode
|
|
| Back to top |
|
 |
chimpooooo
Joined: 09 Mar 2008 Posts: 34
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Mon Apr 28, 2008 1:26 pm Post subject: |
|
|
i think you're in strict mode
in my.ini, try put a # at start of line
| Code: | | sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" |
restart mysql and apache/iis
|
|
| Back to top |
|
 |
chimpooooo
Joined: 09 Mar 2008 Posts: 34
|
Posted: Mon Apr 28, 2008 7:26 pm Post subject: |
|
|
bulls eye gilles
That was it!!! Thanks for your patience and all your help!!
How come it wont let me manage "Data sources" ? Is there any other way i can monitor interface status..
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 978
|
Posted: Tue Apr 29, 2008 1:30 am Post subject: |
|
|
Gilles - Could you provide an explanation of the new reporting function in Manage 0.6 ? Does this mean that there is a seperate reporting facility to what is already included in terms of alert logging ?
Thanks
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Tue Apr 29, 2008 3:40 am Post subject: |
|
|
reporting is something which have been added between 2 betas
it can send you/others a daily report for all events
this is a report from the last 24h
(i didnt had time for week or month report)
let's say you have a test1.rpt file in cacti\plugins\manage\reports\daily :
| Code: | 1,2,3,4,5
22:10
1
161,103 |
the report will be sent each day of the week (not week-end), at 22h10
third line is the cacti user id (1 is admin in my cacti installation) but you can put an email address
fourth line is cacti device id you want a report (0 means all devices)
this is the message you will receive :
| Code: | Daily Report from 2008/04/08 22:10 to 2008/04/09 22:10
Total events : 50 (DOWN events : 25, UP events : 25)
Events by hour :
Hours Total
00 19 <- this means event from 00h01 to 00h59
04 14
08 11
09 3 <- this means event from 09h01 to 09h59
23 3
Events by host :
172.22.0.85 (Server XXXXX) : 40 events (DOWN events : 20, UP events : 20)
127.0.0.1 (Server YYYYYYY) : 10 events (DOWN events : 5, UP events : 5) |
|
|
| Back to top |
|
 |
carloscesario
Joined: 13 Mar 2008 Posts: 4
|
Posted: Wed Apr 30, 2008 2:31 pm Post subject: Monitor Ports |
|
|
Hi guys,
I'm testing manage 0.6 with PA 2.1 and cacti-0.8.7b.
I get status from hosts... UP/DOWN and uptime, but I dont get "status from ports" ... eg.. 80, 25..
I need make one "special" config ? If I select ports in "combo box", when I save the "device" options when I back to this device.... the ports is selected as "none".
thanks
Carlos
|
|
| Back to top |
|
 |
cooldude919
Joined: 16 May 2007 Posts: 11
|
Posted: Wed May 07, 2008 11:01 am Post subject: |
|
|
I am running .6 on a install of cactiez with an imported database from a windows install which i believe had manage .50 on it.
Everything is working, but when i enable manage my server load increase a lot, at least 2x or more. Is this normal? I have the poller set to cacti poller and the performance to 'Poller_output'. When i changed it to manage poller my load jumped up even higher, though it says the manage poller should be "faster".
After the normal polling session mysql seems to run for a good amount of time doing whatever "manage stuff". I checked to see what it was, and heres an example below.
51889, 'cactiuser', 'localhost', 'cacti', 'Query', 0, 'Sending data', 'SELECT * FROM data_input_data, data_template_data, data_template, data_local WHERE data_template.name like '%Running Process Info%' and data_input_data.data_input_field_id='13' and data_template_data.id=data_input_data.data_template_data_id and data_template.id=data_template_data.data_template_id AND data_local.id=data_template_data.local_data_id and data_local.host_id='2401''
56397, 'cactiuser', 'localhost', 'cacti', 'Query', 0, 'Sending data', 'SELECT * FROM data_input_data, data_template_data, data_template, data_local WHERE data_template.name like '%Running Process Info%' and data_input_data.data_input_field_id='13' and data_template_data.id=data_input_data.data_template_data_id and data_template.id=data_template_data.data_template_id AND data_local.id=data_template_data.local_data_id and data_local.host_id='461''
The host id keeps changing of course, so im guessing its doing this for each host. Is this normal? Please let me know if you need anymore info.
Thanks
|
|
| Back to top |
|
 |
joez
Joined: 11 Feb 2008 Posts: 34
|
Posted: Mon May 19, 2008 8:05 am Post subject: |
|
|
Ok, I have read tru the whole thread. But still there are a few things I dont understand.
First of all, WHAT IS THE MANAGE PLUGIN DOING EXACTLY? It is said to check services on hosts. As to my understanding, "checking services" is a whole bunch more than just pinging hosts on different ports. Wouldnt a real service check involve something like doing a http request on a web server to see if the answer is valid? Or something like sending a helo to a smtp server? Just pining ports is kinda half-assing...
Second, I installed the plugin and everything but I cant put a TCP template on a host. I select the template, click save, it tells me "Save sucessful" but the dropdownbox again shows "none".
I am using 0.6.
Thanks
|
|
| Back to top |
|
 |
blugger
Joined: 07 May 2008 Posts: 28
|
Posted: Thu May 22, 2008 6:30 am Post subject: Poller ... |
|
|
When using "manage" it asks to use a poller.
Does this mean, that with "manage" I poll devices twice?
If this is the case, the performance of my cacti server will go down.
Can sombody explain, how "manage" interworks with cacti?
BR
Benjamin
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 978
|
Posted: Thu May 22, 2008 6:32 am Post subject: Re: Poller ... |
|
|
| blugger wrote: | When using "manage" it asks to use a poller.
Does this mean, that with "manage" I poll devices twice?
If this is the case, the performance of my cacti server will go down.
Can sombody explain, how "manage" interworks with cacti?
BR
Benjamin |
Manage as a plugin has it's own set of pollers. These are seperate from CACTI, but are run at the same time as the main poller. I have been using MANAGE ever since it first came out, and have never had a problem with performance.
|
|
| Back to top |
|
 |
blugger
Joined: 07 May 2008 Posts: 28
|
Posted: Thu May 22, 2008 6:43 am Post subject: Feedback... |
|
|
The problem is the following ...
I have about 400 devices.
With cacti and manage, this means that 800 processes are handeled each poll intervall?
|
|
| Back to top |
|
 |
joez
Joined: 11 Feb 2008 Posts: 34
|
Posted: Mon May 26, 2008 6:33 am Post subject: |
|
|
I would really like to hear other opinions on this plugin... see my post above.
As to my understanding checking services involves more then just pinging ports. More something like nagios is doing.
thanks
joez
|
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|