[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nagios



> show us your nagios host definition

Hello

as follows:

define host {
        use                             linux-server
        host_name                    exampletest0
        alias                             exampletest0
        address                         88.99.84.60
        contacts                        nagiosadmin,gokhan,gokhanmail
        max_check_attempts              1
        check_period                    24x7
        notification_interval           30
        notification_period             24x7
}

define service {
        use                             generic-service
        host_name                      exampletest0
        service_description             CPU load
        check_command                   check_nrpe!check_load
}

define service {
        use                             generic-service
        host_name                       exampletest0
        service_description             Total Progress
        check_command                   check_nrpe!check_total_procs
}



On Tue, Mar 6, 2018 at 4:44 PM, emmanuel segura <emi2fast@gmail.com> wrote:
> show us your nagios host definition
>
> 2018-03-06 14:26 GMT+01:00 Gokan Atmaca <linux.gokan@gmail.com>:
>>
>> > Been a while since I've dealt with nagios, but don't you have to restart
>> > / reload it in order for it to read teh config files again?
>>
>> hello
>>
>> I restarted and reloaded. Nothing changed.
>>
>> thanks.
>>
>> On Tue, Mar 6, 2018 at 2:40 PM, Dan Purgert <dan@djph.net> wrote:
>> > Gokan Atmaca wrote:
>> >> hello
>> >>
>> >> I added 5 servers to Nagios. When I add the sixth, I can not see it in
>> >> the web interface. But when I check it, it seems to exist. What would
>> >> be the reason ?
>> >
>> > Been a while since I've dealt with nagios, but don't you have to restart
>> > / reload it in order for it to read teh config files again?
>> >
>> >
>> > --
>> > |_|O|_| Registered Linux user #585947
>> > |_|_|O| Github: https://github.com/dpurgert
>> > |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281
>> >
>>
>
>
>
> --
>   .~.
>   /V\
>  //  \\
> /(   )\
> ^`~'^


Reply to: