Search found 7 matches

by jonathanross
Fri Aug 26, 2011 3:14 am
Forum: Scripts and Templates
Topic: Activate disabled device with a script
Replies: 13
Views: 4519

Re: Activate disabled device with a script

Can you tell I'm happy ?

:D Thanks again.
by jonathanross
Fri Aug 26, 2011 3:08 am
Forum: Scripts and Templates
Topic: Activate disabled device with a script
Replies: 13
Views: 4519

Re: Activate disabled device with a script

WOW ! It's working.

Thanks very much :D

If there were points to award you'd win them all !

Thank you !
by jonathanross
Fri Aug 26, 2011 2:32 am
Forum: Scripts and Templates
Topic: Activate disabled device with a script
Replies: 13
Views: 4519

Re: Activate disabled device with a script

Thanks, I manually ran the poller script in crontab too.

I'll give this a shot in 30 mins.

Much appreciated :D
by jonathanross
Fri Aug 26, 2011 2:12 am
Forum: Scripts and Templates
Topic: Activate disabled device with a script
Replies: 13
Views: 4519

Re: Activate disabled device with a script

I REALLY appreciate your help. Getting this to work would save me lots of clicking and unticking ! I can't quite get it working unfortunately. The localhost id is 2 and I get "enabled:2" back from the script okay but it seems to just untick the box without setting the graphs live. I also t...
by jonathanross
Fri Aug 26, 2011 1:07 am
Forum: Scripts and Templates
Topic: Activate disabled device with a script
Replies: 13
Views: 4519

Re: Activate disabled device with a script

It's just enabling a disabled device.

I thought the SQL I had worked but the host.php page obviously submits something else to activate the graphs.

Thanks!
by jonathanross
Fri Aug 26, 2011 12:43 am
Forum: Scripts and Templates
Topic: Activate disabled device with a script
Replies: 13
Views: 4519

Re: Activate disabled device with a script

Hi, Thanks very much for the pointer. I had this below but couldn't make head or tail of the PHP. It unticked the box but didn't set the changes live and graphs aren't generated. UPDATE host SET disabled ='no'; I've tried yours and it doesn't "submit" the form seemingly either unfortunatel...
by jonathanross
Thu Aug 25, 2011 10:14 am
Forum: Scripts and Templates
Topic: Activate disabled device with a script
Replies: 13
Views: 4519

Activate disabled device with a script

Hello, I'm using EC2 Wowza and need to have a script update several servers at once so graphs are generated. By default the localhost profile is disabled. Everything works fine with a script I've written to make a DB change to basically untick "disable" on host.php but I need to be able to...