Re: IIS sites monitoring
Posted: Fri Dec 16, 2016 12:22 am
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
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