Its not been working for me from even command line..
Please help me...
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a 'Sites 0 sites01,oldsite'
CRITICAL: Argument: Sites Value: 0 Error: Illegal arguments detected: Sites
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a 'Sites sites01,oldsite'
CRITICAL: Argument: Sites Value: sites01 oldsite Error: Illegal arguments detected: Sites
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a 'Sites RealTimeService'
CRITICAL: Argument: Sites Value: RealTimeService Error: Illegal arguments detected: Sites
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a 'AppPool RealTimeService'
CRITICAL: Argument: AppPool Value: RealTimeService Error: Illegal arguments detected: AppPool
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a 'AppPool' RealTimeService
CRITICAL: Script needs mandatory parameters to work.
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a AppPool RealTimeService
CRITICAL: Script needs mandatory parameters to work.
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a AppPool 'RealTimeService'
CRITICAL: Script needs mandatory parameters to work.
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a 'Sites RealTimeService'
CRITICAL: Argument: Sites Value: RealTimeService Error: Illegal arguments detected: Sites
[root@Nagios-VM libexec]# ./check_nrpe -H 1.2.3.4 -t 30 -c check_iis -a 'Sites 0 MagentoAPICheck ,RealTimeService'
CRITICAL: Argument: Sites Value: 0 Error: Illegal arguments detected: Sites
IIS sites monitoring
Re: IIS sites monitoring
Please show us your testing over the command line on the Windows machine, if you cannot get it working here then we're a bit stuck for the help we can provide, as this is a third party plugin.
Former Nagios Employee
Re: IIS sites monitoring
command on client side..
.\check_iis.ps1 -checktype AppPool -Exclude AXREALTIMESTATUS -Debugmode $true
OK: All Application Pools are running. [33]
command on nagios xi is also attached.
result is not printing on nagios xi screen.
.\check_iis.ps1 -checktype AppPool -Exclude AXREALTIMESTATUS -Debugmode $true
OK: All Application Pools are running. [33]
command on nagios xi is also attached.
result is not printing on nagios xi screen.
You do not have the required permissions to view the files attached to this post.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: IIS sites monitoring
Can you show the output client side with the same arguments your trying to pass?
What does your nsclient.log show?
What does your nsclient.log show?
Previous Nagios employee
Re: IIS sites monitoring
Can you login to the Nagios server, run the following command and post the output? Replace xxx.xxx.xxx.xxx with the IP address of the windows server.
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -t 30 -c check_iis -a '-checktype AppPool -Exclude AXREALTIMESTATUS -Debugmode $true'Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: IIS sites monitoring
Hello,
This issue was resolved.
Thanks alot for your help.
You may close this thread.
This issue was resolved.
Thanks alot for your help.
You may close this thread.