Manage Plugin 0.6.2 for monitoring networks, servers...
Moderators: Developers, Moderators
uptime
Seems that the uptime being displayed does not always match with what's in the device. For example I've a cisco 2610 that's been up for more than 2 yrs, but it's displaying the uptime as 413 days 13 hrs. I've tried snmp (uptime chk) and (sysdesc chk) but didn't make a difference.
Anyone experiencing the same problem?
cacti 0.8.6h
manage 0.3.2
Anyone experiencing the same problem?
cacti 0.8.6h
manage 0.3.2
-
- Posts: 24
- Joined: Wed May 10, 2006 2:46 pm
- Location: Memphis, TN USA
I'm not sure if this is by design or a bug, but if I use the url localhost/graph_view.php (using guest acct), and then tried to access the manage tab, it comes back with a cacti login prompt. In the user setting, the "use manage" chkbox is checked. Or is there another setting that was missed?
I think this is a good way to allow non admin to view the status of each device and it allows to view the graphs when the user selects a device.
I think this is a good way to allow non admin to view the status of each device and it allows to view the graphs when the user selects a device.
-
- Cacti User
- Posts: 83
- Joined: Fri Aug 22, 2003 4:33 am
view only access other than admin
hi,
nice plugin to work with.....as of now all the users are able to view/change manage access to this plugin.....can u change it to the other plugins like only the admin has view/change access and other users have only view manage...
Chetan
nice plugin to work with.....as of now all the users are able to view/change manage access to this plugin.....can u change it to the other plugins like only the admin has view/change access and other users have only view manage...
Chetan
Trouble Installing
I need alittle help?? This installs just a like any other plugin ?? Well, I extracted the latest manage-0.3.2 and then moved it to my plugins folder to a folder called manage. I added the $plugins[] = 'manage'; line to my config.php file and when I open cacti i get the first error of not being able to see manage_host table. I look in my cactidb DB and there are no manage tables?? What am I doing wrong to get this installed to where i get the setup to work and create all tables ??
Thanks
Am running LInux, Cacti H, MySQL 4.1.5....
Thanks
Am running LInux, Cacti H, MySQL 4.1.5....
I found the error, in tryint to manually run the import manage-0.1.sql fle is failed at this line.....
INSERT INTO settings VALUES ('manage_date', '0'));
I took out the extra ) and it worked!!! I didnt' run it manually I just let cacti do it. Thanks..... That file was included in the latest zip file....maybe giles needs to check on it and remove that error/// or it was an error for me and my version of Mysql 4.1.5 Standard
Thanks
INSERT INTO settings VALUES ('manage_date', '0'));
I took out the extra ) and it worked!!! I didnt' run it manually I just let cacti do it. Thanks..... That file was included in the latest zip file....maybe giles needs to check on it and remove that error/// or it was an error for me and my version of Mysql 4.1.5 Standard
Thanks
Cacti_manage_plugin Error
I install latest manage plugin and getting an error:Table 'cacti.manage_host' doesn't exist, andi can't see anyhing else.
what i'm doing wrong or what do i need to run to fix this.
i run manualy:
# php manage-0.1.sql
Content-type: text/html
X-Powered-By: PHP/4.3.9
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');
thanks
what i'm doing wrong or what do i need to run to fix this.
i run manualy:
# php manage-0.1.sql
Content-type: text/html
X-Powered-By: PHP/4.3.9
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');
thanks
- Attachments
-
- error
- cacti_manage_error.jpeg (14 KiB) Viewed 8013 times
-
- Posts: 13
- Joined: Fri Jun 09, 2006 10:09 am
- Location: South Carolina
Multiple E-Mails about Device being up or down
The manage plugin is working great however I am getting out of the blue e-mails about device port being up. When I check, they never went down and have been up for some time.
I have also found the uptime issue with my CAT 4000 switches. I came in one morning and had e-mails indicating the CAT 4000 switches had rebooted. In checking the switches, they did not.
Also helpful hint, If you get a very large number of devices (we have 144 currently in manage) make sure you change you php settings to allow the poller to run more than 30 seconds or you will not get port availability. I am running on a Win2K3 server with PHP 4.
Stevo
I have also found the uptime issue with my CAT 4000 switches. I came in one morning and had e-mails indicating the CAT 4000 switches had rebooted. In checking the switches, they did not.
Also helpful hint, If you get a very large number of devices (we have 144 currently in manage) make sure you change you php settings to allow the poller to run more than 30 seconds or you will not get port availability. I am running on a Win2K3 server with PHP 4.
Stevo
-
- Posts: 13
- Joined: Fri Jun 09, 2006 10:09 am
- Location: South Carolina
If you set a device to monitor a port, say 22 for ssh, and the device went down, I would alert for the port going down and when it was back up. You can change in the settings on what to alert for such as up/down down down/reboot, etc. You can also set a repeat setting after a certain number of poller runs.
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
Re: uptime
Hi,lex8009 wrote:Seems that the uptime being displayed does not always match with what's in the device. For example I've a cisco 2610 that's been up for more than 2 yrs, but it's displaying the uptime as 413 days 13 hrs. I've tried snmp (uptime chk) and (sysdesc chk) but didn't make a difference.
Anyone experiencing the same problem?
cacti 0.8.6h
manage 0.3.2
uptim counter is 32bit = 491 days then it wraps arround.
Wrote a patch to ignore this and its working fine - you can find this in the forum at uptime-plugin.
Torsten
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
problems with snmp v3 and php 4 / 5/ cacti-get
Hi,
whats wrong with this settup:
- we have one php version in /usr/bin (php v4) and this is in the global search path
- we have another version php5 in /software/php5.
- calling check-manage.php with php4 all devices are responding
- calling check-manage.php with php5 some devices unsing snmp v3 do not responde. Strange to this is that some other snmp-v3 hosts are responding.
- makeing a test php-script using the php-snmp_get function works fine, also using the cacti-function for snmpget is working fine.
So only some calls from the check-manage function do not work. I checked the parameter for this hosts but all seems correct.
Has anyone an idea?
whats wrong with this settup:
- we have one php version in /usr/bin (php v4) and this is in the global search path
- we have another version php5 in /software/php5.
- calling check-manage.php with php4 all devices are responding
- calling check-manage.php with php5 some devices unsing snmp v3 do not responde. Strange to this is that some other snmp-v3 hosts are responding.
- makeing a test php-script using the php-snmp_get function works fine, also using the cacti-function for snmpget is working fine.
So only some calls from the check-manage function do not work. I checked the parameter for this hosts but all seems correct.
Has anyone an idea?
TorstenCacti Version - 0.8.6h
Poller Type - CMD.php
Server Info - Linux 2.4.21-37.ELsmp
Web Server - Apache/2.0.46 (Red Hat)
PHP - 5.1.4
PHP Extensions - xmlwriter, libxml, dom, xmlreader, xml, tokenizer, standard, SimpleXML, SPL, session, sockets, snmp, PDO, SQLite, Reflection, posix, mysqli, mysql, mbstring, iconv, hash, gd, date, ctype, zlib, pcre, apache2handler
MySQL - 4.1.15
RRDTool - 1.2.11
SNMP - 5.3.1
Plugins
- manage (manage - v0.3.2)
Thresholds (thold - v0.3.0)
Device Tracking (mactrack - v0.0.1b)
Uptime (uptime - v0.3)
Syslog Monitoring (haloe - v0.4)
Network Tools (tools - v0.2)
cycle - v0.1
RRD Cleaner - v1.2
Poller Performance Report (pollperf - v0.1)
Host Info (hostinfo - v0.1)
Update Checker (update - v0.2)
Change password (passwd - v0.1)
Who is online
Users browsing this forum: No registered users and 2 guests