|
|
| Author |
Message |
jwilda
Joined: 22 Oct 2008 Posts: 7 Location: Tampa, FL
|
|
| Back to top |
|
 |
gigimon
Joined: 25 Nov 2008 Posts: 1
|
Posted: Tue Nov 25, 2008 12:55 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
L0gRuS
Joined: 06 Nov 2008 Posts: 26
|
Posted: Mon Dec 08, 2008 4:19 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2252 Location: United Kingdom
|
Posted: Mon Dec 08, 2008 4:27 am Post subject: |
|
|
| 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. |
The alternate host.php would have been for a specific version of Cacti - I doubt it's as new as 0.8.7b. |
|
| Back to top |
|
 |
L0gRuS
Joined: 06 Nov 2008 Posts: 26
|
Posted: Mon Dec 08, 2008 6:38 am Post subject: |
|
|
| Howie wrote: | | 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. |
The alternate host.php would have been for a specific version of Cacti - I doubt it's as new as 0.8.7b. |
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 ? |
|
| Back to top |
|
 |
charlesdf23
Joined: 13 Nov 2008 Posts: 25
|
Posted: Fri Jan 02, 2009 7:06 am Post subject: |
|
|
| apperrault wrote: | I manually went into the MySQL DB and ran the following command. It worked like a charm.
| Code: | | UPDATE `cacti`.`host` SET `uptime` = 'on' |
and now all of my devices have the Check Uptime box checked.
app |
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:
| Code: | 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
|
|
|
| Back to top |
|
 |
charlesdf23
Joined: 13 Nov 2008 Posts: 25
|
Posted: Fri Jan 02, 2009 7:07 am Post subject: |
|
|
Any chance to see the uptime in the devices tab in the near future? Or perhaps seeing it reliably somewhere else?
I am trying to utilize this for EOM reporting showing uptime, and availability and have not had much luck thus far with either.
Thanks in advance. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2252 Location: United Kingdom
|
Posted: Fri Jan 02, 2009 7:32 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|