|
View previous topic :: View next topic |
Author |
Message |
Stoltze
Joined: 03 Feb 2004 Posts: 174 Location: Denmark
|
Posted: Sun Jul 26, 2009 3:24 am Post subject: Auditing tool find missing variables & system log |
|
|
Hi,
A little common problem for me..
Email action uses %CommentLine2% as "To (recipients):"
If I use a variable in that field, which cannot be reolved, Auditnig tool gives me an error.
- Eg CommentLine2 = a folder variable, that looks up global variable..
But if CommentLine2 is empty I don't get an error..
Which then leads to no recipient..
So when sending email when test goes bad, I get this error in the System Log:
Code: | Error: Cannot send e-mail to . 501 5.5.4 Syntax error in address Trying to use backup SMTP server.. |
Two wishes:
1) Could it be possible to find these empty neccessary strings (Eg: email from, email to, sms Dest phone, Service: Restart service on and servicename) using Auditing tool?
2) Could it be possible to add the name of the failing test in the system log? That way, it's easy to find the misconfigured test. This also goes, if the email address doesn't exists or some other error occurs.. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Jul 27, 2009 2:23 pm Post subject: |
|
|
Quote: | Could it be possible to find these empty neccessary strings (Eg: email from, email to, sms Dest phone, Service: Restart service on and servicename) using Auditing tool? |
Empty variable is not always a problem, e.g. you may use variable as optional parameter (2nd recipient, etc). Probably we should check if entire expression is not empty string
Quote: | 2) Could it be possible to add the name of the failing test in the system log? That way, it's easy to find the misconfigured test. This also goes, if the email address doesn't exists or some other error occurs.. |
Sure. When Auditing Tools shows you test related error it shows the test and allows you to edit test settings.
Regards
Alex |
|
Back to top |
|
|
Stoltze
Joined: 03 Feb 2004 Posts: 174 Location: Denmark
|
Posted: Mon Jul 27, 2009 2:26 pm Post subject: |
|
|
KS-Soft wrote: | Empty variable is not always a problem, e.g. you may use variable as optional parameter (2nd recipient, etc). Probably we should check if entire expression is not empty string | Correct. Empty not always bad. Bad nothing at all in eg these fields that I mentioned, that's not good.. |
|
Back to top |
|
|
Stoltze
Joined: 03 Feb 2004 Posts: 174 Location: Denmark
|
Posted: Mon Jul 27, 2009 2:32 pm Post subject: |
|
|
KS-Soft wrote: | Quote: | 2) Could it be possible to add the name of the failing test in the system log? That way, it's easy to find the misconfigured test. This also goes, if the email address doesn't exists or some other error occurs.. |
Sure. When Auditing Tools shows you test related error it shows the test and allows you to edit test settings. | Yes. If auditing tool can find the errors that would cause these errors in the system log, then that would problably be even better, than making changes to the system log.. |
|
Back to top |
|
|
greyhat64
Joined: 14 Mar 2008 Posts: 246 Location: USA
|
Posted: Wed Aug 12, 2009 9:04 am Post subject: |
|
|
Alex,
Your right about empty variables not always being bad, but shouldn't an auditing tool also point out anything that might be suspicious?
Even though I use them copiously, in my mind an empty variable would qualify as suspicous. I'm sure there are other non-Critical audit results that might fall under this same umbrella. For instance, tests or entire folders that have been disabled for a long period of time.
Of course the other requirement of such a change would be the ability to optionally sort/filter these audit results to only show 'Critical' results, to hide certain classes of results (i.e. user defined variables), or to flag specific results or classes as 'OK'.
Just a suggestion for a tool that has already proved invaluable. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Aug 12, 2009 10:45 am Post subject: |
|
|
Yes, probably you are right. We can add some "strong check" option...
Regards
Alex |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|