Re: [Nagios-users] trimming nagvis database via cron

2009-06-19 Thread Syd Alsobrook
On Friday 19 June 2009, Kevin Keane wrote:
> I had a similar problem with my ndoutils and mysql. If you are using
> MySQL and aren't using replication, don't forget to first clear and then
> turn off binary logs - those files get huge very quickly.

Yea, binary logs can be a pain to, I am working on a global event handler for 
purging.

Syd


-- 
Syd Alsobrook
IT Tag Team, Inc.
518-362-1291
http://www.ittagteam.com

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
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] trimming nagvis database via cron

2009-06-19 Thread Syd Alsobrook
On Friday 19 June 2009, Michael W. Lucas wrote:
> After a few months of use, our NagVis database grew to 23GB and
> overwhelmed my (tiny) server.  Shutting down the system, dropping the
> database, and recreating it solved my issues.

This isn't a NagVis issues, this is a ndoutils issue. You need to look in your 
ndo2db.cfg file for the entries:

max_timedevents_age
max_systemcommands_age
max_servicechecks_age
max_hostchecks_age
max_eventhandlers_age

It is recommended that you set these to a very low value. If they are too high 
you will have other issues with nagios appearing to hang while the DB is 
cleaned.

Syd


-- 
Syd Alsobrook
IT Tag Team, Inc.
518-362-1291
http://www.ittagteam.com

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
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] integrate a wiki with nagios?

2007-08-30 Thread Syd Alsobrook
On Wednesday 29 August 2007 17:20, Andreas Ericsson wrote:
> Woodgate, Douglas wrote:
> >  Another
> > thing that may make it more dynamic would be if you could embed the
> > $HOSTALIAS$ macro into the URL, then create a wiki page for each host
> > with that hosts Alias as its name, but I'm not sure if notes_url would
> > support that macro.
>
> It does.

I just tried this with a custom macro and it is not working.

Syd

-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] integrate a wiki with nagios?

2007-08-30 Thread Syd Alsobrook
On Wednesday 29 August 2007 11:26, Furnish, Trever G wrote:
> Have you tied nagios pages into this at all?  Do you see any problems
> with the idea that might be showstoppers?

I am doing this but in the reverse. I am using twiki and I have a custom php 
stub that I include in the page that does a query pulling data from the 
NDOUtils database. And since Nagios is configed with lowercase short host 
aliases and twiki use WikiSyntax I wrote a php url converter to take the wiki 
page name and convert it to links and includes that map to Munin and Nagios. 

In Nagios you could use a custom variable to hold the service and host wiki 
page names and use a group based extended info object to point to the wiki 
page.

Syd



-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] check host alive by passive

2007-08-23 Thread Syd Alsobrook
On Thursday 23 August 2007 02:45, [EMAIL PROTECTED] wrote:
> Not really: the point is that I want the host to be down when a certain
> service is down and the service is passive. I am monitoring some systems
> connected in dial up, that why I can't use active or ping.

You might consider distributed monitoring. Run a small nagios install on the 
other side of the dial-up link. Have it initiate a dial back every hour or 
so. Have you master server throw an alert if the passive checks are over 1.5 
hours old.

Syd

-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Syslog Event Log

2007-08-21 Thread Syd Alsobrook
On Tuesday 21 August 2007 10:43, Manoj Velayudhannair wrote:
> But as Tivoli is taken care by a separate team, can u suggest me an open
> source which can analyze the logs, preferably having a web interface.

There are many. Go to www.freshmeat.net.

http://freshmeat.net/browse/148/
http://freshmeat.net/browse/245/
http://freshmeat.net/search/?q=log+file+monitoring&trove_cat_id=862§ion=projects&Go.x=0&Go.y=0
http://freshmeat.net/browse/862/


Syd

-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Syslog Event Log

2007-08-21 Thread Syd Alsobrook
On Tuesday 21 August 2007 10:34, Manoj Velayudhannair wrote:
> But my case is little different. I got my Tivoli doing my Monitoring
> (NMS) job. I am in search for a Syslog server, for my Cisco devices,
> which can send alerts on critical error and warnings.

Use syslog-ng to collect your logs in a central location. Have Tivoli parse 
the logs.

Syd

-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Syslog Event Log

2007-08-21 Thread Syd Alsobrook
On Tuesday 21 August 2007 09:26, Manoj Velayudhannair wrote:
> Thank you Syd, could you please detail your view.

I have a central management server. It runs Nagios, Munin, Cacti, and 
Syslog-ng. I have Syslog-ng configured with these lines.

# Begin
source remote { udp(); tcp(port(514) keep-alive(no)); };
destination remote_hosts 
{ file("/var/log/remote_hosts/$HOST/$FACILITY.log"); };
log { source(remote); destination(remote_hosts); };
# End

These lines configure Syslog-ng to accept connections from remote systems and 
place the logs in to a host specific directory. I run syslog-ng on all my 
linux servers.

I have not setup the monitoring yet, it is on my todo list. There are a number 
of log checks in the Nagios Exchange.

Enjoy,
Syd

-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Syslog Event Log

2007-08-21 Thread Syd Alsobrook
On Tuesday 21 August 2007 08:14, Manoj Velayudhannair wrote:
> Is it possible to use Nagios to capture Switch/Router
> Syslogs/eventlogs/error logs.

It would be better to use syslog-ng and have all your servers, routers, and 
switches send there logs to your Nagios server. Then you can check the logs 
centrally.

Syd

-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Nagios 3.0b1 and perl check plugins

2007-08-16 Thread Syd Alsobrook
On Thursday 16 August 2007 10:29, Nicole Hähnel wrote:
> After recompiling nagios doesn't crash anymore.
> But now I get CRITICAL and "(null)" as status information.

Odd, all my status information cleaned right up after I did this. Is this a 
custom plugin or a base one?

Syd


-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Nagios 3.0b1 and perl check plugins

2007-08-16 Thread Syd Alsobrook
On Thursday 16 August 2007 10:10, Nicole Hähnel wrote:
> Ok, I disabled embedded perl in nagios.cfg.
> But now nagios crashes when for example requesting to schedule a service
> check.

When I had this problem I recompiled without embedded perl.

Syd


-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Nagios 3.0b1 and perl check plugins

2007-08-16 Thread Syd Alsobrook
On Thursday 16 August 2007 09:47, Nicole Hähnel wrote:
> I'm trying nagios 3.0b1, all works fine, standard nagios-plugins...
> But some perl plugins (check_systime.pl, check_rsync,
> check_disk_snmp.pl) are driving me crazy.
> Within nagios, I get "Service check did not exit properly)".
> I tested as user nagios and root on command line and it worked.

I had the same issue. You will need to run without the embedded perl for now.

Syd


-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Nagios best practices?

2007-08-13 Thread Syd Alsobrook
On Monday 13 August 2007 15:51, Steve Huff wrote:
> Essentially, I'd like to do as little per-host configuration as
> possible;

I use templates only for the base config options such as check frequency and 
such. To minimize service definition duplication I use service and host 
groups. One example is that I have a host group for any debian servers and in 
the config I assign all the services that should be a part of what I call the 
base os including a combonation of snmp and nrpe services to that host group. 
Now when I stand up a new debian server I add it to the debian host group and 
it automatically get 8 services assigned to it.

As for the web based config tools. I have never found one that worked the way 
I like to config Nagios and I have been doing it for almost 10 years.

Hope this helps,
Syd


-- 
Syd Alsobrook
IT Tag Team, Inc.
518-598-6025
http://www.ittagteam.com

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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