Re: [Nagios-users] Question on setting up a specialized status.cgi page

2011-02-14 Thread Yueh-Hung Liu
please review the document of objects definition, the following quoted from servicegroup definition: members: This is a list of the descriptions of services (and the names of their corresponding hosts) that should be included in this group. Host and service names should be separated by com

Re: [Nagios-users] avoid notifications after status change from unreachable to down

2011-02-14 Thread Yueh-Hung Liu
write an event handler which will be triggered while the parent system comes up from down. this handler will schedule a downtime for each child systems, during the downtime Nagios won't send notifications; or this handler can send a passive check with status OK for each children, the hard/soft coun

Re: [Nagios-users] nagios server redundancy

2011-02-14 Thread Daniel Wittenberg
The only problem with this is that you can't have passive checks (easily) coming into two systems, where we have so many hosts that we can't do active on everything, hence the reason for forwarding of certain log entries. Plus, it's very lightweight compared with parsing the .dat files all the tim

Re: [Nagios-users] Question on setting up a specialized status.cgi page

2011-02-14 Thread steve f
Thanks for your reply Jim, I tried to set up the servicegroup as follows : define servicegroup { servicegroup_name Legacy_Checks aliasLegacy Checks members HOSTNAME1,check_1, check_2, check_3,check_4,check_5,HOST

Re: [Nagios-users] nagios server redundancy

2011-02-14 Thread Morty
On Mon, Feb 14, 2011 at 04:09:25PM +0100, Giacomo Montagner wrote: > I set up a little script which polls the db for host/service checks > and pushes them to the backup (using NSCA). I think it could be > easily done for acknowledgments too, and NDOUtils/MySQL are easy > enough to setup (and don't

Re: [Nagios-users] nagios server redundancy

2011-02-14 Thread Morty
On Mon, Feb 14, 2011 at 06:59:23AM -0700, Daniel Wittenberg wrote: > This is kind of what I did when testing backup system. I had a > process tailing the nagios.log and when it got incoming messages it > would just forward a copy to the other server so all but passive > checks the secondary system

Re: [Nagios-users] import historical data from old nagios to new

2011-02-14 Thread Michael Friedrich
Mario Garcia Ortiz wrote: > Hello all > > we have upgraded nagios from version 3.0.3 to the latest version, > all the config was upgraded and it's nicely in production but the > historical data and availability reports from the old nagios are not > in the new; > > how can i migrate the data from th

[Nagios-users] avoid notifications after status change from unreachable to down

2011-02-14 Thread Bernd Kuhlen -WetterOnline-
Hello list, my problem is that I'm using vmware esx with multiple virtual hosts on it. In my nagios config the esx server is the parent so if it goes down, I only get one notification, which is what i want. My problem is that my unreachable hosts turn to "down" after my esx comes up again and i

Re: [Nagios-users] nagios server redundancy

2011-02-14 Thread Giacomo Montagner
On Fri, 11 Feb 2011 13:35:26 -0800 Mike Lindsey wrote: > You cannot - to the best of my knowledge - sync acknowledgments to a > backup server while it's actively running, unless you want to write > something that checks for new acks and dumps them into the command > pipe. So, if you want to m

Re: [Nagios-users] nagios server redundancy

2011-02-14 Thread Daniel Wittenberg
This is kind of what I did when testing backup system. I had a process tailing the nagios.log and when it got incoming messages it would just forward a copy to the other server so all but passive checks the secondary system appeared to be the same as the primary. Seemed to work pretty well. Dan

Re: [Nagios-users] Notification by Email

2011-02-14 Thread Andre Kruger
As follows: /usr/bin/printf "%b" "* TRW Automotive SA *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nDescription: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n$LO

[Nagios-users] Status File Differences

2011-02-14 Thread Martin Unger
Hi Nagios admins! I maintain a rather large distributed monitoring setup with OCSP sweeper. Sometimes, parts of the status file on the master are inconsistent with the status-file on the distributed servers. I came across a service where last_state_change on the master was seven days after last

Re: [Nagios-users] Hope this useful : a dashboard management toolfor Nagios

2011-02-14 Thread Tntteam
I just installed ngrt4n (I got many problems with the poor documentation). Seem very bugged (but is noted as beta) and I didn't like the main thing at all. Having the dashboard using a ssh and X forward system is not very handy. The same thing using web interface would be a better idea. 2011/