Search found 2078 matches

by eloyd
Mon Jun 02, 2014 9:54 pm
Forum: Open Source Nagios Projects
Topic: How to add a new service command in service page
Replies: 8
Views: 3501

Re: How to add a new service command in service page

You would have to write the code and add it to the Nagios core source for the CGIs. Most likely you'd want to smack your code into the middle of <nagios src>/cgi/statuswml.c. This is not "hard" exactly, but likely to be way beyond the scope of this forum. If you're looking for a "plug...
by eloyd
Mon Jun 02, 2014 11:19 am
Forum: Open Source Nagios Projects
Topic: CGI Downloading Instead of Executing
Replies: 22
Views: 59255

Re: CGI Downloading Instead of Executing

Humor me, and for fun, change this line:

Code: Select all

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
to:

Code: Select all

ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
Please note that there are slashes at the end of the directory names. It's not just about removing the quotes.
by eloyd
Fri May 30, 2014 3:06 pm
Forum: Open Source Nagios Projects
Topic: Host checks not changing even when system down.
Replies: 18
Views: 7483

Re: Host checks not changing even when system down.

abrist wrote:I would make a host which uses the ipsec check as its host check. Make it the parent of everything on the other side of the tunnel - that way, if the tunnel is down, all the children are marked as unreachable.
Bingo. I was just trying to figure out how to write that when Andy posted this. :-)
by eloyd
Fri May 30, 2014 1:05 pm
Forum: Open Source Nagios Projects
Topic: Host checks not changing even when system down.
Replies: 18
Views: 7483

Re: Host checks not changing even when system down.

WIthout knowing why IPsec comes into play for your host check, it's hard to say. All other things being equal, you could always use a dependency to make sure that service X on host X requires service Y on host Y to be in a particular state before service check X will be triggered.
by eloyd
Fri May 30, 2014 10:29 am
Forum: Open Source Nagios Projects
Topic: False packet lost alert from Nagios
Replies: 20
Views: 12322

Re: False packet lost alert from Nagios

Good point @tmcdonald. But this is why we don't use ping to determine packet loss for our VoIP networks. I think packet loss as demonstrated by ping can be misleading, since the protocol that you're using at OSI Layer 3 and above can sometimes mitigate packet loss problems so that the application do...
by eloyd
Fri May 30, 2014 10:26 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] i don't receive mail notification...
Replies: 32
Views: 18376

Re: i don't receive mail notification...

In this line: [1401457448] wproc: command: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\n\nService: Total Processes\nHost: backups\nAddress: 10.10.2.8\nState: WARNING\n\nDate/Time: Fri May 30 15:43:38 CEST 2014\n\nAdditional Info:\n\nPROCS WARNING: 263 proces...
by eloyd
Fri May 30, 2014 10:12 am
Forum: Open Source Nagios Projects
Topic: False packet lost alert from Nagios
Replies: 20
Views: 12322

Re: False packet lost alert from Nagios

Also, are you sure you have the right warning and critical values? 1% and 2% packet loss for only 5 pings sent out are essentially the same thing, as a single lost reply will be 20% already. 100% agree. Packet loss via ping is often not really packet loss but just bad pings. 5 pings is not a lot of...
by eloyd
Fri May 30, 2014 8:19 am
Forum: Open Source Nagios Projects
Topic: CGI Downloading Instead of Executing
Replies: 22
Views: 59255

Re: CGI Downloading Instead of Executing

Humor me, and for fun, change this line:

Code: Select all

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
to:

Code: Select all

ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
by eloyd
Fri May 30, 2014 8:15 am
Forum: Open Source Nagios Projects
Topic: /lib/x86_64-linux-gnu/libc.so.6:version `GLIBC_2.14'
Replies: 11
Views: 27241

Re: /lib/x86_64-linux-gnu/libc.so.6:version `GLIBC_2.14'

thank you for all support! @eloyd @scottwilkerson @slansing
I can only speak for myself when I say, "you're welcome." Scott will probably not say anything. ;)
by eloyd
Fri May 30, 2014 8:12 am
Forum: Open Source Nagios Projects
Topic: Authentication problem
Replies: 32
Views: 13296

Re: Authentication problem

I'm pretty sure your problem lies in your base Apache configuration not letting your .htaccess work as expected. Is there a reason why you can't move all the authentication information to /etc/httpd/conf.d/nagios.conf?