Jump to content

E-mail when performance alert triggers


Recommended Posts

Guest Paul-Henri Lampe
Posted

Hello All !

 

I would like to get an e-mail when an alert is triggered by the

performance monitor on a Windows 2003 SBS system. The alert I want to

get like that is when I'm running low on disk space on one of my logical

drives.

 

To do that, I configured an alert by following this technical note:

http://support.microsoft.com/kb/324752 . I followed these steps (sorry

if the options aren't exactly the ones displayed by Windows: I'm

translating them from French):

.. Server Management -> System Tools -> Performance Logs and Alerts ->

Alerts : I created one there monitoring the "Disk Full" counter

... General tab: added "Disk Full counter", with a lower than 100000 (100

Gb) threshold, executed as Administrator

... Action tab: checked "Log an entry in the application event log" and

"Run this program": and that case, I want to run a small cmd script that

executes the following command:

echo hello >d:\tools\blat\test.txt

(later I'll replace this with a line that will send me an e-mail using

the blat utility)

 

The alerts triggers since I can find it in the applications log. But the

script doesn't get called: the test.txt file isn't created (I tried it

interactively, it works fine). I don't see any process in the Process

Viewer created when the alert is triggered, and the Performance Service

is executed with local system privileges (I followed this article to try

to fix my problem

http://www.windowsitpro.com/Articles/ArticleID/16153/16153.html , but no

success). I don't have anything special in the firewall either.

 

Any ideas as to what's wrong here and what I should do to fix it or to

test further ? Can it be some rights that are missing ?

 

Thanks for you help,

Paul-Henri

  • Replies 4
  • Created
  • Last Reply

Popular Days

Posted

Re: E-mail when performance alert triggers

 

Hello Paul...

 

With regards to your requirements, this is by default in SBS and email

alerts should be working within SBS.

 

Have you run the WIZARD for monitoring system in system manager ?

 

 

"Paul-Henri Lampe" <phl-msnews@bmsystems.net> wrote in message

news:uBZXrHhcIHA.5208@TK2MSFTNGP04.phx.gbl...

> Hello All !

>

> I would like to get an e-mail when an alert is triggered by the

> performance monitor on a Windows 2003 SBS system. The alert I want to get

> like that is when I'm running low on disk space on one of my logical

> drives.

>

> To do that, I configured an alert by following this technical note:

> http://support.microsoft.com/kb/324752 . I followed these steps (sorry if

> the options aren't exactly the ones displayed by Windows: I'm translating

> them from French):

> . Server Management -> System Tools -> Performance Logs and Alerts ->

> Alerts : I created one there monitoring the "Disk Full" counter

> .. General tab: added "Disk Full counter", with a lower than 100000 (100

> Gb) threshold, executed as Administrator

> .. Action tab: checked "Log an entry in the application event log" and

> "Run this program": and that case, I want to run a small cmd script that

> executes the following command:

> echo hello >d:\tools\blat\test.txt

> (later I'll replace this with a line that will send me an e-mail using the

> blat utility)

>

> The alerts triggers since I can find it in the applications log. But the

> script doesn't get called: the test.txt file isn't created (I tried it

> interactively, it works fine). I don't see any process in the Process

> Viewer created when the alert is triggered, and the Performance Service is

> executed with local system privileges (I followed this article to try to

> fix my problem

> http://www.windowsitpro.com/Articles/ArticleID/16153/16153.html , but no

> success). I don't have anything special in the firewall either.

>

> Any ideas as to what's wrong here and what I should do to fix it or to

> test further ? Can it be some rights that are missing ?

>

> Thanks for you help,

> Paul-Henri

Posted

Re: E-mail when performance alert triggers

 

In addition, Start, All programs, Administrator tools, Health Monitor is

where the alerts are constructed.

 

 

"Teneo" <not@here.com> wrote in message

news:%2307ToNicIHA.4436@TK2MSFTNGP05.phx.gbl...

> Hello Paul...

>

> With regards to your requirements, this is by default in SBS and email

