Computing.Net > Forums > OpenVMS > Openvms monitoring script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Openvms monitoring script

Reply to Message Icon

Name: subscribe07
Date: September 4, 2007 at 20:40:01 Pacific
OS: OpenVMS v6.2
CPU/Ram: 8mb
Product: Digital
Comment:

hi anyone,
does anyone have a script which is able to monitor a queue status and send out an email to the administrator?

for example:
q123 reached its full job limit (10), so i want an email sent out to me to inform; and reroute all new jobs to queue q890.



Sponsored Link
Ads by Google

Response Number 1
Name: Ken Robinson (by kenrbnsn)
Date: September 5, 2007 at 06:03:14 Pacific
Reply:

Instead of doing that, why don't you create a generic queue that points at both queues. When a job is submitted to the generic queue, VMS will send it to which ever queue can handle it. If both queues are full, then it will wait in a "Pending" state until a queue is able to process it.

Example:

$ init/queue/batch/start q123/job=10
$ init/queue/batch/start q890/job=10
$ init/queue/generic=(q123,q890)/start q123_q890

Now, submit all your jobs to the queue q123_q890.

If you're still looking for a monitoring script, take a look a the lexical function f$getqui().

Ken


0

Response Number 2
Name: subscribe07
Date: September 6, 2007 at 00:44:08 Pacific
Reply:

thanks ken, but email notifications are required.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


TCP and QIO script to restart process


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Openvms monitoring script

script to restart process www.computing.net/answers/openvms/script-to-restart-process/488.html

dcl to shell script www.computing.net/answers/openvms/dcl-to-shell-script/592.html

C Shell Interpreter for OpenVMS? www.computing.net/answers/openvms/c-shell-interpreter-for-openvms/21.html