|
View previous topic :: View next topic |
Author |
Message |
CapQwerty
Joined: 14 Dec 2005 Posts: 36
|
Posted: Wed Feb 24, 2010 6:56 pm Post subject: Problem with single % character in UNC test name |
|
|
We've encountered a bug when using a single % character in the test name of a UNC test.
We are using the UNC free space test to check the amount of free space on an Unix mount point. In the alert profile, we have an action to execute an external program which sends out an alert. The command line to execute includes the %TestName% macro so we know which test has gone bad.
- If the test name has no % characters in it then everything works fine (e.g. the test name comes through to the command line as "machine /var free space")
- If the test name has a single % character in it then the command line turns into gibberish where the % character should be (e.g. "machine /var 9:57 AM9r10499ol25]]><-57a210><9:57 AMi210><![2010-02-25 09:57:49 AM25A9:57 AMA[2010-02-25 09:57:49 A2]]><-9:57 AMi210><499:57 AMa9:57 AMu49....")
- If the test name has a double % character (%%) then everything works fine and it comes through as a single % character (e.g. "machine /var % free space")
- Any macros in the test name (e.g. %agent%) work fine
- If the test type is something other than UNC (e.g. CPU, WMI) then using a single % character in the name is fine
We are running HostMonitor v. 8.32 as a service on Windows Server 2003 R2 Enterprise Edition w/ SP2. The test is being executed by an RMA running on AIX. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Thu Feb 25, 2010 5:47 pm Post subject: |
|
|
We cannot reproduce the problem. May we see your settings? You may send HML file with tests and actions.lst file to support@ks-soft.net
Quote: | If the test type is something other than UNC (e.g. CPU, WMI) then using a single % character in the name is fine |
Actually all variables processed by the same module, %TestName% variable works in the same way for all test methods...
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
|