[Nagios-users] nagios3 over fcgid+apache2?

2013-08-19 Thread b2
is that possible? 

i got working apache2+mod_fcgid setup, but nagios cgi's isnt working. in
apache error logs i got:



getcgivars(): Unsupported REQUEST_METHOD - ''

I'm guessing you're trying to execute the CGI from a command line.
In order to do that, you need to set the REQUEST_METHOD environment
variable to either GET, HEAD, or POST.  When using the
GET and HEAD methods, arguments can be passed to the CGI
by setting the QUERY_STRING environment variable.  If you're
using the POST method, data is read from standard input.  Also of
note: if you've enabled authentication in the CGIs, you must set the
REMOTE_USER environment variable to be the name of the user you're
authenticated as.

[Mon Aug 19 12:56:58 2013] [warn] [client x.x.x.x] (104)Connection reset
by peer: mod_fcgid: error reading data from FastCGI server
[Mon Aug 19 12:56:58 2013] [error] [client x.x.x.x] Premature end of
script headers: status.cgi



can i do something to get it work?
thanks in advance.



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] nagios3 over fcgid+apache2?

2013-08-19 Thread b2
On Mon, 2013-08-19 at 12:40 +0200, Sven Nierlein wrote:
 Hi,
 
 No, thats not possible and it makes no sense to run the nagios cgis with 
 fastcgi
 or fcgid. You would need to rewrite tons of code in the nagios cgis and would 
 gain
 almost no performance improvements.
 
 Regards,
   Sven

Thanks a lot for your answer.



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] event hadlers not executed every time ?

2010-09-13 Thread b2
Hi list, 
i have some problem with my event handlers, they do not execute on HARD
CRITICAL , but execute on HARD OK state ? is there an option for this
anywhere in configs ? i cant figure it...
snip from my log file : 

[1284361876] HOST ALERT: bulmiks2;DOWN;SOFT;1;CRITICAL - Plugin timed
out after 10 seconds
[1284361886] HOST ALERT: bulmiks2;DOWN;SOFT;2;CRITICAL - Plugin timed
out after 10 seconds
[1284361896] HOST ALERT: bulmiks2;DOWN;SOFT;3;CRITICAL - Plugin timed
out after 10 seconds
[1284361906] HOST ALERT: bulmiks2;DOWN;SOFT;4;CRITICAL - Plugin timed
out after 10 seconds
[1284361916] HOST ALERT: bulmiks2;DOWN;SOFT;5;CRITICAL - Plugin timed
out after 10 seconds
[1284361926] HOST ALERT: bulmiks2;DOWN;SOFT;6;CRITICAL - Plugin timed
out after 10 seconds
[1284361936] HOST ALERT: bulmiks2;DOWN;SOFT;7;CRITICAL - Plugin timed
out after 10 seconds
[1284361946] HOST ALERT: bulmiks2;DOWN;SOFT;8;CRITICAL - Plugin timed
out after 10 seconds
[1284361956] HOST ALERT: bulmiks2;DOWN;SOFT;9;CRITICAL - Plugin timed
out after 10 seconds
[1284361966] HOST ALERT: bulmiks2;DOWN;HARD;10;CRITICAL - Plugin timed
out after 10 seconds
[1284361966] HOST NOTIFICATION:
support;bulmiks2;DOWN;host-notify-by-email;CRITICAL - Plugin timed out
after 10 seconds
[1284361966] SERVICE ALERT: bulmiks2;PING;CRITICAL;HARD;1;CRITICAL -
Plugin timed out after 10 seconds

- no event handler executed when HARD CRITICAL and even on SOFT
CRITICAL... , but when service going to HARD OK state there is event
handler executed - 

[1284362306] SERVICE EVENT HANDLER: bulmiks2;PING;OK;HARD;1;test_event


ANY sugestions ?!





--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] nagios reload from crontab on 5 mins ?

2010-09-01 Thread b2
Hi all , 
I have to do rebuild my nagios2 configuration. The idea is to get
hosts.cfg and hostgroups.cfg dynamically from MySQL DB , the
'get_config.pl' script first connects to db , retrieve hosts and then
print values to hosts.cfg. , then reload nagios. Everything is fine with
the hosts.cfg but if I put the 'get_config.pl' to crontab in 5 mins the
nagios proccess terminates maybe because nagios own step is 5 minutes
and two reloads at same time conflicts with each other ? Any suggestions
when to reload nagios to work with the new config  , or not to reload
the nagios proccess an rely on its own 5 mins step reload ? Am i missing
soemthing here ? 


Thanks in advance.


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Nagios-users mailing list
Nagios-users@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