Uptime plugin (reboot monitor)
Moderators: Developers, Moderators
hi.
i download and install uptime-hj. all work. but when i change host.php on alternate i can't add new device. on top page error message "Error: Save Failed: Field Input Error (Check Red Fields)." but can't see any red fields.
and snmp option ver3 by default.
who can resolve this problem?
now when i add device i use old host.php.
i download and install uptime-hj. all work. but when i change host.php on alternate i can't add new device. on top page error message "Error: Save Failed: Field Input Error (Check Red Fields)." but can't see any red fields.
and snmp option ver3 by default.
who can resolve this problem?
now when i add device i use old host.php.
Cacti v.087g + PAv2.9
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
The alternate host.php would have been for a specific version of Cacti - I doubt it's as new as 0.8.7b.L0gRuS wrote:hi.
i download and install uptime-hj. all work. but when i change host.php on alternate i can't add new device. on top page error message "Error: Save Failed: Field Input Error (Check Red Fields)." but can't see any red fields.
and snmp option ver3 by default.
who can resolve this problem?
now when i add device i use old host.php.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
yep, but nothing for 0.87b i can't found and use old host.php, maybe anyone have idea for realisation additional column on devices ?Howie wrote:The alternate host.php would have been for a specific version of Cacti - I doubt it's as new as 0.8.7b.L0gRuS wrote:hi.
i download and install uptime-hj. all work. but when i change host.php on alternate i can't add new device. on top page error message "Error: Save Failed: Field Input Error (Check Red Fields)." but can't see any red fields.
and snmp option ver3 by default.
who can resolve this problem?
now when i add device i use old host.php.
Cacti v.087g + PAv2.9
-
- Cacti User
- Posts: 77
- Joined: Thu Nov 13, 2008 2:30 pm
Since I am SQL challenged, would any of you have a dumb-dumb command that could be ran to enable this for all the devices? I tried the SQL statement and got this:apperrault wrote:I manually went into the MySQL DB and ran the following command. It worked like a charm.
and now all of my devices have the Check Uptime box checked.Code: Select all
UPDATE `cacti`.`host` SET `uptime` = 'on'
app
Code: Select all
mysql> UPDATE `cacti`.`host` SET `uptime` = 'on'
-> ;
ERROR 1175 (HY000): You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
-
- Cacti User
- Posts: 77
- Joined: Thu Nov 13, 2008 2:30 pm
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I don't think there are any hooks in the plugin architecture to allow you to add columns to the devices list...
it wouldn't be too hard to have an additional page somewhere else that shows it though. If I get bored enough in the next few days, I'll write a Superlinks page for it.
it wouldn't be too hard to have an additional page somewhere else that shows it though. If I get bored enough in the next few days, I'll write a Superlinks page for it.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
It's not mandatory. A non-unique index on id might help, but that's a performance thing for large tables rather than a requirement.torstentfk wrote:HI
upgraded from 0.3 to 0.4 and in ppmyadmin I found that there is no index defined in both tables of uptime.
is it mandatory to have an index and if so- which columns should I use?
Torsten
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
I have also this configuration (0.8.7b and PIA 2.1) with the same problem.......no uptime column into device section and no device into uptime tab........gigimon wrote:Hi people!
I am used Cacti 0.8.7b with Plugin Architecture 2.1.
I am installl this plugin, Enable in Plugin management, Set View/rdit uptime at user profile, and enable at my device, but not show new column on device list. Help me please
I tried also the modified PIA 2.1 host.php inside the uptime folder but I get an error and then I have to rollback.
Any solution??
Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
497.1day uptime reboot problem:
@torsten
@gilles
Hmm the code doesn't work correct:
I use the following values:
if (($old_uptime<42949 37296) || ($old_uptime>42949 67296))
2 days ago I received some new overflows, with different values (497.1d):
42949 63633
42949 51645
42949 63689
42949 53448
42949 35195 (ok...not in the span but early!)
I only use uptime plugin!
Directory: uptime
Version: 0.3
Author: Gilles Boulon
Status: Old Plugin Architecture - Running
/lankienen
@torsten
@gilles
Hmm the code doesn't work correct:
I use the following values:
if (($old_uptime<42949 37296) || ($old_uptime>42949 67296))
2 days ago I received some new overflows, with different values (497.1d):
42949 63633
42949 51645
42949 63689
42949 53448
42949 35195 (ok...not in the span but early!)
I only use uptime plugin!
Directory: uptime
Version: 0.3
Author: Gilles Boulon
Status: Old Plugin Architecture - Running
/lankienen
Cannot redeclare uptime_config_form()
Hi,
I'm curious if this plug-in is still in development. I just tried to use uptime-0.4.zip with 0.8.7d, and PA 2.4, but it appears to break the PA.
When I click on the Plugin Management link from within the Console, I get the following error message:
EDIT: Posted wrong error message. Here's the correct one:
Fatal error: Call to undefined function uptime_version() in /var/www/html/cacti-0.8.7d/plugins.php on line 219
-Rob
I'm curious if this plug-in is still in development. I just tried to use uptime-0.4.zip with 0.8.7d, and PA 2.4, but it appears to break the PA.
When I click on the Plugin Management link from within the Console, I get the following error message:
EDIT: Posted wrong error message. Here's the correct one:
Fatal error: Call to undefined function uptime_version() in /var/www/html/cacti-0.8.7d/plugins.php on line 219
-Rob
Hi,
I discovered that a quick s/plugin_//g to the setup.php file fixes the PA, and the uptime plugin is now displayed in the Plugin Management window.
Unfortunately, that's as far as it goes. There is no settings, or realm permissions listed, nor does the uptime tab appear at the top.
I'm no good at hacking away at the code, but any help is appreciated
-Rob
I discovered that a quick s/plugin_//g to the setup.php file fixes the PA, and the uptime plugin is now displayed in the Plugin Management window.
Unfortunately, that's as far as it goes. There is no settings, or realm permissions listed, nor does the uptime tab appear at the top.
I'm no good at hacking away at the code, but any help is appreciated
-Rob
Has anyone gotten uptime to work with PA 2.2?
rdege, have been able to resolve your issue?
I just installed PA 2.2 before discovering uptime plugin. I would like to downgrade to 2.1 but I have yet to find detailed directions on how to do so. From what I am reading monitor replaces uptime however I enjoy the simplicity of uptime more.
Using Uptime version .4, Cacti 8.7c, PA 2.2
Error given:
Fatal error: Call to undefined function uptime_version() in /var/www/html/plugins.php on line 219
I just installed PA 2.2 before discovering uptime plugin. I would like to downgrade to 2.1 but I have yet to find detailed directions on how to do so. From what I am reading monitor replaces uptime however I enjoy the simplicity of uptime more.
Using Uptime version .4, Cacti 8.7c, PA 2.2
Error given:
Fatal error: Call to undefined function uptime_version() in /var/www/html/plugins.php on line 219
Who is online
Users browsing this forum: No registered users and 3 guests