Re: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Jason Martin
On Fri, Nov 18, 2005 at 08:32:54PM -0500, Jim Perrin wrote: > linking host/service extra info in a database with configurable > feilds. date purchased, warranty info, POC, etc. I think these would That would probably be better in an Asset database. Instead of growing Nagios to be a Asset DB, instea

Re: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Jim Perrin
> I looked at that also when I first got started with Nagios. Couldn't > really any see any major benefit to doing it. Add the fact that with > the 2.0 release, MySQL support is now deprecated and I think that paints > a pretty clear picture of the usefulness of the MySQL support. > > Andrew In

Re: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Jim Perrin
On 11/18/05, Danny Russell <[EMAIL PROTECTED]> wrote: > For version 2.0 do you mean using perf-parse to get the log files into a > mySQL data base? What plugin on Nagios-exchange are you talking about? > This one http://sourceforge.net/projects/nagios-db/ forgive the link not being on nagios-exch

RE: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > I see I have all these possible options for compiling with > MySQL support: > > --with-mysql-xdata > --with-mysql-downtime > --with-mysql-comments > --with-mysql-status > --with-mysql-retention > --with-mysql-extinfo > > Are there any cons to using Nagios with MySQL? W

RE: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Danny Russell
For version 2.0 do you mean using perf-parse to get the log files into a mySQL data base? What plugin on Nagios-exchange are you talking about? Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Perrin Sent: Friday, November 18, 2005 5:23 PM To:

Re: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Jim Perrin
> I'm going with the latest stable release -- 1.3. > > Roger > No clue then. haven't touched it. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today R

Re: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Roger L. Brown
Jim Perrin wrote: On 11/18/05, Roger L. Brown <[EMAIL PROTECTED]> wrote: I see I have all these possible options for compiling with MySQL support: --with-mysql-xdata --with-mysql-downtime --with-mysql-comments --with-mysql-status --with-mysql-retention --with-mysql-extinfo Are there any co

