Yeah, except I needed this onemcutting wrote:You should be able to get it from here
http://rpm.pbone.net/index.php3/stat/3/ ... .7.src.rpm
php-bcmath-5.1.6-3.el4s1.8.i386.rpm
That installed just fine.
Thanks for the help.
Moderators: Developers, Moderators
Yeah, except I needed this onemcutting wrote:You should be able to get it from here
http://rpm.pbone.net/index.php3/stat/3/ ... .7.src.rpm
Code: Select all
manage_ajax.php:include_once("./include/global.php");
manage_check.php:include(dirname(__FILE__) . "/../../include/global.php");
manage_debug.php:include_once("./include/global.php");
manage.php:include_once("./include/global.php");
poller_manage.php:include(dirname(__FILE__) . "/../../include/global.php");
Code: Select all
alter table host add manage char(3) default '' not null after disabled;
CREATE TABLE manage_host ( id mediumint(8) unsigned NOT NULL default '0', uptime bigint(20) default NULL, type mediumint(8) unsigned NOT NULL default '0', services text, statut text);
CREATE TABLE manage_method ( id mediumint(8) unsigned NOT NULL default '0', method text);
CREATE TABLE manage_alerts (idh mediumint(8) unsigned NOT NULL default '0', datetime datetime NOT NULL default '0000-00-00 00:00:00', ids mediumint(8) unsigned default '0', message text, note text, ida mediumint(9) unsigned NOT NULL auto_increment, PRIMARY KEY (ida));
CREATE TABLE manage_host_services ( id mediumint(8) unsigned NOT NULL default '0', services mediumint(8) unsigned NOT NULL default '0', statut text);
INSERT INTO settings VALUES ('manage_events', '5');
INSERT INTO settings VALUES ('manage_poller', '0');
INSERT INTO settings VALUES ('manage_method', '0');
INSERT INTO settings VALUES ('manage_date', '0');
ALTER TABLE manage_host ADD `force` MEDIUMINT(8) unsigned NOT NULL default '9';
CREATE TABLE manage_device_type ( id MEDIUMINT(8) NOT NULL AUTO_INCREMENT , name TEXT, image TEXT, PRIMARY KEY ( id ) );
INSERT INTO manage_device_type VALUES (1, 'Windows 2003 Host', 'win2003.png');
INSERT INTO manage_device_type VALUES (2, 'Windows XP Host', NULL);
INSERT INTO manage_device_type VALUES (3, 'Windows 2000 Host', 'win2000.png');
INSERT INTO manage_device_type VALUES (4, 'Windows NT4 Host', 'winnt.png');
INSERT INTO manage_device_type VALUES (5, 'Windows 9x Host', NULL);
INSERT INTO manage_device_type VALUES (6, 'Linux Host', 'linux.png');
INSERT INTO manage_device_type VALUES (7, 'Router', 'router.png');
INSERT INTO manage_device_type VALUES (8, 'Switch', 'switch.png');
INSERT INTO manage_device_type VALUES (9, 'Other', 'other.png');
CREATE TABLE manage_templates ( id MEDIUMINT(8) NOT NULL auto_increment, name TEXT, tcp_ports TEXT, PRIMARY KEY (id) );
INSERT INTO manage_templates VALUES (1, 'Mail Server (Basic)', '110;25');
INSERT INTO manage_templates VALUES (2, 'Mail Server (Enhanced)', '110;995;25;143;993;80;443');
INSERT INTO manage_templates VALUES (3, 'Switch/Router', '23');
INSERT INTO manage_templates VALUES (4, 'Web Server', '80;443');
INSERT INTO manage_templates VALUES (5, 'LDAP Server - Windows 200x Domain Controler', '389');
INSERT INTO manage_templates VALUES (6, 'DNS Server', '53');
alter table manage_host add `group` MEDIUMINT(8) default '0';
CREATE TABLE manage_groups ( id MEDIUMINT(8) NOT NULL auto_increment, name TEXT, PRIMARY KEY (id) );
INSERT INTO manage_groups VALUES (1, 'Test');
CREATE TABLE manage_poller_output (local_data_id mediumint(8), output text);
CREATE TABLE manage_sites ( id MEDIUMINT(8) NOT NULL auto_increment, name TEXT, PRIMARY KEY (id) );
ALTER TABLE manage_host_services RENAME manage_tcp;
ALTER TABLE manage_groups ADD site_id MEDIUMINT NOT NULL;
ALTER TABLE manage_host ADD `thresold` MEDIUMINT(8) unsigned NOT NULL default '0';
ALTER TABLE manage_host ADD `thresold_ref` MEDIUMINT(8) unsigned NOT NULL default '1';
ALTER TABLE manage_host ADD `mail` TEXT;
INSERT INTO settings VALUES ('manage_cycle_delay', '30');
INSERT INTO settings VALUES ('manage_cycle_refresh', '5');
INSERT INTO settings VALUES ('manage_poller_plus', '0');
INSERT INTO settings VALUES ('manage_thold', '1');
INSERT INTO settings VALUES ('manage_order1', '1');
INSERT INTO settings VALUES ('manage_order2', '2');
INSERT INTO settings VALUES ('manage_order3', '3');
INSERT INTO settings VALUES ('manage_order4', '0');
INSERT INTO settings VALUES ('manage_order5', '0');
INSERT INTO settings VALUES ('manage_list_2', '2');
INSERT INTO settings VALUES ('manage_theme', 'default');
INSERT INTO settings VALUES ('manage_sound', '0');
INSERT INTO settings VALUES ('manage_global_email', '');
INSERT INTO settings VALUES ('manage_double_email', '');
INSERT INTO settings VALUES ('manage_date', '');
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
No I haven't because I don't use that particular function of Cacti. I never liked the way it created a different graph for each individual service. So I use my own scripts to monitor Windows Services.mcutting wrote:Streaker69: Have you managed to get services and processes working with 0.5.1 ? The way snmp is handled in Cacti 0.8.7 has changed, so this plugin doesn't work properly anymore in terms of this.
Wanted to see if anyone else had done any work along these lines - I don't want to reinvent the wheel.
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
I second that. Gilles if you want me to test it as well, I'll do that. I've been in and out of your code so much, I'm actually starting to read french.mcutting wrote:That would be good. Evidently, Manage 0.5.2 has been developed. I was approached by Gilles, who asked me to PM him. He was supposed to send me the code to test, but I haven't seen it yet..
Gilles - if you read this, I'm still waiting for the new code !
Unfortunately, this still does not work for me - even when calling MANAGE from the command line.streaker69 wrote:Ok, I've just checked out the WinServices portion with Manage 0.51 and it seems to work just fine.
I'd say if you follow my previous post in fixing all the errors it should just work out for you.
Now I can get back to making more custom graphics for the full view. I was making a version of Tux for each flavor of linux and improving some of the other graphics.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Ok - have Windows Services working (uncommented $gg variable in manage_check.php). Still having an issue with the processes at the moment...mcutting wrote:Unfortunately, this still does not work for me - even when calling MANAGE from the command line.streaker69 wrote:Ok, I've just checked out the WinServices portion with Manage 0.51 and it seems to work just fine.
I'd say if you follow my previous post in fixing all the errors it should just work out for you.
Now I can get back to making more custom graphics for the full view. I was making a version of Tux for each flavor of linux and improving some of the other graphics.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Took manage_check.php to bits, and repaired the broken SNMP calls. The result is the replacement file enclosed in this post.mcutting wrote:Ok - have Windows Services working (uncommented $gg variable in manage_check.php). Still having an issue with the processes at the moment...mcutting wrote:Unfortunately, this still does not work for me - even when calling MANAGE from the command line.streaker69 wrote:Ok, I've just checked out the WinServices portion with Manage 0.51 and it seems to work just fine.
I'd say if you follow my previous post in fixing all the errors it should just work out for you.
Now I can get back to making more custom graphics for the full view. I was making a version of Tux for each flavor of linux and improving some of the other graphics.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Code: Select all
$pos=-1;
Code: Select all
if (intval($nb_pollers)<=0) $nb_pollers=5;
The fix I posted in this forum rectifies the SNMP issue...3/ I have always the following error ind the windows(shell) started from poller_manage.php:
Warning: Missing argument 10 for cacti_snmp_get() in d:\programme\cacti-networkmonitoring\lib\snmp.php on line 39
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Users browsing this forum: No registered users and 0 guests