KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Reports, scheduled actions

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Stoltze



Joined: 03 Feb 2004
Posts: 174
Location: Denmark

PostPosted: Thu Apr 21, 2005 11:41 am    Post subject: Reports, scheduled actions Reply with quote

Hi Alex,

Some questions from me. Maybe it has been answered before...

1. When using macros for the output of reports, it's not working with macros. Eg global reports, need to place them in a new directory each month. Output too: c:\data\%dd%\boss.htm gives me the following error:
Error: Cannot create file "C:\data\21\rep-boss.htm"
But using the macros with logs, works fine. Any ideas?

2. I would like to monitor eg Disk Space every 24 hour. But I can only do so every 23:59:59 Is this the solution?

3. If I would like to make sure, that the test only runs at night, how can I make sure of this? I have tried this earlier, but then the test showed out of schedule or something like that. What would be the correct way to do this?

4. Can I chech the status of a job, eg backup job, running in a MSSQL server?

5. Can I check the status of job, scheduled by "Scheduled Tasks" in Windows?

I believe this is it for now. It's totally gret what you have done with version 5.x Especially the Acknowledgements part!!

Regards,
Stoltze
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Apr 21, 2005 3:32 pm    Post subject: Reply with quote

Quote:
1. When using macros for the output of reports, it's not working with macros. Eg global reports, need to place them in a new directory each month. Output too: c:\data\%dd%\boss.htm gives me the following error:
Error: Cannot create file "C:\data\21\rep-boss.htm"
But using the macros with logs, works fine. Any ideas?


According to this error message, HostMonitor resolves macros (you see "21", not "%dd" in the path). I assume HostMonitor says "cannot create file" because directory "21" doesn't exist.

Quote:
2. I would like to monitor eg Disk Space every 24 hour. But I can only do so every 23:59:59 Is this the solution?


HostMonitor needs a second to execute test. So 23:59:59+1sec = 24 hours.
But its not precise. If you have a lot of tests, some tests can be performed a little later.

Quote:
3. If I would like to make sure, that the test only runs at night, how can I make sure of this? I have tried this earlier, but then the test showed out of schedule or something like that. What would be the correct way to do this?


You should create schedule that allows test execution every day between 9:00 and 9:10 (just for example). Assign this schedule to the test and setup test interval longer than allowed test interval (9:10-9:00=10min, so test interval should be > 10 min, e.g. 15 min).

Quote:
Can I chech the status of a job, eg backup job, running in a MSSQL server?


I think this backup job adds record into NT Event log. So, you may use NT Event Log test method to check result...

Quote:
Can I check the status of job, scheduled by "Scheduled Tasks" in Windows?


In general this is impossible. Some applications may record log messages, Event Log messages, send SNMP Traps. You will be able to check this tasks. Other programs does not report result in any way, so you cannot monitor that tasks.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Stoltze



Joined: 03 Feb 2004
Posts: 174
Location: Denmark

PostPosted: Thu Apr 21, 2005 3:38 pm    Post subject: Reply with quote

KS-Soft wrote:
Quote:
1. When using macros for the output of reports, it's not working with macros. Eg global reports, need to place them in a new directory each month. Output too: c:\data\%dd%\boss.htm gives me the following error:
Error: Cannot create file "C:\data\21\rep-boss.htm"
But using the macros with logs, works fine. Any ideas?


According to this error message, HostMonitor resolves macros (you see "21", not "%dd" in the path). I assume HostMonitor says "cannot create file" because directory "21" doesn't exist.


I tried it today, so AHM resolves %dd% into 21 for todays date. But it doesn't create a directory for it. But when logging to eg c:\data\%dd%\1-log.txt , it working perfectly.

Should there be a difference between reports and logs capabilities to create directories?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Apr 21, 2005 3:43 pm    Post subject: Reply with quote

Yes, HostMonitor does not create directories for reports.
Probably we can add option in next version

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Stoltze



Joined: 03 Feb 2004
Posts: 174
Location: Denmark

PostPosted: Thu Apr 21, 2005 3:52 pm    Post subject: Reply with quote

Oh yes, that would be a very nice thing..
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Apr 22, 2005 5:16 am    Post subject: Reply with quote

Ok, update available at www.ks-soft.net/download/hm527.zip
I would recommend
1) install version 5.26 before applying this update
2) make backup copy of the settings (*.LST, *.INI, *.HML files), in case you decide to downgrade later. HostMonitor makes backup copy when it converts file into new format, but 2 copies is better. Just in case...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Stoltze



Joined: 03 Feb 2004
Posts: 174
Location: Denmark

PostPosted: Fri Apr 22, 2005 10:38 am    Post subject: Reply with quote

KS-Soft wrote:
Ok, update available


Alex, you keep amazing me with your speed..

And it's just working great...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

KS-Soft Forum Index