Skip to content

Commit 96c5c3c

Browse files
committed
Update passivecheck reciever to fix error/connection problem
1 parent 1c0ea48 commit 96c5c3c

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.0.5 - 10/14/2021
2+
------------------
3+
- Updated jQuery to version 3.6.0 -JO
4+
- Fixed spooled passive check reciever for Naigos XI erroring/not connecting to NDO db -JO
5+
16
2.0.4 - 02/12/2020
27
------------------
38
- Updated Bootstrap to version 4.6.0

server/includes/jquery-3.5.1.min.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

server/includes/jquery-3.6.0.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function display_form()
156156
<html>
157157
<head>
158158
<title>Nagios Remote Data Processor</title>
159-
<script type="text/javascript" src="includes/jquery-3.5.1.min.js"></script>
159+
<script type="text/javascript" src="includes/jquery-3.6.0.min.js"></script>
160160
<link href="includes/bootstrap-4.6.0.min.css" rel="stylesheet" />
161161
<script type="text/javascript" src="includes/bootstrap-4.6.0.bundle.min.js"></script>
162162
<style>

server/plugins/nagioscorepassivecheck/nagioscorepassivecheck.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
*
2626
*****************************************************************************/
2727

28+
define("CFG_ONLY", 1);
2829
require_once(dirname(__FILE__) . "/../../config.inc.php");
2930
require_once(dirname(__FILE__) . "/../../includes/utils.inc.php");
3031

@@ -291,7 +292,7 @@ function nrdp_write_check_output_to_ndo($hostname, $servicename, $state, $output
291292

292293
$dbserver = grab_array_var($ndodb, "dbserver");
293294
$user = grab_array_var($ndodb, "user");
294-
$pass = grab_array_var($ndodb, "pass");
295+
$pass = grab_array_var($ndodb, "pwd");
295296
$db = grab_array_var($ndodb, "db");
296297

297298

0 commit comments

Comments
 (0)