Page 2 of 2
Re: How to add DDos Monitoring Service
Posted: Tue Jan 06, 2015 1:28 pm
by scottwilkerson
Ok, you cannot define a service without defining the host first, you need to add something like:
Code: Select all
define host {
host_name XYZ
use generic-host
address 192.168.1.1
max_check_attempts 5
check_interval 5
retry_interval 1
contacts nagiosadmin
notification_interval 60
register 1
}
This is just an example, you would need to define the host to YOUR specifications.
Re: How to add DDos Monitoring Service
Posted: Wed Jan 07, 2015 12:14 am
by rlinux57
Host is already added. There's no problem in host.
i've run this command on host.
/usr/local/nagios/libexec/./check_ddos.pl -w 50 -c 60
[Output]
No DDOS attack detected (0/50).
Now its commands are accepted by nagios server. But getting error on nagstamon "no output returned from plugin"
Re: How to add DDos Monitoring Service
Posted: Wed Jan 07, 2015 5:59 pm
by sreinhardt
Can you post the following config please?
Code: Select all
/etc/nagios/servers/webs-services.cfg
Also if you could run the following:
Re: How to add DDos Monitoring Service
Posted: Thu Jan 08, 2015 7:08 am
by rlinux57
Now it seems to be okay, do you have ddos generating script for counter check ddos nagios plugin.?
Re: How to add DDos Monitoring Service
Posted: Thu Jan 08, 2015 12:55 pm
by tmcdonald
A DDoS script is not something we are going to post on this forum, but a Google search will undoubtedly come up with something.
Re: How to add DDos Monitoring Service
Posted: Thu Jan 08, 2015 10:17 pm
by rlinux57
Now you can mark up this post and closed.
Thanks for your coperation.