KEYWORD
|
DESCRIPTION |
TYPE |
logfile |
the path and name of the nsmon logfile. (logfile=/nsmon/nsmon.log) |
global required |
lock |
the path of the nsmon lockfiles. (lock=/nsmon/lock) |
global required |
servername |
It will be the sender of the mails. It have to be a real address because some intelligent mailer checks is. (servername=pluto.somogy.hu) |
global required |
username |
It will be the sender of the mails. (username=root) |
global required |
gateway |
Before every port or ping check nsmon checks the gateway ping. It has to be a 123.123.123.123 ip address because if there is no DNS there can be some problem. (gateway=193.91.74.3) |
global required |
checkhost |
Checkhost is a beginer word of a section. Begins with checkhost { and ends with a } |
global required |
name |
Name of the host what you want to check. NsMon will get its inet address at first time, so there will be no DNS problem during the tests. (name=mail.somogy.hu) |
member of checkhost required |
email |
The "To:" field of the mail header (email=123123@sms.pgsm.hu) |
member of checkhost required |
smtpserver |
The smtp mail server. (smtpserver=localhost) |
member of checkhost required |
sendalarmtime |
If your checkhost is down nsmon wont send you email in every check time, just the first time and in every sendalarmtime min. (sendalarmtime=60) |
member of checkhost required |
pingtimeout |
Timeout of the ping test in sec. (pingtimeout=15) |
member of checkhost depends on pintest |
pingtest |
Test ping in every pingtest min. (pingtest=5) |
member of checkhost depends on pingtimeout |
portchecktime |
Check ports in every portchecktime min. (portchecktime=3) |
member of checkhost depends on portcheck |
portcheck |
Portcheck is a section to declare those ports which you want to check in this checkhost. Example:
portcheck = (
80 = http
25 = smtp
)
It checks port 80 called http in the logfile and port 25 called smtp.
|
member of checkhost depends on portchecktime |
Now let's see an example: