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 . 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
Monitoring Setup Help
RE: Monitoring Setup Help
Any ideas chaps? Any help would be appreciated!
Last edited by RPTee on Sat May 19, 2018 11:11 am, edited 1 time in total.
-
- Member
- Posts: 89
- Joined: Sun Mar 18, 2018 12:02 am
RE: Monitoring Setup Help
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
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
I'll give this a go, much appreciated!