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] 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 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 1644 postParser->mycode_parse_url
[PHP]   postParser->mycode_auto_url_callback
/inc/class_parser.php 1597 preg_replace_callback
/inc/class_parser.php 524 postParser->mycode_auto_url
/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 "showimages" - Line: 811 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 811 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 816 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 816 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 816 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 "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 "showimages" - Line: 811 - File: inc/functions_post.php PHP 8.1.17 (Linux)
File Line Function
/inc/functions_post.php 811 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 816 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 816 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 816 postParser->parse_message
/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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Enable 'External Commands'

#1
I need to be able to enable 'external commands' for Nagios core. I did this when I created a 'core' Nagios install for my Pi but I don't know if I go thru the same steps, would it 'break' this distro/config?
#2
...found answer in the following:
https://assets.nagios.com/downloads/nagi...l_commands

Doesn't seem to 'break' anything and I'm now able to send 'custom' (test) alerts and 'enable/disable' notifications like I needed. 

Robbie, can we 'enable' this in the NEMS v1.4 build? ...I think most users would want this turned on/agree?
#3
This would break the API, Adagios, and several other features of NEMS that use Check_MK Livestatus. If you're exclusively using Nagios Core, that's fine... but Nagios Core's interface is pretty bad... the goal with NEMS is to get everyone eventually moved over to Adagios: a much nicer, mobile/responsive layout with easy UI. What you're doing will break that on NEMS.
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
#4
"...the goal with NEMS is to get everyone eventually moved over to Adagios..." - I cannot change email address of the admin (new) account in Adagios nor get any email alerts to work. I'm able to change the admin (new) account email from 'nagios@local' to mine using NConf. If I try to change the email address of the admin (new) in Adagios, I get the following error "OSError: [Errno 2] No such file or directory: '/var/log/nagios/archives'". As well when I change the email address in NConf and then go back to Adagios and send a test email (by choosing 'service' then 'send out email...' from the GUI/icon, I get a generic error message of "error sending mail".
#5
Sorry - I wasn't clear. The EVENTUAL goal is to migrate to Adagios. It is not yet functional and is only an "in testing" feature. Which definitely clarifies to me why you might need External Commands in Core :)

It all stems from the death of Check_MK Multisite. Originally NEMS 1.4 was going to include Multisite (as it has in the past) but I had to pull it and find an alternative (Adagios).

Adagios functionality will become a priority once NEMS 1.4.1 is complete. For now, feel free to change the conf and just be prepared to change it back again (unless you actually prefer to use Core).

Thanks!
Robbie
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
 
 
Forum Jump:

Users browsing this thread: 1 Guest(s)