Search found 10 matches

by swalker76
Thu Jul 20, 2017 5:25 pm
Forum: Nagios XI
Topic: Event Handler Not Working
Replies: 8
Views: 840

Re: Event Handler Not Working

It's usually the event handler script that has a logic issue in it, please attach it so that we can review it. Please add this to the very top (below the #!/bin/bash line): echo "`date +%s%3N` - Made it" >> /tmp/EVENT_HANDLER_OUTPUT.txt Then force a check or force it to execute and you sh...
by swalker76
Thu Jul 20, 2017 4:40 pm
Forum: Nagios XI
Topic: Event Handler Not Working
Replies: 8
Views: 840

Re: Event Handler Not Working

In the service check, do you have the setting to enable the Event Handler? To check this, go to the Core Config Manager and open the service. Click on the Check Settings tab and verify that the service has the event handler configures and enabled. If you still have the issue, can you post the confi...
by swalker76
Thu Jul 20, 2017 2:41 pm
Forum: Nagios XI
Topic: Event Handler Not Working
Replies: 8
Views: 840

Re: Event Handler Not Working

I changed the permissions for the Nagios user so they can run the script on the remote machine. I also changed the permissions so the user can connect to that machine via ssh. Retested the script for the Nagios XI server as the Nagios user and the script worked as expected. I then stopped the Cold F...
by swalker76
Thu Jul 20, 2017 1:22 pm
Forum: Nagios XI
Topic: Event Handler Not Working
Replies: 8
Views: 840

Re: Event Handler Not Working

Thanks for the information.

It may be permissions related. I just tried to run the script as the Nagios user and it failed. I'll make some changes and update this once I can retry.

Thanks!!
by swalker76
Thu Jul 20, 2017 11:47 am
Forum: Nagios XI
Topic: Event Handler Not Working
Replies: 8
Views: 840

Event Handler Not Working

Hi - I'm trying to create an event handler that runs a restart script when Nagios XI finds the web server in a CRITICAL state. I'm new to this so I found documentation and set up the handler based on what I read. When the HTTP service goes down the handler does not run. I can't seem to figure out wh...
by swalker76
Mon Apr 17, 2017 9:42 am
Forum: Nagios Network Analyzer
Topic: No data found - Cisco 2811 router
Replies: 9
Views: 3630

Re: No data found - Cisco 2811 router

tacolover101 wrote:using a tcpdump, are you able to see the data either sending or receiving at the firewall or NNA level?
No. I've discovered a problem with the configuration of the router that I'm addressing now to see if that helps.

Thanks -
Steve
by swalker76
Fri Apr 14, 2017 3:15 pm
Forum: Nagios Network Analyzer
Topic: No data found - Cisco 2811 router
Replies: 9
Views: 3630

Re: No data found - Cisco 2811 router

That would be my guess as well. Verify that the setting in the router are correct for the NNA server's IP address and the port. Post the config so we can view the settings as well as the output from this command run on the NNA server. ps -ef --cols=300 Here's what I used to configure the router: co...
by swalker76
Fri Apr 14, 2017 1:57 pm
Forum: Nagios Network Analyzer
Topic: No data found - Cisco 2811 router
Replies: 9
Views: 3630

Re: No data found - Cisco 2811 router

10 miliseconds wouldn't stop the capture. I am talking more like 5 to 10 minutes. Try stopping the firewall completely on the NNA server and see if it starts to receive the flow data. Still not seeing data. I'm thinking the problem is between my router and my firewall which sits in front of the NNA...
by swalker76
Fri Apr 14, 2017 12:20 pm
Forum: Nagios Network Analyzer
Topic: No data found - Cisco 2811 router
Replies: 9
Views: 3630

Re: No data found - Cisco 2811 router

Can the router ping the NNA server and vice versa? If they are in different networks and the routing is not setup correctly, that could be the issue. One thing you can try is to run a tcpdump on the NNA server and see if the router's flow data is getting there. Run this on the NNA server, replace t...
by swalker76
Thu Apr 13, 2017 5:02 pm
Forum: Nagios Network Analyzer
Topic: No data found - Cisco 2811 router
Replies: 9
Views: 3630

No data found - Cisco 2811 router

We have an older Cisco 2811 router that I am trying to gather information on. The router has a public IP address and the NNA server has a private IP address. I set up NetFlow on the router and see that it is collecting data. I created a source through my NNA web interface assigning it a port number....