Re: [Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Jim Perrin
On 11/18/05, Roger L. Brown <[EMAIL PROTECTED]> wrote: > I see I have all these possible options for compiling with MySQL support: > > --with-mysql-xdata > --with-mysql-downtime > --with-mysql-comments > --with-mysql-status > --with-mysql-retention > --with-mysql-extinfo > > Are there any cons to u

[Nagios-users] pros/cons of using MySQL?

2005-11-18 Thread Roger L. Brown
I see I have all these possible options for compiling with MySQL support: --with-mysql-xdata --with-mysql-downtime --with-mysql-comments --with-mysql-status --with-mysql-retention --with-mysql-extinfo Are there any cons to using Nagios with MySQL? What are the benefits? I searched through the

Re: [Nagios-users] check_radius

2005-11-18 Thread moshe sharon
Hello   download from www.nagiosexchange.org check_radius plugin. http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=345   and follow the instructions  it will be more easier to config Moshe  On 11/18/05, Holger Weiss <[EMAIL PROTECTED]> wrote: * Askar Ali <[EMAIL PROTECTE

[Nagios-users] Help with Nagiosgraph

2005-11-18 Thread John C. Welch
Running .5, since I'm still on Nagios 1.2 So everything looks right, but I'm not getting any data. I think the reason for this is that the RRD files aren't being created. Not sure why. Set the log level to 5, and I get: Fri Nov 18 16:31:42 2005 CGI info: Listing xserve02_PING db files in /usr/lo

RE: [Nagios-users] retention issue

2005-11-18 Thread Tedman Eng
I don't think "current check attempt #" is retained Since soft states are not considered 'real' errors yet, when a nagios restart occurs it must count up from the beginning again. This is my understanding, though only from personal experience, not from docs I've read somewhere. I agree it would

RE: [Nagios-users] retention issue

2005-11-18 Thread Lori Adams
Are you saying that soft states are not retained? Is this in the docs? Everything I read says, status/states are retained. Soft states are just as important as hard states, in my opinion. -Lori > -Original Message- > From: Tedman Eng [mailto:[EMAIL PROTECTED] > Sent: Friday, November

RE: [Nagios-users] retention issue

2005-11-18 Thread Tedman Eng
This is related to your max_check_attempts setting. If the service hasn't reached the max_checks yet, it's still 'soft' state. Once it hits the max_checks, it'll be hard state (and will get retained between restarts) -Original Message- From: Lori Adams [mailto:[EMAIL PROTECTED] Sent: Fr

RE: [Nagios-users] RE: Remove nagios

2005-11-18 Thread Lori Adams
Looks to me like nagios is still running.   Those are errors you get from the daemon when trying to run a check and the plugin doesn’t exist.   killall nagios should do the trick.   -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Master Virtuoso Sen

[Nagios-users] retention issue

2005-11-18 Thread Lori Adams
Nagios 1.2 Linux   I’m using a couple of templates for this particular check.  There are many services checks using this template.  When one of these checks becomes critical, the status in status.log changes to say it’s critical.  If I stop/start nagios, then the status saved in status.s

Re: [Nagios-users] Re: Nagios notifies indefinitely

2005-11-18 Thread Jeff Williams
I guess it's possible that something was wrong in my configs in the backup I restored to, but I sure haven't been able to find it. I have to say I am pretty confused about this whole thing. On 11/17/05, Dennis Hopp <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Jeff Willia

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread Guy B. Purcell
On Nov 18, 2005, at 02:54, enrico fanti wrote: I have this problem Nagios executes a script. This script have to restart the Nagios process in this way: /etc/init.d/nagios stop /etc/init.d/sendmail restart /etc/init.d/named /etc/init.d/nagios start Perhaps I'm being a bit dense (hey, it's

Re: [Nagios-users] Recurring Downtime misses notifications

2005-11-18 Thread David Schlecht
> I've set up notification periods for the host so notifications aren't sent out > during routine downtime, but if the host fails to recover from the scheduled > downtime, no notifications are sent out. It appears that Nagios thinks the > notification was already sent out so it doesn't send a

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread Scot Jenkins
On 11/18/05, enrico fanti <[EMAIL PROTECTED]> wrote: > Hi to all > > I have this problem > > Nagios executes a script. > > This script have to restart the Nagios process in this way: > > /etc/init.d/nagios stop > /etc/init.d/sendmail restart > /etc/init.d/named > /etc/init.d/nagios start > > The pr

[Nagios-users] RE: Remove nagios

2005-11-18 Thread Master Virtuoso
I installed it exactly as was in the official documentation. I don't wish to use it anymore that is why I won't to remove it.  The remove process is giving me errors also.   [EMAIL PROTECTED] [~]# service nagios stop nagios: unrecognized service [EMAIL PROTECTED] [~]# rpm -e nagios err

Re: [Nagios-users] check_dhcp

2005-11-18 Thread Guy B. Purcell
On Nov 18, 2005, at 05:42, Jamie Pratt wrote: I have an environment with 4 MS Active Directory DNS servers running DHCP. The dhcp servers are "load-balanced" in two pairs, via a cabletron smart-switch router upstream which hands off two offers per dhcp request... So.. Herein lies my prob

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread enrico fanti
Hi to all. Now my script works. I added some kill signal to my script: Instead of "/etc/init.d/nagios stop", I wrote "kill -s SIGSTOP $nagiospid", and instead of "/etc/init.d/nagios start", I wrote "kill -s SIGCONT $nagiospid" Thank you to all for your help Enrico enrico fanti wrote:

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread enrico fanti
Hi, I obtain the same result. What do you think if would be possible  to put nagios process in stand by mode  while the scrpt restart the applications  and after to put in normal mode the nagios process ?? It's really possible to put agenerally  process in stanby end after to put it in norma

Re: [Nagios-users] radiomodem

2005-11-18 Thread Brian E. Seppanen
On Fri, 18 Nov 2005, Marco Borsani wrote: Hi all! Actually I am using nagios with one radiomodem (for sms/pager notifications) via serial port on a HP-UX 11.0. I need to install and configure same SW/HW on a Linux RedHat , but I have not idea : - what linux command to use (now I am using a str

RE: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread Andrew Laden
When the parent dies (actaully gets a sigkill from the nagios stop) it forwards that signal to all its children. You need to ignore that signal in your script. How you do it depends on the shell. "man trap" for more info. > -Original Message- > From: enrico fanti [mailto:[EMAIL PROTECT

RE: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread Todd Barbera
/etc/init.d/nagios stop sleep 30 ps –ef|grep nagios echo “now stopping sendmail” /etc/init.d/sendmail restart sleep 30 echo “now calling named” /etc/init.d/named echo “now starting nagios” /etc/init.d/nagios start   This should give you a pretty good idea as to where the script

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread enrico fanti
Im thinking It's possible to put the nagios process in standby,  restart some application and after to run nagios normally, without restart it ?? enrico fanti wrote: Ok, I monitoring what's happen by "tail -f /var/log/messges", and after with "ps -ef". regards enrico Jamie Prat

[Nagios-users] radiomodem

2005-11-18 Thread Marco Borsani
Hi all! Actually I am using nagios with one radiomodem (for sms/pager notifications) via serial port on a HP-UX 11.0. I need to install and configure same SW/HW on a Linux RedHat , but I have not idea : - what linux command to use (now I am using a string like: cu -l /dev/cul0p2 dir < $FILE) - wh

[Nagios-users] check_dhcp

2005-11-18 Thread Jamie Pratt
Hi. I have an environment with 4 MS Active Directory DNS servers running DHCP. The dhcp servers are "load-balanced" in two pairs, via a cabletron smart-switch router upstream which hands off two offers per dhcp request... So.. Herein lies my problem. Since the AD servers do not actually hand

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread enrico fanti
Ok, I monitoring what's happen by "tail -f /var/log/messges", and after with "ps -ef". regards enrico Jamie Pratt wrote: > He just meant to put a check in your script using something like `ps > -ef | grep nagios` to see/test if nagios is still running etc ... > > regards, > jamie > > -- > >

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread enrico fanti
Hi Todd, I tried your hint, but isn't ok. Wath do you mean with "you could put in a process grep in the script" ? Thank you Enrico Todd Barbera wrote: Hi Enrico, Try putting in the following: /etc/init.d/nagios stop sleep 30 echo "now to stop sendmail" /etc/init.d/sendmail restart sl

Re: [Nagios-users] check_radius

2005-11-18 Thread Holger Weiss
* Askar Ali <[EMAIL PROTECTED]> [2005-11-17 15:26]: > You mean i have to install the radius on the nagios machine also?, our > radius is another separate machine for authenticating dialup users. Of course, you don't need a RADIUS server on the Nagios machine, but check_radius requires the radiusc

Re: [Nagios-users] Re: getting complicated with nagiosgraph

2005-11-18 Thread moshe sharon
Hello   i did not try this(yet) but seems like this is the solution you are looking for.   http://nagiosgraph.sourceforge.net/contrib/showhost/  let us know if its working   Regards Moshe Sharon  On 11/17/05, Mark Limburg <[EMAIL PROTECTED]> wrote: Further on this .. here is a link to a screenie on

FW: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread Balestra, Roberto
Sorry I wrong the previous mail address -Original Message- From: Balestra, Roberto Sent: venerdì 18 novembre 2005 13.27 To: '[EMAIL PROTECTED]' Subject: RE: [Nagios-users] Nagios father, script son ?? Hi, why don't you try nrpe on localhost. When your script stop nagios, check_nrpe end

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread Todd Barbera
Hi Enrico, Try putting in the following: /etc/init.d/nagios stop sleep 30 echo "now to stop sendmail" /etc/init.d/sendmail restart sleep 30 echo "now to call named" /etc/init.d/named This will help determine if the script is truly dying because the nagios process stops. 30 seconds should be far

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread enrico fanti
Hi, I tried that but it doesn't work.. It seems to be very stange case... Jamie Pratt wrote: > did you try tagging an & on the end of the command line to fork it off > into the background? sometimes this will help.. > > regards, > jamie > > -- > > James Pratt > Unix Systems Administrator > N

Re: [Nagios-users] Nagios father, script son ??

2005-11-18 Thread enrico fanti
Hi, I tried that with same result. Any other hint ?? Bye Enrico t Mark Limburg wrote: Howdy, Tried "nohup scriptname.sh &" ? M No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.3/174 - Release Date: 17/11/2005

[Nagios-users] Error nagios...

2005-11-18 Thread Herve ROTA
Hello everybody, Since this morning, i have in var/log/nagios/nagios.log this message... [1132304994] Error: Could not insert retention data for host 'servername' in table 'hostretention' But, when i stop or restart nagios, it seems to be better than before, but no... Http://servername/nagi

[Nagios-users] Nagios father, script son ??

2005-11-18 Thread enrico fanti
Hi to all I have this problem Nagios executes a script. This script have to restart the Nagios process in this way: /etc/init.d/nagios stop /etc/init.d/sendmail restart /etc/init.d/named /etc/init.d/nagios start The problem is that when the script execute this sequence, it executes only: /et