Search found 58 matches

by imadc
Tue Jun 09, 2020 11:02 am
Forum: Nagios XI
Topic: Email Notification website address and arguments in Email
Replies: 1
Views: 290

Email Notification website address and arguments in Email

Hello Team We have websites that are being monitored over time and alert us in email if site is down for example: HOSTADDRESS= www.test.com $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ -t 120 $ARG1$ = -f ok -u '/test/default.aspx' -S -p 443 How can we add the argument parameter in the email notificati...
by imadc
Mon Mar 16, 2020 8:27 am
Forum: Nagios XI
Topic: check_unread_mails Plugin in NagiosXI
Replies: 1
Views: 201

check_unread_mails Plugin in NagiosXI

Hello Team I am trying to use this plugin: https://exchange.nagios.org/directory/Plugins/Email-and-Groupware/check_unread_mails/details I am getting the following error, do you if any prerequisites needed for this plugin? do we need perl? [root@prodnagios libexec]# ./check_unread_mails.pl -bash: ./c...
by imadc
Thu Mar 12, 2020 10:45 am
Forum: Nagios XI
Topic: NTP Check on Windows Servers with NCPA agents
Replies: 15
Views: 2478

Re: NTP Check on Windows Servers with NCPA agents

Let me ask them if any GPO related blocking this

question is there a wait to run the bat as administrator maybe that will force the arguments ?
by imadc
Tue Mar 10, 2020 12:47 pm
Forum: Nagios XI
Topic: NTP Check on Windows Servers with NCPA agents
Replies: 15
Views: 2478

Re: NTP Check on Windows Servers with NCPA agents

Both worked. CHeck below - [root@rdnagios libexec]# ./check_ncpa.py -H XXX -t XYZ -M 'plugins/hello1.bat' -q 'args=Hello,args= World' -v Connecting to: https://10.90.112.22:5693/api/plugins/hello1.bat/?token=xXX58UPa&check=1&args=Hello&args=+World File returned contained: { "returnc...
by imadc
Tue Mar 10, 2020 11:42 am
Forum: Nagios XI
Topic: NTP Check on Windows Servers with NCPA agents
Replies: 15
Views: 2478

Re: NTP Check on Windows Servers with NCPA agents

Yes same output, [root@rdnagios libexec]# ./check_ncpa.py -H X>X>X>X -t XYZ -M 'plugins/check_windows_time.bat' -q 'args=pool.ntp.org,args=120,args=300' "C:\Program Files (x86)\Nagios\NCPA\plugins\check_windows_time.bat" - Nagios plugin that checks time offset against a specified ntp serve...
by imadc
Tue Mar 10, 2020 9:26 am
Forum: Nagios XI
Topic: NTP Check on Windows Servers with NCPA agents
Replies: 15
Views: 2478

Re: NTP Check on Windows Servers with NCPA agents

Please find the attached ncpa.cfg of the target server
by imadc
Mon Mar 09, 2020 3:33 pm
Forum: Nagios XI
Topic: NTP Check on Windows Servers with NCPA agents
Replies: 15
Views: 2478

Re: NTP Check on Windows Servers with NCPA agents

Connecting to: https://10.90.112.xx:5693/api/plugins/check_windows_time.bat/?token=token&check=1&args=10.1.1.x&args=60&args=120 File returned contained: { "returncode": 3, "stdout": "\"C:\\Program Files (x86)\\Nagios\\NCPA\\plugins\\check_windows_time.ba...
by imadc
Mon Mar 09, 2020 12:45 pm
Forum: Nagios XI
Topic: NTP Check on Windows Servers with NCPA agents
Replies: 15
Views: 2478

Re: NTP Check on Windows Servers with NCPA agents

The requested steps were done

Please find attached logs
by imadc
Mon Mar 09, 2020 10:09 am
Forum: Nagios XI
Topic: NTP Check on Windows Servers with NCPA agents
Replies: 15
Views: 2478

Re: NTP Check on Windows Servers with NCPA agents

Thanks for sharing the right plugin After placing the plugin on the target windows server I am getting this when trying it on my end not sure what I am doing wrong. Can you idenify any wrong syntax? [root@rdnagios libexec]# ./check_ncpa.py -H X.X.X.X -t Token -M 'plugins/check_windows_time.bat' -q '...
by imadc
Sat Mar 07, 2020 2:45 am
Forum: Nagios XI
Topic: NTP Check on Windows Servers with NCPA agents
Replies: 15
Views: 2478

NTP Check on Windows Servers with NCPA agents

Hello On the monitored windows 2012 Servers The plugin check_ntp_time.c'is placed Under C:\Program Files (x86)\Nagios\NCPA\plugins Then when testing from NagiosXI to see if we can get the offset time from NTP /usr/local/nagios/libexec/check_ncpa.py -H remotehost -t code-P 5693 -M 'plugins/check_ntp_...