08-29-2012 03:19 PM
Hi,
I want to know if NB 7.5 have an option to send / popup an alert if a particular job is running over the specific time (not backup Window).
For example: If a job has 10 hours time window, I want to get an alert if the backup is running for more than 5 hours. Is it possible?
Regards,
Deep
Solved! Go to Solution.
08-29-2012 03:48 PM
In a word, no.
The NBU email alerts are very basic, really all it amounts to is sending a mail if a job is successful or fails.
You could do what you require with custom scripts on the master server, but this is outside the scope of these forums really, as it is OS scripting, though it would use a few NBU commands.
OpsCenter, which is freely available, has an alert that can be configured if a job runs more than a specified time.
This can be set per policy, so I could for example, set an alert (either email or trap) if my womble_basic_disk policy runs for more than 2 hours.
This is easily set in the Alert Policies screen, accessable from the 'Home' screen of OpsCenter.
Be aware, you cannot just install OpsCenter - it is a complex product that requires an specific amount of resouces (CPU/ memory etc ...) depending on hom many servers it is monitoring. I do NOT recommend this is installed on a Master or Media server, it should be on it's own server.
Martin
08-29-2012 03:48 PM
In a word, no.
The NBU email alerts are very basic, really all it amounts to is sending a mail if a job is successful or fails.
You could do what you require with custom scripts on the master server, but this is outside the scope of these forums really, as it is OS scripting, though it would use a few NBU commands.
OpsCenter, which is freely available, has an alert that can be configured if a job runs more than a specified time.
This can be set per policy, so I could for example, set an alert (either email or trap) if my womble_basic_disk policy runs for more than 2 hours.
This is easily set in the Alert Policies screen, accessable from the 'Home' screen of OpsCenter.
Be aware, you cannot just install OpsCenter - it is a complex product that requires an specific amount of resouces (CPU/ memory etc ...) depending on hom many servers it is monitoring. I do NOT recommend this is installed on a Master or Media server, it should be on it's own server.
Martin
08-30-2012 01:14 AM
If you don't have Opscenter I have a unix shell script that can send a mail if a jobs(s) has been running longer than X seconds
08-30-2012 01:32 PM
Thanks mph999 for the details provided. I dont have OpsCenter installed in my environment, as per your recommandation I am not going to install it right away, till I research the utilization.
Hi Nicolai, I would like to try the Unix Sheel Script. Could you please share it?
Regards,
Deep
08-31-2012 04:27 AM
Sure. Some notes. Place both runtime_treshold.pl and nnit_env.pm in same directory. The script need a qualifyer - thats in seconds the time of the treshold
1 hour = 3600
24 hour = 86400
You define the mail addresses in nnit_env.pm.
09-02-2012 07:52 AM
Thanks Nicolai!!
09-02-2012 10:15 AM
Did it work for you ?
09-03-2012 03:10 AM
I have not yet tested this, will let you know the result as soon as I am done with my testing.