> alerts should be working within SBS.

>

> Have you run the WIZARD for monitoring system in system manager ?

>

>

> "Paul-Henri Lampe" <phl-msnews@bmsystems.net> wrote in message

> news:uBZXrHhcIHA.5208@TK2MSFTNGP04.phx.gbl...

>> Hello All !

>>

>> I would like to get an e-mail when an alert is triggered by the

>> performance monitor on a Windows 2003 SBS system. The alert I want to get

>> like that is when I'm running low on disk space on one of my logical

>> drives.

>>

>> To do that, I configured an alert by following this technical note:

>> http://support.microsoft.com/kb/324752 . I followed these steps (sorry if

>> the options aren't exactly the ones displayed by Windows: I'm translating

>> them from French):

>> . Server Management -> System Tools -> Performance Logs and Alerts ->

>> Alerts : I created one there monitoring the "Disk Full" counter

>> .. General tab: added "Disk Full counter", with a lower than 100000 (100

>> Gb) threshold, executed as Administrator

>> .. Action tab: checked "Log an entry in the application event log" and

>> "Run this program": and that case, I want to run a small cmd script that

>> executes the following command:

>> echo hello >d:\tools\blat\test.txt

>> (later I'll replace this with a line that will send me an e-mail using

>> the blat utility)

>>

>> The alerts triggers since I can find it in the applications log. But the

>> script doesn't get called: the test.txt file isn't created (I tried it

>> interactively, it works fine). I don't see any process in the Process

>> Viewer created when the alert is triggered, and the Performance Service

>> is executed with local system privileges (I followed this article to try

>> to fix my problem

>> http://www.windowsitpro.com/Articles/ArticleID/16153/16153.html , but no

>> success). I don't have anything special in the firewall either.

>>

>> Any ideas as to what's wrong here and what I should do to fix it or to

>> test further ? Can it be some rights that are missing ?

>>

>> Thanks for you help,

>> Paul-Henri

>

>

Guest Paul-Henri Lampe
Posted

Re: E-mail when performance alert triggers

 

Thanks a lot for your help: I was able to set up what I wanted with the

health monitor tool. I didn't know about it so far (I'm more used to

doing shell script for administrative tasks).

 

I'm also waiting for the first daily system administration report by

e-mail to come around: you were right about me not running the

monitoring system wizard...

 

Thanks again :)

Paul-Henri

 

 

Teneo a écrit :

> In addition, Start, All programs, Administrator tools, Health Monitor is

> where the alerts are constructed.

>

>

> "Teneo" <not@here.com> wrote in message

> news:%2307ToNicIHA.4436@TK2MSFTNGP05.phx.gbl...

>> Hello Paul...

>>

>> With regards to your requirements, this is by default in SBS and email

>> alerts should be working within SBS.

>>

>> Have you run the WIZARD for monitoring system in system manager ?

>>

>>

>> "Paul-Henri Lampe" <phl-msnews@bmsystems.net> wrote in message

>> news:uBZXrHhcIHA.5208@TK2MSFTNGP04.phx.gbl...

>>> Hello All !

>>>

>>> I would like to get an e-mail when an alert is triggered by the

>>> performance monitor on a Windows 2003 SBS system. The alert I want to get

>>> like that is when I'm running low on disk space on one of my logical

>>> drives.

>>>

>>> To do that, I configured an alert by following this technical note:

>>> http://support.microsoft.com/kb/324752 . I followed these steps (sorry if

>>> the options aren't exactly the ones displayed by Windows: I'm translating

>>> them from French):

>>> . Server Management -> System Tools -> Performance Logs and Alerts ->

>>> Alerts : I created one there monitoring the "Disk Full" counter

>>> .. General tab: added "Disk Full counter", with a lower than 100000 (100

>>> Gb) threshold, executed as Administrator

>>> .. Action tab: checked "Log an entry in the application event log" and

>>> "Run this program": and that case, I want to run a small cmd script that

>>> executes the following command:

>>> echo hello >d:\tools\blat\test.txt

