The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.17 (Linux)
File Line Function
/global.php 94 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.17 (Linux)
File Line Function
/global.php 573 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 749 - File: global.php PHP 8.1.17 (Linux)
File Line Function
/global.php 749 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.1.17 (Linux)
File Line Function
/global.php 889 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.1.17 (Linux)
File Line Function
/global.php 889 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined variable $unreadreports - Line: 45 - File: global.php(956) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/global.php(956) : eval()'d code 45 errorHandler->error
/global.php 956 eval
/showthread.php 28 require_once
Warning [2] Undefined variable $awaitingusers - Line: 47 - File: global.php(956) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/global.php(956) : eval()'d code 47 errorHandler->error
/global.php 956 eval
/showthread.php 28 require_once
Warning [2] Undefined array key "style" - Line: 1021 - File: global.php PHP 8.1.17 (Linux)
File Line Function
/global.php 1021 errorHandler->error
/showthread.php 28 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 1021 build_theme_select
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1997 - File: inc/functions.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions.php 1997 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 669 mark_thread_read
Warning [2] Trying to access array offset on value of type null - Line: 488 - File: inc/db_mysqli.php PHP 8.1.17 (Linux)
File Line Function
/inc/db_mysqli.php 488 errorHandler->error
/showthread.php 762 DB_MySQLi->fetch_field
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(772) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/showthread.php(772) : eval()'d code 5 errorHandler->error
/showthread.php 772 eval
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined variable $nofollow - Line: 1 - File: inc/class_parser.php(1138) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/class_parser.php(1138) : eval()'d code 1 errorHandler->error
/inc/class_parser.php 1138 eval
/inc/class_parser.php 1154 postParser->mycode_parse_url
[PHP]   postParser->mycode_parse_url_callback1
/inc/class_parser.php 491 preg_replace_callback
/inc/class_parser.php 201 postParser->parse_mycode
/inc/functions_post.php 785 postParser->parse_message
/showthread.php 1126 build_postbit
Warning [2] Undefined variable $nofollow - Line: 1 - File: inc/class_parser.php(1138) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/class_parser.php(1138) : eval()'d code 1 errorHandler->error
/inc/class_parser.php 1138 eval
/inc/class_parser.php 1154 postParser->mycode_parse_url
[PHP]   postParser->mycode_parse_url_callback1
/inc/class_parser.php 491 preg_replace_callback
/inc/class_parser.php 201 postParser->parse_mycode
/inc/functions_post.php 785 postParser->parse_message
/showthread.php 1126 build_postbit
Warning [2] Undefined variable $nofollow - Line: 1 - File: inc/class_parser.php(1138) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/class_parser.php(1138) : eval()'d code 1 errorHandler->error
/inc/class_parser.php 1138 eval
/inc/class_parser.php 1154 postParser->mycode_parse_url
[PHP]   postParser->mycode_parse_url_callback1
/inc/class_parser.php 491 preg_replace_callback
/inc/class_parser.php 201 postParser->parse_mycode
/inc/functions_post.php 785 postParser->parse_message
/showthread.php 1126 build_postbit
Warning [2] Undefined variable $nofollow - Line: 1 - File: inc/class_parser.php(1138) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/class_parser.php(1138) : eval()'d code 1 errorHandler->error
/inc/class_parser.php 1138 eval
/inc/class_parser.php 1154 postParser->mycode_parse_url
[PHP]   postParser->mycode_parse_url_callback1
/inc/class_parser.php 491 preg_replace_callback
/inc/class_parser.php 201 postParser->parse_mycode
/inc/functions_post.php 785 postParser->parse_message
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 1126 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1568 - File: showthread.php PHP 8.1.17 (Linux)
File Line Function
/showthread.php 1568 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1600) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 30 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $addremovesubscription - Line: 55 - File: showthread.php(1600) : eval()'d code PHP 8.1.17 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 55 errorHandler->error
/showthread.php 1600 eval



Hello There, Guest! Login Register
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Monitoring Setup Help

#1
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
#2
Any ideas chaps? Any help would be appreciated!
#3
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
#4
I'll give this a go, much appreciated!
 
 
Forum Jump:

Users browsing this thread: 1 Guest(s)