Create a Event by mail or command

General chat about HostMonitor
Post Reply
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Create a Event by mail or command

Post by MirkoW »

Hi, it is able to create an event or entry into Hostmonitor by Mail or Command?

for example sending mails to hostmonitor like SNMP Trap-Listener ? or a command that create a entry in hostmonitor?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

"Entry"? Do you mean "Test item"?
HostMonitor can import test properties from special text file, like this: http://www.ks-soft.net/hostmon.eng/examples/import1.htm

If you can create/provide such file then you may setup HostMonitor to import test items automatically. E.g. you may use "File/Folder Availability" or "File Integrity" tests to detect updated import file and use HMScript action to import test properties (ImportFromFile command)
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

no i mean a method to receive alerts via mail etc.

for example i'm running an update or backup script under unix/solares etc. and i want to send a message if the updates are failed. so hostmon is checking for mails or waiting for mails (or a check-incomming-mail testitem) so hostmonitor can log these errors.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

There is no "check-incomming-mail" test method.
There is complette list of test methods:
http://www.ks-soft.net/hostmon.eng/index-tests.htm

If you want to send messages from some other application (started on remote system) to HostMonitor, you may use SNMP Trap messages.

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

hi,

i know the list of all test methods. but it is able to create a new test method with incomming mails in the next versions of HM ? or a command-line application wo want to send a message to hostmonitor and HM want to create a alert ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I don't think we will be able to implement this option in next version. May be version 8.50.. not sooner.

If your application can start external command, why you do not want to use SNMP Trap message? I think you can easily find command line utility that allows you to send SNMP Trap messages to HostMonitor.

Actually, you may install RMA on that UNIX system and forward alerts from your application to HostMonitor using some other test method...

Regards
Alex
Post Reply