Search found 6 matches

by macling66
Thu Feb 21, 2013 8:44 pm
Forum: Open Source Nagios Projects
Topic: NRDP server side ==> GET OK , POST not OK
Replies: 10
Views: 4623

Re: NRDP server side ==> GET OK , POST not OK

Finally it's work !!!!

Thank you very much Scott !!!



03_Current_Users_Pnrdp

Active checks of the service have been disabled - only passive checks are being accepted
WARNING 02-22-2013 08:40:48 0d 0h 0m 18s 1/3 WARNING: Danger Will Robinson!
by macling66
Wed Feb 20, 2013 11:26 pm
Forum: Open Source Nagios Projects
Topic: NRDP server side ==> GET OK , POST not OK
Replies: 10
Views: 4623

Re: NRDP server side ==> GET OK , POST not OK

ls -ld /usr/local/nagios/var/spool/checkresults
drwxr-xr-x 2 nagios nagios 4096 Feb 21 11:23 /usr/local/nagios/var/spool/checkresults

cat /etc/group|grep nag
wheel:x:10:root,nagios
nagios:x:498:apache
nagcmd:x:501:nagios
by macling66
Tue Feb 19, 2013 9:37 pm
Forum: Open Source Nagios Projects
Topic: NRDP server side ==> GET OK , POST not OK
Replies: 10
Views: 4623

Re: NRDP server side ==> GET OK , POST not OK

sure ... echo command : echo "`date +[%s]` PROCESS_SERVICE_CHECK_RESULT;NMS1-10.147.252.11;03_Current_Users_Pnrdp;0;test" > /usr/local/nagios/var/rw/nagios.cmd nagios.log [1361327411] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;NMS1-10.147.252.11;03_Current_Users_Pnrdp;0;test [136132741...
by macling66
Thu Feb 14, 2013 8:48 pm
Forum: Open Source Nagios Projects
Topic: NRDP server side ==> GET OK , POST not OK
Replies: 10
Views: 4623

Re: NRDP server side ==> GET OK , POST not OK

more index.php <?php // // Nagios Remote Data Processor (NRDP) // Copyright (c) 2010 Nagios Enterprises, LLC. // // License: Nagios Open Software License <http://www.nagios.com/legal/licenses> // // $Id: index.php 12 2010-06-19 04:19:35Z egalstad $ more config.inc.php <?php // NRDP Config File // Co...
by macling66
Thu Feb 14, 2013 1:09 am
Forum: Open Source Nagios Projects
Topic: NRDP server side ==> GET OK , POST not OK
Replies: 10
Views: 4623

Re: NRDP server side ==> GET OK , POST not OK

the directory is same.

config.inc.php
$cfg["check_results_dir"]="/usr/local/nagios/var/spool/checkresults";

nagios.cfg
check_result_path=/usr/local/nagios/var/spool/checkresults
by macling66
Tue Feb 12, 2013 10:18 pm
Forum: Open Source Nagios Projects
Topic: NRDP server side ==> GET OK , POST not OK
Replies: 10
Views: 4623

NRDP server side ==> GET OK , POST not OK

I have Configure NRDP in Server side Submit Nagios Command / http get request ==> OK <result><status>0</status><message>OK</message></result> [1360724821] EXTERNAL COMMAND: DISABLE_HOST_NOTIFICATIONS;somehost Submit Check Data / http post request ==> NOT OK <result><status>0</status><message>OK</mes...