Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Uptime plugin (reboot monitor)
Goto page Previous  1, 2, 3, 4, 5, 6, 7
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
jwilda



Joined: 22 Oct 2008
Posts: 7
Location: Tampa, FL

PostPosted: Fri Nov 14, 2008 2:43 pm    Post subject: Reply with quote

I replaced the check-uptime.php with this http://forums.cacti.net/download.php?id=12879 and now it is showing the actual uptime of the machine.
Back to top
gigimon



Joined: 25 Nov 2008
Posts: 1

PostPosted: Tue Nov 25, 2008 12:55 pm    Post subject: Reply with quote

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

PostPosted: Mon Dec 08, 2008 4:19 am    Post subject: Reply with quote

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

PostPosted: Mon Dec 08, 2008 4:27 am    Post subject: Reply with quote

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

PostPosted: Mon Dec 08, 2008 6:38 am    Post subject: Reply with quote

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

PostPosted: Fri Jan 02, 2009 7:06 am    Post subject: Reply with quote

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

PostPosted: Fri Jan 02, 2009 7:07 am    Post subject: Reply with quote

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

PostPosted: Fri Jan 02, 2009 7:32 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7
Page 7 of 7

 



Powered by phpBB © 2001, 2005 phpBB Group