>>> (later I'll replace this with a line that will send me an e-mail using

>>> the blat utility)

>>>

>>> The alerts triggers since I can find it in the applications log. But the

>>> script doesn't get called: the test.txt file isn't created (I tried it

>>> interactively, it works fine). I don't see any process in the Process

>>> Viewer created when the alert is triggered, and the Performance Service

>>> is executed with local system privileges (I followed this article to try

>>> to fix my problem

>>> http://www.windowsitpro.com/Articles/ArticleID/16153/16153.html , but no

>>> success). I don't have anything special in the firewall either.

>>>

>>> Any ideas as to what's wrong here and what I should do to fix it or to

>>> test further ? Can it be some rights that are missing ?

>>>

>>> Thanks for you help,

>>> Paul-Henri

>>

>

>

Posted

Re: E-mail when performance alert triggers

 

Glad it helped and welcome to SBS land... ;-)

 

 

"Paul-Henri Lampe" <phl-msnews@bmsystems.net> wrote in message

news:OnbxJVjcIHA.4684@TK2MSFTNGP06.phx.gbl...

> Thanks a lot for your help: I was able to set up what I wanted with the

> health monitor tool. I didn't know about it so far (I'm more used to doing

> shell script for administrative tasks).

>

> I'm also waiting for the first daily system administration report by

> e-mail to come around: you were right about me not running the monitoring

> system wizard...

>

> Thanks again :)

> Paul-Henri

>

>

> Teneo a écrit :

>> In addition, Start, All programs, Administrator tools, Health Monitor is

>> where the alerts are constructed.

>>

>>

>> "Teneo" <not@here.com> wrote in message

>> news:%2307ToNicIHA.4436@TK2MSFTNGP05.phx.gbl...

>>> Hello Paul...

>>>

>>> With regards to your requirements, this is by default in SBS and email

>>> alerts should be working within SBS.

>>>

>>> Have you run the WIZARD for monitoring system in system manager ?

>>>

>>>

>>> "Paul-Henri Lampe" <phl-msnews@bmsystems.net> wrote in message

>>> news:uBZXrHhcIHA.5208@TK2MSFTNGP04.phx.gbl...

>>>> Hello All !

>>>>

>>>> I would like to get an e-mail when an alert is triggered by the

>>>> performance monitor on a Windows 2003 SBS system. The alert I want to

>>>> get like that is when I'm running low on disk space on one of my

>>>> logical drives.

>>>>

>>>> To do that, I configured an alert by following this technical note:

>>>> http://support.microsoft.com/kb/324752 . I followed these steps (sorry

>>>> if the options aren't exactly the ones displayed by Windows: I'm

>>>> translating them from French):

>>>> . Server Management -> System Tools -> Performance Logs and Alerts ->

>>>> Alerts : I created one there monitoring the "Disk Full" counter

>>>> .. General tab: added "Disk Full counter", with a lower than 100000

>>>> (100 Gb) threshold, executed as Administrator

>>>> .. Action tab: checked "Log an entry in the application event log" and

>>>> "Run this program": and that case, I want to run a small cmd script

>>>> that executes the following command:

>>>> echo hello >d:\tools\blat\test.txt

>>>> (later I'll replace this with a line that will send me an e-mail using

>>>> the blat utility)

>>>>

>>>> The alerts triggers since I can find it in the applications log. But

>>>> the script doesn't get called: the test.txt file isn't created (I tried

>>>> it interactively, it works fine). I don't see any process in the

>>>> Process Viewer created when the alert is triggered, and the Performance

>>>> Service is executed with local system privileges (I followed this

>>>> article to try to fix my problem

>>>> http://www.windowsitpro.com/Articles/ArticleID/16153/16153.html , but

>>>> no success). I don't have anything special in the firewall either.

>>>>

>>>> Any ideas as to what's wrong here and what I should do to fix it or to

>>>> test further ? Can it be some rights that are missing ?

>>>>

>>>> Thanks for you help,

>>>> Paul-Henri

>>>

>>


×
×
  • Create New...