Category5.TV Community Forum
Monitoring Setup Help - Printable Version

+- Category5.TV Community Forum (https://forum.category5.tv)
+-- Forum: NEMS - Nagios Enterprise Monitoring Server (https://forum.category5.tv/forum-8.html)
+--- Forum: Help and Support (https://forum.category5.tv/forum-9.html)
+--- Thread: Monitoring Setup Help (/thread-222.html)



Monitoring Setup Help - RPTee - 04-29-2018

Hi All,

Novice questions inbound!

I've come from a PRTG installation for monitoring my home network to NEMS. Reason being is the PRTG monitor is installed on a Hyper-V guest machine on my main computer which I turn off when not in use due to power consumption, NEMS seems to make more sense due to the RPi size and power consumption.

Right, I'm completely new to NEMS and Nagios itself, I've some knowledge of Linux but non for this type of software Sad. I've had a gander through the NEMS installation but it's all very confusing.

Is there any documentation out there I can read up on to set up the NEMS installation to monitor devices on my network? I'm mainly looking for Ping for up time, anything else would be a plus.

If this is the wrong place to post for help my apologies.

Ryan


RE: Monitoring Setup Help - RPTee - 05-19-2018

Any ideas chaps? Any help would be appreciated!


RE: Monitoring Setup Help - ronjohntaylor - 05-20-2018

Hi,
There is documentation but it's pretty much scattered at the moment.

I will try to give you the basics to follow.

1.   Using a Raspberry Pi 3

2.    Download the most current version of NEMS from the NEMS Linux web site.
3.   Unzip and “Burn” the image to your 16GB Micro SD card using your usual Imaging tools (e.g. Win32DiskImager).
4.   Insert the new SD card into RPi and Boot your NEMS Linux server.
5.   Login to NEMS Linux console by either connecting a monitor and keyboard, or using ssh. The default username and password are both nemsadmin.


Enter sudo nems-init and follow the prompts.

When done here...

Use the Systems Setting (Under Configuration) Tool to set up you email. 

Next use NCONF (Under Configuration) to set up the hosts you want to PING.
In NCONF don't forget to update the CONTACTS to reflect you email address or you won't get emails.

Definitions

Configuring notifications in NEMS (or Nagios for that matter) requires a knowledge of what the single-character options mean. Here is an overview:

When you see w,u,c,r,f,n these are the definitions:

§ w Notify if in warning state,

§ u Notify if in unknown state,

§ c Notify if in critical state,

§ f Notify if the service is flapping (on and off and on and off)

§ n None… don't notify.

When you see d,u,r,f,s,n these are the definitions:

§ d Notify if host is down,

§ u Notify if host is unreachable (eg. Internet down),

§ r Notify upon recovery,
§ f Notify if the host is flapping


Brief I know but hope it helps.

Cheers
RT


RE: Monitoring Setup Help - RPTee - 05-21-2018

I'll give this a go, much appreciated!