/build/static/layout/Breadcrumb_cap_w.png

Alerts & Labels

I want to make an alert that reminds users of policies to shut down their computer @ night, but I only want machines to get this alert if their uptime exceeds a certain number of days. What is the best way to go about this?

0 Comments   [ + ] Show comments

Answers (5)

Posted by: airwolf 14 years ago
Red Belt
0
Create a KScript to run on all machines daily. The script should check the uptime of the system and act accordingly.
Posted by: lindsamw 14 years ago
Orange Senior Belt
0
Using a KScript, can I make a machine a member of a label that gets an alert pushed to it? I would prefer to use the kbox alert messages for standardization.
Posted by: RichB 14 years ago
Second Degree Brown Belt
0
ORIGINAL: lindsamw

Using a KScript, can I make a machine a member of a label that gets an alert pushed to it? I would prefer to use the kbox alert messages for standardization.
.

Yes!
Posted by: lindsamw 14 years ago
Orange Senior Belt
0
This is helpful, but strangely, at the same time, not helpful! :) I think one comment I would make about this in the kbox features, I shouldn't have to make a script to check uptime on my own, when the kbox stores this data. So my plan so far, is to write a autoit script that checks the uptime, if it exceeds a certain value, write a reg key, have the kscript check that regkey, display a alert if criteria is met. That sound ok?
ORIGINAL: RichB

ORIGINAL: lindsamw

Using a KScript, can I make a machine a member of a label that gets an alert pushed to it? I would prefer to use the kbox alert messages for standardization.
.

Yes!

Posted by: airwolf 14 years ago
Red Belt
0
You have to do this with scripting because even though the value for "uptime" is stored in inventory, it's only as accurate as the last check-in time. So, if your check-in interval is 4 hours, your uptime would be up to 4 hours off. A situation could arise where a user has rebooted since the last check-in, but the KBOX still shows inaccurate uptime (whatever reported at the last check-in). Does this make sense? Using a script allows you to query uptime when the script runs - giving you live accurate data.

You COULD use the uptime listed in inventory to add machines to a label and apply a script to shutdown their systems, but I wouldn't recommend it.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