Re: [Nagios-users] monitoring for IO in Nagios

2006-10-17 Thread Andreas Ericsson
Alexander Harvey wrote: That doesn't look like a Solaris script to me but as far as your coding is concerned, my thoughts are [ excellent and non-disputed points removed ] (iv) for security you ought to use full paths to all of your binaries: i.e. /usr/bin/echo instead of echo echo

Re: [Nagios-users] Event Handler problems

2006-10-17 Thread Andreas Ericsson
Marc Powell wrote: It uses syslog so it's being logged to wherever *.info,*.notice, *.debug are being sent to in syslog.conf (usually something like /var/log/messages). I believe you can change the log file by adding 'nrpe.* /some/other/file' to syslog.conf and HUP or restart syslogd.

Re: [Nagios-users] /tmp/embedded* files

2006-10-17 Thread Andreas Ericsson
[EMAIL PROTECTED] wrote: One of my Nagios servers is not cleaning up /tmp/embedded* files. Has anyone seen this? What is the fix? Perhaps /tmp has the append attribute? Check this with $ lsattr -d /tmp If you get an 'a' somewhere on the resulting line, you can only append (i.e.

Re: [Nagios-users] monitoring linux traffic without snmp

2006-10-17 Thread Robin Ericsson
On 10/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi , Hi, Try the check_traffic_andreas.pl from the http://www.nagios-wiki.de Nice script, however, I asked for one that didn't use snmp :) -- regards, Robin

[Nagios-users] contacts.cfg - Templates?

2006-10-17 Thread Chris Jones
Hello, I noticed there is no use directive in contacts.cfg. Is there a specific reason that templates are not able to be used in contacts.cfg? My contacts is set up like this: --- TEMPLATES START define params for 'contact-template-all' use 'contact-template-all', add params for

[Nagios-users] Mysql tables are empty

2006-10-17 Thread Nathan
Dear All, I have the following setup: - Fedora core 5 - Nagios 2.5 - Mysql 5.0.22 - Apache 2.0 What I did and results: - Nagios, Apache, cgi worked fine with log file system - Successfully compiled Nagios with mysql support, this what I did, ./configure --prefix=/usr/local/nagios

Re: [Nagios-users] Mysql tables are empty

2006-10-17 Thread Jim Perrin
My problem and questions: - I started Nagios, and checked the tables, all are empty - I noticed that the log file(status.dat) is still get updated even after I commented out in the nagios.cfg file, WHY ? - Does the nagios distribution have mysql interface functions like, mysql_connect and

Re: [Nagios-users] Mysql tables are empty

2006-10-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nathan Sent: Tuesday, October 17, 2006 1:22 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Mysql tables are empty Dear All, I have the following setup: - Fedora

[Nagios-users] checking a counter on a website

2006-10-17 Thread Maxwell,Brady
Anyone ever tried to check a websites hit counter and return a warning if the hit counter has not incremented since the previous check? Brady Maxwell Systems Engineer Online Computer Library Center, Inc. 614.764.6133 | [EMAIL PROTECTED]

Re: [Nagios-users] checking a counter on a website

2006-10-17 Thread Andrew Cruse
I would just write a quick script that grabs the value on the counter, then grabs the value again and subtracts the first from the second. Publish that value out via SNMP and then just use check_snmp to verify that the value is =1. People with more programming skills than I would probably

Re: [Nagios-users] checking a counter on a website

2006-10-17 Thread Frank, Jason
This actually hits on what I consider to be one of Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm not nearly as interested in the value of a check as in the change in the value since the last check. This isa goodexample. Another itemI monitor is changes in the SNMP

Re: [Nagios-users] monitoring linux traffic without snmp

2006-10-17 Thread Nelson Serafica
This is a nice site. However, do you have an ENGLISH version of this. I can't understand the words. I only understand english.Please include any english site you know.Thanks and regards, NELSON SERAFICAThis email and any files transmitted with it are confidential and intended solely for the use

Re: [Nagios-users] checking a counter on a website

2006-10-17 Thread Matthew Joyce
Perhaps store the data in a database with a timestamp. When the next check is done Retrieve the last entry from the database Store the new data Calculate the delta or average Check the age of the delta Compare against your threshold Return a status Python, Perl, even PHP (cmd) can

[Nagios-users] UTF8 Japanese characters in macros

2006-10-17 Thread チャンドラ
Hi, I am running nagios 2.5 on SuSE 10.1, and I would like to include japanese in my mail notifications. SuSE is set up to use UTF8 as the base language, and I am using the standard host-notify-by-email command provided in the example configs as below: /usr/bin/printf %b * Nagios

Re: [Nagios-users] checking a counter on a website

2006-10-17 Thread Hugo van der Kooij
On Tue, 17 Oct 2006, Frank, Jason wrote: This actually hits on what I consider to be one of Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm not nearly as interested in the value of a check as in the change in the value since the last check. This is a good example.