Support

Getting started

Arguments/configuration format

Use the following format to add your argument values:

rcp=name1@some-domain1.com,rcp=name2@some-domain2.com,wait=12,alias=mail-ny-004,id=5849q-971

or

rcp=name1@some-domain1.com,rcp=name2@some-domain2.com,rcp=0031091234567,wait=12,alias=mail-ny-004,id=5849q-971

  • rcp: email address and/or phone number to send alerts to. Max number of recipients (rcp) is specific to purchased product.
  • wait: minutes to wait before sending an alert. Default: 15.
  • id: unique id to identify client to LazyNanny. This id provided as part of the purchasing process.
  • alias: a descriptive name for the monitored device/server/application

Allowed domain and IP

During your purchasing process you (the account owner) were requested to supply the following information:

  • A list of domains to which LazyNanny is allowed to send emails. Only recipients with the allowed domains will be able to receive email messages.
  • The sender IPv4 address from where LazyNanny will be contacted? This is the external IP as seen from the internet.

The data supplied will need to match once your client tool tries to punch-in at one of LazyNanny’s servers.

Installing the client tool on your device/server

At this time only two protocols are supported: NRPE and HTTPS POST

NRPE on Windows
There are several sites that offer a NRPE client (free and paid).
One options is to download from here: https://www.nsclient.org/download
Download, unzip but do not install. The only file we will be using is check_nrpe.exe

NRPE on Linux
The official NRPE (client/server) can be found here: https://github.com/NagiosEnterprises/nrpe/releases
Make sure to download version 3 or higher.

Another option is to download the NRPE client from your Linux distribution repository eg. Centos: yum install nrpe
This will install the client (check_nrpe) and server.

HTTPS on Windows
For HTTPS to work you will need a simple HTTP client that supports POST.
One option is to download Curl: https://curl.haxx.se/download.html
Find the appropriate version for your OS. The download will include file curl.exe.
Make sure at least SSL version TLS1.2 is supported.

HTTPS on Linux
An option is to download (if not already installed) the HTTP client from your Linux distribution repository eg. Centos: yum install curl
This will install the executable HTTP client curl.
Make sure at least SSL version TLS1.2 is supported.

Connecting to LazyNanny, punch-in

Once you have a client installed on your device/server it needs to punch-in at one of LazyNanny’s servers on a regular base. For this you could use crontab on Linux or TaskScheduler on Windows – or – simply include in your monitoring tool. It is advised to set the repeat scheduling for every 5 minutes.

Scheduling using linux Crontab
/some-path/check_nrpe -t20:UNKNOWN -4 -p <port> -H39.245.175.207 -c ntype -a ‘rcp=name1@some-domain1.com,rcp=name2@some-domain2.com,rcp=0031091234567,alias=mail-ny-004,id=5849q-971′  > some_log_file  2>&1

or

/some-path/curl https://39.245.175.207:<port> –data ‘rcp=name1@some-domain1.com,rcp=name2@some-domain2.com,rcp=0031091234567,alias=mail-ny-004,id=5849q-971′ -k

Scheduling using TaskScheduler
Program/script: C:\some-path\curl-x.x.x\src\curl.exe
Arguments: https://39.245.175.207:<port> –data ‘rcp=name1@some-domain1.com,rcp=name2@some-domain2.com,rcp=0031091234567,alias=mail-ny-004,id=5849q-971′ -k -o c:\some_log_file.log

or

Program/script: cmd
Arguments: /c c:\”some path”\nscp\check_nrpe.exe host=39.245.175.207 port=<port> certificate-key=q command=ntype argument=”rcp=name1@some-domain1.com,rcp=name2@some-domain2.com,rcp=0031091234567,alias=mail-ny-004,id=5b49q-971″ > c:\some_log_file.log

Allowed domains

To which domain(s) is LazyNanny allowed to send emails.
During the purchasing process the account owner has requested to allow mail to certain domains only. Eg. if domain-x.com is (one of) the allowed domains then setting rcp=name@domain-y.com as one of the recipients will be disregarded.

Why need my sender IP

LazyNanny will allow known ip addresses to contact only. This means that you need to know your external (internet) IPv4 address.

I did receive a text message but no email

In your list of recipients you have entered phone numbers only. Products with 2 or more recipients can have a combination of emails and phone numbers. Eg.for product “2 recipients” your arguments string may look like: rcp=helpdesk@somedomain.com,rcp=001234567890 (notice the “00” followed by your country code).

Received an email but no SMS

For text/SMS’s to be send you need the products with 2 or more recipients. Make sure at least one of the recipients is a phone number (=SMS number). Depending on your product, number of SMS’s are limited per month.

I do not receive my alert mail

While purchasing the LazyNanny product you or the account owner has supplied us with a list of domains to which LazyNanny is allowed to send emails. Only recipients with the allowed domains will be able to receive email messages.

Service availability

LazyNanny.com will make reasonable efforts to make sure its products and services stay available for 24×7. Ofcourse there are also circumstances which are beyond our control…

Recent Comments