Re: [Nagios-users] ver. 3.x postgreSQL support

2008-02-11 Thread Marc Powell
On Feb 11, 2008, at 3:41 AM, Войнович Андрей Александрович wrote: I want Nagios to store devices' data and log data in a postgreSQL database. I downloaded source files from official site, then read doc and did the following: $./configure .. --with-pgsql-xdata

[Nagios-users] Re: web interface on a different machine then Nagios daemon.

2008-02-11 Thread seb
There was 2 mistakes : 1) I have made a mistake in the cmd.c code with return ERROR; so it return ERROR lol 2) The file must be append so i change this fp=fopen(/var/spool/nagios/cgi.pipe,w); to this: fp=fopen(/var/spool/nagios/cgi.pipe,a); and now it works really fine :D really

Re: [Nagios-users] web interface on a different machine then Nagios daemon.

2008-02-11 Thread kyle . odonnell
make sure your submissions are being inserted into the cgi.pipe file, permissions might be an issue. On 2/11/08, seb [EMAIL PROTECTED] wrote: Nice idea :) I have compile cmd.c ok place it to the good path script file and permissions set. when i try to submit passive result it not freeze

[Nagios-users] Re: web interface on a different machine then Nagios daemon.

2008-02-11 Thread seb
Nice idea :) I have compile cmd.c ok place it to the good path script file and permissions set. when i try to submit passive result it not freeze but now i have this error : An error occurred while attempting to commit your command for processing. Return from whence you came :( On Mon, 11

Re: [Nagios-users] RFC Possible bug in 3.0 alpha event handlers/macros ... [SEC=UNCLASSIFIED]

2008-02-11 Thread Stanley.HOPCROFT
Dear Folks, Initial indications from RC2 are that event handlers are called with the _correct_ values of the macros. (This is a simulation: ie disable host/service checks and then submit a passive host check result to DOWN and UP a host) Tue Feb 12 07:47:01 2008 PASSIVE HOST CHECK:

[Nagios-users] Parenting vs Dependencies

2008-02-11 Thread mark . potter
I know that this has been discussed ad nauseam and I have read quite a bit of those discussions this morning and over the preceding weekend. I still am at a bit of a loss. I have a pretty firm understanding of parenting and dependencies and how they both work. I think I have a good grasp on

Re: [Nagios-users] Parenting vs Dependencies

2008-02-11 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, February 11, 2008 11:14 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Parenting vs Dependencies I have a medium sized network

Re: [Nagios-users] Remote monitoring

2008-02-11 Thread Wojciech Kocjan
On Tue, 12 Feb 2008 05:06:38 +0100, Paul Aviles [EMAIL PROTECTED] wrote: I am looking for a way to remotely monitor Windows servers. The servers are on a remote network and using network address translation so they are not directly accessible. I saw that Pandora uses an agent on the remote

[Nagios-users] alert history

2008-02-11 Thread Melanie Pfefer
hello how to enable alert history in nagios? thnks __ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com - This SF.net email is sponsored by:

Re: [Nagios-users] PluginSource Code

2008-02-11 Thread kyle . odonnell
http://nagiosplugins.org/ nagiosexchange.org too On 2/11/08, Tatyaso Babar [EMAIL PROTECTED] wrote: Hi All, Is there any way to get the source code/script of the nagios plugins (like check_ping,Check_by_ssh etc) which are getting installed in binary file mode? I just wanted to know more

Re: [Nagios-users] web interface on a different machine then Nagios daemon.

2008-02-11 Thread kyle . odonnell
woops email cut off.. Add a kill -9 of the tail/script in the nagios stop case. If you're concerned about file size, create a logrotate script for the file.. --Kyle On 2/11/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I found a way around this, but its not pretty: Modify

[Nagios-users] web interface on a different machine then Nagios daemon.

2008-02-11 Thread seb
Hi, I have installed nagios 3.0rc2 on a machine and run the nagios daemon process on a other /var/spool/nagios and /var/log/nagios are shared over NFS and it works pretty fine. BUT! when I want to add/remove a comment, reschedule or submit passive results, cmd.cgi freeze ! The idea is to have

Re: [Nagios-users] How to submit passive test results from a script?

2008-02-11 Thread Hari Sekhon
Tom Wlodek wrote: Ladies and gentlemen, I have a service running on nagios server and I would like to submit passive test results from a client script. I see that nagios has an interface to submit those results: https://my.nagios.com/nagios/cgi-bin/cmd.cgi?

Re: [Nagios-users] Remote monitoring

2008-02-11 Thread Michael Medin
Hello, Humm, this was quite interesting, is there a way to (from the plink) to detect the status of the connection or does plink die when the connection dies even? Would be quite simple to add a plugin to run this from within nsclient++, but for it to be useful you would need to be able to detect

Re: [Nagios-users] Parenting vs Dependencies

2008-02-11 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Monday, February 11, 2008 11:40 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Parenting vs Dependencies The parents directive is used to

Re: [Nagios-users] Parenting vs Dependencies

2008-02-11 Thread Justin Hitt
Mark, On Feb 11, 2008 12:13 PM, [EMAIL PROTECTED] wrote: this to my boss. So here is an overview of what I have to monitor, what my boss is asking, and what I think we need and maybe someone can beat some I know listening to the boss is good for your long term employment, however, who has to

[Nagios-users] Remote monitoring

2008-02-11 Thread Paul Aviles
I am looking for a way to remotely monitor Windows servers. The servers are on a remote network and using network address translation so they are not directly accessible. I saw that Pandora uses an agent on the remote servers to connect via ssh to the main monitoring server and I like that idea,

Re: [Nagios-users] web interface on a different machine then Nagios daemon.

2008-02-11 Thread kyle . odonnell
I found a way around this, but its not pretty: Modify nagios-src/cgi/cmd.c to write to a flat file instead of the command pipe: int write_command_to_file(char *cmd){ FILE *fp; struct stat statbuf; /* bail out if the external command file doesn't exist */

[Nagios-users] ver. 3.x postgreSQL support

2008-02-11 Thread Войнович Андрей Александрович
I want Nagios to store devices' data and log data in a postgreSQL database. I downloaded source files from official site, then read doc and did the following: $./configure .. --with-pgsql-xdata --with-pgsql-doith-pgsql-status --with-pgsql-retention --with-pgsql-extinfo Then i run $ make all.

Re: [Nagios-users] Plugin to check OK state when 0 processes are running (in Windows)

2008-02-11 Thread Hari Sekhon
Wim De Geeter wrote: Hi, I am looking for a plugin to check a Windows services that when more than n processes (ex. WINWORD.EXE) are running I got a critical, less than n or 0 processes are running I get a OK state. I only found plugins that gives a Critical when 0 processes are runnin Use

Re: [Nagios-users] Nagios checkresults queue grows over time

2008-02-11 Thread Justin Hitt
Update on 'checkresults' queue growth, Nagios 3.0 rc1 ... http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[mode]=1tx_maillisttofaq_pi1[showUid]=9116 I can keep the system from coming down completely by eliminating host checks. It seems the rapid growth of checks is