check_radius works from command line but lists Auth Error via interface

NetNITCO Systems Administration joshadmin at netnitco.net
Thu Jul 14 15:50:29 CEST 2005


Don Alfredo wrote:
> checkcommands expect arguments to be separated by ! (exclamation mark)
> e.g. 
> check_command check_radius!Username!Password
> 
I do not need to pass arguments in the check_command from the
services.cfg file as the checkcommand.cfg file already has everything
hard-coded.  The only dynamic variable to the command is $HOSTADDRESS$
which isn't passed from the services.cfg file.

As you can see in my checkcommands.cfg file, the command_line does not
have any $ARGn$ variables.


> 
> grtz,
> Fred
> 
> 
> On Monday 11 July 2005 18:05, NetNITCO Systems Administration wrote:
> 
>>My configuration for this service and command is as follows:
>>
>>services.cfg:
>>---------------
>>define service{
>>        use                             generic-service
>>        host_name                       radiushost.domain.net
>>        service_description             RADIUS
>>        is_volatile                     0
>>        check_period                    24x7
>>        max_check_attempts              3
>>        normal_check_interval           5
>>        retry_check_interval            1
>>        contact_groups                  sysadmin
>>        notification_interval           120
>>        notification_period             24x7
>>        notification_options            w,u,c,r
>>        check_command                   check_radius
>>        }
>>
>>checkcommands.cfg:
>>------------------
>>define command{
>>        command_name    check_radius
>>        command_line    $USER1$/check_radius -H $HOSTADDRESS$ -F
>>/etc/nagios/radiusclient.conf -u Username -p Password -t 10
>>
>>
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted by HP, 
> AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list