[Nagios-users] Security Breach?

2010-04-06 Thread Martyn
Hi all, hope you can help me out with this question I have just been sent
which is as follows: -

"We have had a security warning from the hosting company, one of the Nagios
User processes was using up 90% of the CPU:

8521 nagios 25 0 6144 2168 1524 R 90.4 0.0 566:17.51 x

A review of the users access logs show this appeared to start last night,
and the account has been remotely logged in to, suggesting its fully
compromised:

nagios pts/3 :pts/1:S.0 Sat Apr 3 11:35 - 11:36 (00:00)
nagios pts/3 :pts/1:S.0 Sat Apr 3 11:32 - 11:35 (00:03)
nagios pts/3 :pts/1:S.0 Sat Apr 3 01:41 - 11:30 (09:49)
nagios pts/1 79.119.233.48 Sat Apr 3 01:36 - 15:36 (13:59)
nagios pts/3 :pts/1:S.0 Fri Apr 2 23:50 - 01:36 (01:45)
nagios pts/3 :pts/1:S.0 Fri Apr 2 22:25 - 23:37 (01:12)
nagios pts/1 79.119.233.48 Fri Apr 2 20:55 - 01:36 (04:41)
nagios pts/3 :pts/1:S.0 Fri Apr 2 12:47 - 13:18 (00:31)
nagios pts/3 :pts/1:S.0 Fri Apr 2 10:50 - 12:47 (01:56)
nagios pts/3 :pts/1:S.0 Fri Apr 2 10:49 - 10:49 (00:00)
nagios pts/2 :pts/1:S.0 Fri Apr 2 10:36 - 10:49 (00:12)
nagios pts/2 :pts/1:S.0 Fri Apr 2 10:02 - 10:36 (00:33)
nagios pts/1 79.119.227.50 Fri Apr 2 09:35 - 13:18 (03:43)
nagios pts/1 91.194.84.177 Fri Apr 2 01:52 - 01:52 (00:00"
Could you help me out to try and understand how this has happened please as
I'm at a complete loss, if you need more info I will endeavour to get it for
you.
Thanks all

Nrpe.cfg and hosts allow are below.

##
# LOG FACILITY
# The syslog facility that should be used for logging purposes.

log_facility=daemon

# PID FILE
# The name of the file in which the NRPE daemon should write it's process ID
# number.  The file is only written if the NRPE daemon is started by the
root
# user and is running in standalone mode.

pid_file=/var/run/nrpe.pid

# PORT NUMBER
# Port number we should wait for connections on.
# NOTE: This must be a non-priviledged port (i.e. > 1024).
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

server_port=5666

# SERVER ADDRESS
# Address that nrpe should bind to in case there are more than one interface
# and you do not want nrpe to bind on all interfaces.
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

#server_address=127.0.0.1

# NRPE USER
# This determines the effective user that the NRPE daemon should run as.  
# You can either supply a username or a UID.
# 
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

nrpe_user=nagios

# NRPE GROUP
# This determines the effective group that the NRPE daemon should run as.  
# You can either supply a group name or a GID.
# 
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

nrpe_group=nagios

# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames 
# that are allowed to talk to the NRPE daemon.
#
# Note: The daemon only does rudimentary checking of the client's IP
# address.  I would highly recommend adding entries in your /etc/hosts.allow
# file to allow only the specified host to connect to the port
# you are running this daemon on.
#
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

allowed_hosts=127.0.0.1
 
# COMMAND ARGUMENT PROCESSING
# This option determines whether or not the NRPE daemon will allow clients
# to specify arguments to commands that are executed.  This option only
works
# if the daemon was configured with the --enable-command-args configure
script
# option.  
#
# *** ENABLING THIS OPTION IS A SECURITY RISK! *** 
# Read the SECURITY file for information on some of the security
implications
# of enabling this variable.
#
# Values: 0=do not allow arguments, 1=allow command arguments

dont_blame_nrpe=0

# COMMAND PREFIX
# This option allows you to prefix all commands with a user-defined string.
# A space is automatically added between the specified prefix string and the
# command line from the command definition.
#
# *** THIS EXAMPLE MAY POSE A POTENTIAL SECURITY RISK, SO USE WITH CAUTION!
***
# Usage scenario: 
# Execute restricted commmands using sudo.  For this to work, you need to
add
# the nagios user to your /etc/sudoers.  An example entry for alllowing 
# execution of the plugins from might be:
#
# nagios  ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/
#
# This lets the nagios user run all commands in that directory (and only
them)
# without asking for a password.  If you do this, make sure you don't give
# random users write access to that directory or its contents!

# command_prefix=/usr/bin/sudo 

# DEBUGGING OPTION
# This option determines whether or not debugging messages are logged to the
# syslog facility.
# Values: 0=debugging off, 1=debugging on

debug=0

# COMMAND TIMEOUT
# This specifies the maximum number of seconds that the NRPE daemon will
# allow plugins to finish executing before killing them off.

command_timeout=60

# CONNECTION TIMEOUT
# This specifies the ma

Re: [Nagios-users] Lilac 1.0.3 is Released! (A NagiosConfigurationTool)

2009-10-12 Thread Martyn
As a new user I struggled with the CLI aspect of Nagios so turned to
Groundwork's for my solution; this worked well for me on the navigation side
of things but saying that without this group I would be nowhere.

What can Lilac offer me over GW?

Thanks 

-Original Message-
From: Taylor Dondich [mailto:tdond...@gmail.com] 
Sent: 12 October 2009 22:49
To: Jonathan Call
Cc: nagios-user Mailinglist
Subject: Re: [Nagios-users] Lilac 1.0.3 is Released! (A
NagiosConfigurationTool)

Jonathan, 1.0.3 is stable.  You can use it in production.

Distributed deployments is in the works with something.secret.

Taylor

On Mon, Oct 12, 2009 at 1:31 PM, Jonathan Call  wrote:
> Any timetable for a STABLE release (i.e. not beta)?
>
> Any timetable for supporting distributed deployments?
>
> Jonathan
>
>> -Original Message-
>> From: Taylor Dondich [mailto:tdond...@gmail.com]
>> Sent: Monday, October 12, 2009 1:10 PM
>> To: nagios-user Mailinglist
>> Subject: [Nagios-users] Lilac 1.0.3 is Released! (A Nagios
>> ConfigurationTool)
>>
>> Lilac, the most popular Nagios Configuration tool has just released 
>> version 1.0.3.  This is a bugfix release which fixes over 30 bugs 
>> with improvements made by it's users.  As always, Lilac Configuration 
>> has the following features:
>>
>> * Advanced Nagios 3.x Timeperiod Support
>> * Advanced Host and Service Templates (Even cooler than what Nagios 
>> supports by default!)
>> * Flexible importer to import existing Nagios 2.x and 3.x 
>> configurations
>> * Auto-discovery system powered by NMAP to quickly bring in new hosts.
>>
>> You can download the latest version of Lilac at 
>> http://www.lilacplatform.com/downloads
>>
>> Interesting note:  Lilac 1.0.2 which was released on 4/17/2009 was 
>> downloaded 5720 times!  That's an average of 32 times a day.  Thanks 
>> to the vibrant Lilac community!
>>
>> --
>> Taylor Dondich
>> Check out Lilac, a configuration tool for Nagios 3 at 
>> http://www.lilacplatform.com
>>
>> Check out my Shortcut with O'Reilly Press:
>> Network Monitoring with Nagios:
>> http://oreilly.com/catalog/9780596528195/index.html
>>
>> -
>> --
>> ---
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA 
>> is the only developer event you need to attend this year. Jumpstart 
>> your developing skills, take BlackBerry mobile applications to market 
>> and stay ahead of the curve. Join us from November 9 - 12, 2009. 
>> Register now!
>> http://p.sf.net/sfu/devconference
>> ___
>> 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
>
>
> This email message is intended for the use of the person to whom it has
been sent, and may contain information that is confidential or legally
protected. If you are not the intended recipient or have received this
message in error, you are not authorized to copy, distribute, or otherwise
use this message or its attachments. Please notify the sender immediately by
return e-mail and permanently delete this message and any attachments.
Verio, Inc. makes no warranty that this email is error or virus free.  Thank
you.
>



--
Taylor Dondich
Check out Lilac, a configuration tool for Nagios 3 at
http://www.lilacplatform.com

Check out my Shortcut with O'Reilly Press:
Network Monitoring with Nagios:
http://oreilly.com/catalog/9780596528195/index.html


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the
only developer event you need to attend this year. Jumpstart your developing
skills, take BlackBerry mobile applications to market and stay ahead of the
curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios ver

Re: [Nagios-users] Lots of Nagios Processes

2009-10-06 Thread Martyn
Thanks both for your replies, will look into o that process what ever it is

  _  

From: Martin Melin [mailto:mme...@gmail.com] 
Sent: 06 October 2009 14:39
To: Nagios-Users Mailinglist
Subject: Re: [Nagios-users] Lots of Nagios Processes


Yeah, the "nagios" part just means that the nagios user spawned "./update
500". My guess is that you have a check command defined that calls
"./update", maybe the 500 is some kind of timeout? Check your command config
file. 

Regards
Martin Melin


On Tue, Oct 6, 2009 at 2:20 PM, Marc Powell  wrote:



On Oct 6, 2009, at 6:46 AM, Martyn wrote:

> Not sure what went off with this server last night but my processes
> log below shows lots of Nagios entries, does any know why this would
> happen and how I could prevent it in future


> nagios 10314 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10315 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10316 6691 0 09:09 pts/0 00:00:00 ./update 500
> nagios 10320 6691 0 09:09 pts/0 00:00:00 ./update 500


What is 'update 500'? That's not a normal part of nagios and something
you must have created/installed. It looks like the problem is with
that program, not nagios.

--
Marc



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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

[Nagios-users] Lots of Nagios Processes

2009-10-06 Thread Martyn
Not sure what went off with this server last night but my processes log
below shows lots of Nagios entries, does any know why this would happen and
how I could prevent it in future

Thanks all

root 1 0 0 May25 ? 00:00:35 init [3]
root 2 1 0 May25 ? 00:00:00 [migration/0]
root 3 1 0 May25 ? 00:00:02 [ksoftirqd/0]
root 4 1 0 May25 ? 00:00:00 [watchdog/0]
root 5 1 0 May25 ? 00:00:00 [events/0]
root 6 1 0 May25 ? 00:00:00 [khelper]
root 7 1 0 May25 ? 00:00:00 [kthread]
root 10 7 0 May25 ? 00:00:12 [kblockd/0]
root 11 7 0 May25 ? 00:00:00 [kacpid]
root 113 7 0 May25 ? 00:00:00 [cqueue/0]
root 116 7 0 May25 ? 00:00:00 [khubd]
root 118 7 0 May25 ? 00:00:00 [kseriod]
root 177 7 0 May25 ? 00:06:57 [kswapd0]
root 178 7 0 May25 ? 00:00:00 [aio/0]
root 331 7 0 May25 ? 00:00:00 [kpsmoused]
root 354 7 0 May25 ? 00:00:00 [ata/0]
root 355 7 0 May25 ? 00:00:00 [ata_aux]
root 358 7 0 May25 ? 00:00:00 [scsi_eh_0]
root 359 7 0 May25 ? 00:00:00 [scsi_eh_1]
root 360 7 0 May25 ? 00:00:12 [kjournald]
root 380 7 0 May25 ? 00:00:00 [kauditd]
root 406 1 0 May25 ? 00:00:00 /sbin/udevd -d
root 1061 7 0 May25 ? 00:00:00 [hda_codec]
root 1310 7 0 May25 ? 00:00:00 [kmpathd/0]
root 1316 7 0 May25 ? 00:00:00 [kmirrord]
root 1337 7 0 May25 ? 00:00:00 [kjournald]
root 1339 7 0 May25 ? 00:04:27 [kjournald]
root 1341 7 0 May25 ? 00:04:52 [kjournald]
root 1465 1 0 May25 ? 00:00:06 cpuspeed -d -n
root 1752 1 0 May25 ? 00:00:00 klogd -x
rpc 1781 1 0 May25 ? 00:00:00 portmap
root 1799 1 0 May25 ? 00:00:00 rpc.statd
root 1806 1 0 May25 ? 00:00:00 /usr/sbin/courierlogger
-pid=/var/spool/authdaemon/pid -start
/usr/libexec/courier-authlib/authdaemond
root 1807 1806 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1831 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1832 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1833 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1834 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1835 1807 0 May25 ? 00:00:00 /usr/libexec/courier-authlib/authdaemond
root 1838 1 0 May25 ? 00:00:00 rpc.idmapd
dbus 1850 1 0 May25 ? 00:00:00 dbus-daemon --system
root 1858 1 0 May25 ? 00:00:00 hcid: processing events
root 1864 1 0 May25 ? 00:00:00 /usr/sbin/sdpd
root 1883 1 0 May25 ? 00:00:00 [krfcommd]
root 1916 1 0 May25 ? 00:03:14 pcscd
root 1933 1 0 May25 ? 00:00:00 /usr/bin/hidd --server
root 1945 1 0 May25 ? 00:00:06 automount
root 1961 1 0 May25 ? 00:00:00 /usr/sbin/acpid
root 1977 1 0 May25 ? 00:00:53 /usr/sbin/sshd
root 2167 1 0 May25 ? 00:01:13 /usr/libexec/postfix/master
postfix 2176 2167 0 May25 ? 00:00:43 qmgr -l -t fifo -u
root 2177 1 0 May25 ? 00:00:00 gpm -m /dev/input/mice -t exps2
root 2199 1 0 May25 ? 00:00:02 /usr/sbin/httpd-matrixsa
root 2209 1 0 May25 ? 00:00:03 crond
xfs 2229 1 0 May25 ? 00:00:00 xfs -droppriv -daemon
root 2244 1 0 May25 ? 00:00:00 /usr/sbin/atd
root 2252 1 0 May25 ? 00:00:32 /usr/bin/python /usr/sbin/yum-updatesd
avahi 2261 1 0 May25 ? 00:00:02 avahi-daemon: running [qx4.local]
avahi 2262 2261 0 May25 ? 00:00:00 avahi-daemon: chroot helper process
haldaemo 2270 1 0 May25 ? 00:00:06 hald
root 2271 2270 0 May25 ? 00:00:00 hald-runner
haldaemo 2277 2271 0 May25 ? 00:00:00 hald-addon-acpi: listening on acpid
socket /var/run/acpid.socket
root 2278 2271 0 May25 ? 00:00:00 /usr/libexec/hald-addon-cpufreq
haldaemo 2284 2271 0 May25 ? 00:00:00 hald-addon-keyboard: listening on
/dev/input/event2
haldaemo 2287 2271 0 May25 ? 00:00:00 hald-addon-keyboard: listening on
/dev/input/event0
ntp 2331 1 0 May25 ? 00:00:03 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root 2388 1 0 May25 tty1 00:00:00 /sbin/mingetty tty1
root 2389 1 0 May25 tty2 00:00:00 /sbin/mingetty tty2
root 2393 1 0 May25 tty3 00:00:00 /sbin/mingetty tty3
root 2396 1 0 May25 tty4 00:00:00 /sbin/mingetty tty4
root 2399 1 0 May25 tty5 00:00:00 /sbin/mingetty tty5
root 2423 1 0 May25 tty6 00:00:00 /sbin/mingetty tty6
root 9728 7 0 Jul22 ? 00:01:44 [pdflush]
root 2876 1 0 Aug11 ? 00:01:54 xinetd -stayalive -pidfile
/var/run/xinetd.pid
root 3606 1 0 Sep23 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe
--defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid
--log-error=/var/log/mysqld.log
mysql 3642 3606 0 Sep23 ? 01:16:11 /usr/libexec/mysqld
--defaults-file=/etc/my.cnf --basedir=/usr --datadir=/home/data --user=mysql
--pid-file=/var/run/mysqld/mysql
root 16677 7 0 Sep29 ? 00:00:08 [pdflush]
root 27558 1 0 Oct03 ? 00:00:03 /sbin/syslogd -m 0
apache 2427 2199 0 Oct04 ? 00:00:00 /usr/sbin/httpd-matrixsa
apache 2428 2199 0 Oct04 ? 00:00:00 /usr/sbin/httpd-matrixsa
root 2434 1 0 Oct04 ? 00:00:00 cupsd
root 2453 1 0 Oct04 ? 00:00:46 python2 MatrixSALaunch.py ThreadedAppServer
admin 5399 5398 0 Oct05 ? 00:00:00 /usr/libexec/openssh/sftp-server
nagios 6668 1 0 Oct05 ? 00:00:00 ./SCREEN
nagios 6669 6668 0 Oct05 pts/0 00:00:00 /bin/bash
nagios 6686 6669 0 Oct05 pts/0 00:00:00 /bin/bash
nagios 6691 6686 0 Oct05 pts/0 00:00:13 ./update 500
postfix 5791 2167

[Nagios-users] Gnokki Issues

2009-09-23 Thread Martyn
Hi all, I have just installed Gnokii for my SMS alerts and having a few
issues, could you check my config and let me know if you see any errors or
any reason why I can not send SMS alerts.

I can send SMS via command line in the following way: 

echo "Hello World" | gnokii --sendsms +123456789 -r

Here is my Nagios Command:

/usr/bin/printf "%.120s" "ALERT\n\nNotification Type:
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ ##" | gnokii --sendsms
"** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is$SERVICESTATE$
**" $CONTACTEMAIL$ -r

And my .gnokiirc file

[global]
 port = /dev/ttyS0
 model = AT
 initlength = default
 connection = serial
 use_locking = yes
 serial_baudrate = 115200
 handshake = software
 sm_retry = 1
 smsc_timeout = 10
 [gnokiid]
 bindir = /usr/local/sbin/
 [connect_script]
 TELEPHONE = 123456789
 [disconnect_script]
 [logging]
 debug = on
 rlpdebug = off
 xdebug = on

Thanks all


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] Nagio + SMS

2009-09-03 Thread Martyn
Hi Craig, looks like I was wrong after doing some research

-Original Message-
From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 02 September 2009 10:21
To: cr...@hooters-uk.com; christian.masop...@siemens.com;
nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Nagio + SMS

Craig not sure if this is a correct statement but I think that gnokii only
supports Nokia Mobiles, like I said not 100% sure.

-Original Message-
From: cr...@hooters-uk.com [mailto:cr...@hooters-uk.com]
Sent: 02 September 2009 10:15
To: christian.masop...@siemens.com; cr...@hooters-uk.com;
nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Nagio + SMS

Thanks for the replies, I guess we have to be looking at a GSM gateway then
as our rack manager will not allow us to have loose mobiles in cabs.

I have just had a quick Google on some GSM Modems and wondered if any of
these would be OK and use something like gnokii.

GSM Modems
http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html

Looking at this:
http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html

Thanks


--- Original Message ---
>From: Masopust,
Christian[mailto:christian.masop...@siemens.com]
Sent: 02/09/2009 09:55:12
To  : cr...@hooters-uk.com;
nagios-users@lists.sourceforge.net
Cc  : 
Subject : RE: [Nagios-users] Nagio + SMS

 
Hello Craig,

I'm using smstools (
http://smstools.meinemullemaus.de/ ) with a simple GSM-Modem (Siemens TC35)
here and it does all I need.

Christian


--
"I sense much NT in you, NT leads to Blue Screen. 
Blue Screen leads to downtime, downtime leads to suffering. NT is the path
to the darkside." 

- Unknown Unix Jedi  

> -Original Message-
> From: cr...@hooters-uk.com [
mailto:cr...@hooters-uk.com]  
> Sent: Wednesday, September 02, 2009 10:29 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagio + SMS
> 
> Hi all
> 
> I'm looking for an SMS solution for my Nagios set-up and noticed on 
> the Nagios page that you lean towards the SMS FoxBox, this looks like 
> a nice solution but at the cost of 850 Euro's this is way outside of 
> my budget.
> 
> What does this community use and recommend for a nice and simple as 
> well a cheap SMS solutions.
> 
> Thanks
> 
> Craig
> 
> 
>
--
> 
> Let Crystal Reports handle the reporting - Free
Crystal 
> Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and 
> focus on what you do best, core application coding. Discover
what's new with 
> Crystal Reports now.   http://p.sf.net/sfu/bobj-july 
> ___
> 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
> 



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Nagio + SMS

2009-09-02 Thread Martyn
Craig not sure if this is a correct statement but I think that gnokii only
supports Nokia Mobiles, like I said not 100% sure.

-Original Message-
From: cr...@hooters-uk.com [mailto:cr...@hooters-uk.com] 
Sent: 02 September 2009 10:15
To: christian.masop...@siemens.com; cr...@hooters-uk.com;
nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Nagio + SMS

Thanks for the replies, I guess we have to be looking at a GSM gateway then
as our rack manager will not allow us to have loose mobiles in cabs.

I have just had a quick Google on some GSM Modems and wondered if any of
these would be OK and use something like gnokii.

GSM Modems
http://www.rfsolutions.co.uk/acatalog/GSM_Modems.html

Looking at this:
http://www.rfsolutions.co.uk/acatalog/Maestro_Industrial_GSM_Modem.html

Thanks


--- Original Message ---
>From: Masopust,
Christian[mailto:christian.masop...@siemens.com]
Sent: 02/09/2009 09:55:12
To  : cr...@hooters-uk.com;
nagios-users@lists.sourceforge.net
Cc  : 
Subject : RE: [Nagios-users] Nagio + SMS

 
Hello Craig,

I'm using smstools (
http://smstools.meinemullemaus.de/ ) with a simple GSM-Modem (Siemens TC35)
here and it does all I need.

Christian


--
"I sense much NT in you, NT leads to Blue Screen. 
Blue Screen leads to downtime, downtime leads to suffering. NT is the path
to the darkside." 

- Unknown Unix Jedi  

> -Original Message-
> From: cr...@hooters-uk.com [
mailto:cr...@hooters-uk.com]  
> Sent: Wednesday, September 02, 2009 10:29 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagio + SMS
> 
> Hi all
> 
> I'm looking for an SMS solution for my Nagios set-up and noticed on 
> the Nagios page that you lean towards the SMS FoxBox, this looks like 
> a nice solution but at the cost of 850 Euro's this is way outside of 
> my budget.
> 
> What does this community use and recommend for a nice and simple as 
> well a cheap SMS solutions.
> 
> Thanks
> 
> Craig
> 
> 
>
--
> 
> Let Crystal Reports handle the reporting - Free
Crystal 
> Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and 
> focus on what you do best, core application coding. Discover
what's new with 
> Crystal Reports now.   http://p.sf.net/sfu/bobj-july 
> ___
> 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
> 



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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


[Nagios-users] SSL Handshake errors

2009-08-19 Thread Martyn
Hi all
Before I went home last night all my servers were responding to Nagios, this
morning when I get into work there is one server that is reporting Could not
complete SSL handshake, I have asked around but it appears that nobody has
made any changes to the server.

How can this be working one minutes and then report SSL problems the next,
do you think a change has been made somewhere if so could you point me to
where the possible changes were made.

Thanks all

Martyn
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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

[Nagios-users] Ping Disallowed

2009-08-10 Thread Martyn
Hi all
We have a box that needs monitoring but ping has been blocked by their
firewall and they do not want to allow connections to this port, what other
way is there to check the host is alive if ping has been disabled. At the
minute host shows down but their services show up.

Thanks 

Martyn
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Re NSCA

2009-07-09 Thread Martyn
Is this available in a PDF format at all? 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 09 July 2009 15:20
To: Nagios Users Mail-list
Subject: Re: [Nagios-users] Re NSCA


On Jul 9, 2009, at 8:49 AM, Nick Price wrote:

> What I don't get is how to get send_nsca on the remote nagios to pick 
> up the results of the active checks and send them to the central 
> server
>
> It is vital that the remote server has its own web interface and send 
> out notifications as the ITC at the remote site need to see only the 
> hosts/services their own nagios monitors,  they don't have access to 
> the web interface on the central server
>
> I am looking for a step by step guide to help.

Not _too_ hard to find...
http://nagios.sourceforge.net/docs/3_0/distributed.html

--
Marc



--
Enter the BlackBerry Developer Challenge This is your chance to win up to
$100,000 in prizes! For a limited time, vendors submitting new applications
to BlackBerry App World(TM) will have the opportunity to enter the
BlackBerry Developer Challenge. See full prize details at:
http://p.sf.net/sfu/Challenge
___
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


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Critical Memory Alert

2009-07-09 Thread Martyn
Oops yes it should

check_nt_memuse!80!90 

-Original Message-
From: Kevin Keane [mailto:subscript...@kkeane.com] 
Sent: 09 July 2009 13:28
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Critical Memory Alert

Shouldn't there be numeric values instead of ARG1 and ARG2? I suspect that
these non-numeric values both translate to 0, so all memory use would show
up as critical.

Martyn wrote:
>
> Hi All, I'm monitoring a windows server and Nagios is alerting the 
> memory usage as critical, below is what Nagios is showing.
>
> CRITICAL 09-07-2009 12:42:261d 2h 48m 23s   3/3  Memory usage: 
> total:5859.57 Mb - used: 305.44 Mb (5%) - free: 5554.13 Mb (95%)
>
> And this is the configuration I have.
>
> check_nt_memuse!ARG1!ARG2
>
> Why does this show as critical?
>
> Thanks
>
> Martyn
> 
>
> --
> --
>
> --
>  Enter the BlackBerry Developer Challenge This is your chance 
> to win up to $100,000 in prizes! For a limited time, vendors 
> submitting new applications to BlackBerry App World(TM) will have the 
> opportunity to enter the BlackBerry Developer Challenge. See full 
> prize details at: http://p.sf.net/sfu/Challenge
> --
> --
>
> ___
> 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


--
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think
About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or
proprietary information. Please be advised that the unauthorized use or
disclosure of the information is strictly prohibited. The information herein
is intended only for use by the intended recipient(s) named above. If you
have received this transmission in error, please notify the sender
immediately and permanently delete the e-mail and any copies, printouts or
attachments thereof.



--
Enter the BlackBerry Developer Challenge This is your chance to win up to
$100,000 in prizes! For a limited time, vendors submitting new applications
to BlackBerry App World(TM) will have the opportunity to enter the
BlackBerry Developer Challenge. See full prize details at:
http://p.sf.net/sfu/Challenge
___
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


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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


[Nagios-users] Critical Memory Alert

2009-07-09 Thread Martyn
Hi All, I'm monitoring a windows server and Nagios is alerting the memory
usage as critical, below is what Nagios is showing.

CRITICAL 09-07-2009 12:42:261d 2h 48m 23s   3/3  Memory usage:
total:5859.57 Mb - used: 305.44 Mb (5%) - free: 5554.13 Mb (95%)

And this is the configuration I have.

check_nt_memuse!ARG1!ARG2 

Why does this show as critical?

Thanks

Martyn
 

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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

[Nagios-users] SMS Foxbox

2009-06-24 Thread Martyn
Does anybody know where I can purchase one of these in the UK at all?

Also what would be the next level up for an SMS gateway, is there a server
version around

Cheers
--
___
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] Mail help needed

2009-05-12 Thread Martyn
 

> -Original Message-
> From: James Pratt [mailto:jpr...@norwich.edu] 
> Sent: 12 May 2009 16:44
> To: Martyn; nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Mail help needed
> 
> 
> 
> -Original Message-
> From: Martyn [mailto:mar...@chetnet.co.uk]
> Sent: Tuesday, May 12, 2009 11:31 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Mail help needed
> 
> I have found a provider that will convert Email to Voice but 
> they use $START$ and $END$ for their system to understand the mails.
> 
> I have altered my mail script as below 
> 
> /usr/bin/printf "%b" "$START$ Alert\n\nNotification Type:
> $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
> $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
> $SERVICESTATE$\n\nDate/Time:
> $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" $END$ 
> | /usr/bin/mailx -s " $NOTIFICATIONTYPE$ alert - 
> $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ " $CONTACTEMAIL$
> 
> But when I send a test mail I get which just adds a single $ 
> at the beginning and the end, is there a way to do this or is 
> this happening because Nagios users the $ itself, sorry for 
> what may seem a dumb question to you but I just do not know the answer
> 
> $ Alert 
> 
> Notification Type: PROBLEM 
> 
> Service: FTP
> Host: test
> Address: 8x.1x.9x.2x
> State: CRITICAL 
> 
> Date/Time: Tue May 12 15:53:40 BST 2009 
> 
> Additional Info: 
> 
> CRITICAL - Socket timeout after 10 seconds$ 
> 
> Cheers 
> 
> Martyn 
> 
> 
> ---
> 
> This is because $START$ and $END$ aren't defined in 
> commands.cfg , that is they contain no variable data so it 
> shows as a blank $ - if you need to send those explicitly 
> with no variable in your email/notification, you will likely 
> have to escape the $'s such as:
> 
> \$START\$ 
> 
> And 
> 
> \$END\$ 
> 
> 
> Hth,
> Cheers,
> Jamie
> 
> 
> 

Jamie thanks so much, this worked a treat and again something else I have
learnt from this fantastic group again.

Martyn


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] Mail help needed

2009-05-12 Thread Martyn
I have found a provider that will convert Email to Voice but they use
$START$ and $END$ for their system to understand the mails.
I have altered my mail script as below

/usr/bin/printf "%b" "$START$ Alert\n\nNotification Type:
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" $END$ |
/usr/bin/mailx -s " $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is
$SERVICESTATE$ " $CONTACTEMAIL$

But when I send a test mail I get which just adds a single $ at the
beginning and the end, is there a way to do this or is this happening
because Nagios users the $ itself, sorry for what may seem a dumb question
to you but I just do not know the answer

$ Alert

Notification Type: PROBLEM

Service: FTP
Host: test
Address: 8x.1x.9x.2x
State: CRITICAL

Date/Time: Tue May 12 15:53:40 BST 2009

Additional Info:

CRITICAL - Socket timeout after 10 seconds$

Cheers

Martyn
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Remote Acknowledge

2009-05-12 Thread Martyn
> Hi Group
> 
> I'm trying to find a way of letting our users acknowledge 
> their own servers faults without the need to log in to 
> Nagios, I have seen that there are remote commands you can 
> issue which allow this to happen, but this is where I need a 
> little instruction on how to use them.
> 
> http://www.nagios.org/developerinfo/externalcommands/commandin
> fo.php?command_id=39
> 
> In the Nagios book I have been reading it mention's the use 
> of Ticket Systems and making sure that Nagios can integrate 
> with them and when I goggled the question the one of the 
> results I got was OTRS.
> 
> I guess that means I can raise a ticket by injecting Nagios 
> info into it, but would I be able to use ACK's from within 
> too, if not do you know of a solution that could do this.
> 
> Thanks
> 
> Craig 
> 

Did you find any information on this subject Craig?


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Escalations Info

2009-05-08 Thread Martyn
That is how I have mine set up Craig and it is working as follows:

Alerts 1, 2 and 3 are emails, then 4, 5 and six are SMS and no emails are
sent.

However after that it reverts back to sending mails again.

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 07 May 2009 19:13
To: nagios-user Mailinglist
Subject: Re: [Nagios-users] Escalations Info


On May 7, 2009, at 12:52 PM, cr...@hooters-uk.com wrote:

> First escalation: 3 because as I understand it this will occur after
> 3 mails have been sent.
> Last Escalation: 3 because I want 3 SMS sent after my 3 mails.
>
> Is this the way to do it or have I not got the correct understanding 
> of it

I don't use escalations but my understanding is the numbering is sequential
--

Notification number 1 - email
2 - email
3 - email
4 - First Escalation - sms
5 - sms
6 - Last Escalation - sms

--
Marc




--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700 Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-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


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] nag2ast

2009-05-06 Thread Martyn
Yep that is me and I'm willing to pay for any help on getting this function
working. 

-Original Message-
From: Aaron Segura [mailto:aaron.seg...@cabelas.com] 
Sent: 06 May 2009 22:48
To: cr...@hooters-uk.com
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] nag2ast

There's a discussion on the groundwork forums about it... 

http://www.groundworkopensource.com/community/forums/viewtopic.php?f=23&t=11
52

YMMV

-Original Message-
From: cr...@hooters-uk.com [mailto:cr...@hooters-uk.com]
Sent: Wednesday, May 06, 2009 2:25 AM
To: shadhi...@gmail.com
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] nag2ast

No I did not find any English documentation, further to that one of the
links in the instructions no longer works.
http://tcts.fpms.ac.be/synthesis/mbrola.html

Does anybody else have any suggestions on how I can achieve Voice
notification.

Thanks

Craig



--- Original Message ---
>From: shadih rahman[mailto:shadhi...@gmail.com]
Sent: 05/05/2009 17:25:54
To  : cr...@hooters-uk.com
Cc  : nagios-users@lists.sourceforge.net
Subject : RE: Re: [Nagios-users] nag2ast

 Did you find any English documentation on nag2ast?  Please advise on
this.   Thanks

On Tue, May 5, 2009 at 11:12 AM, cr...@hooters-uk.com 
wrote:

Hi All I'm about to venture into Asterisk so I can use nag2ask, but before I
go and install


Asterisk has anybody got nag2ask working with Trixbox at all, just seems a
simpler router for us

to use instead of trying to teach our guys Asterisk then can you Trixbox's
GUI



Thanks all



Craig






--

The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your

production scanning environment may not be a perfect world - but thanks to

Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700

Series Scanner you'll get full speed at 300 dpi even with all image

processing features enabled. http://p.sf.net/sfu/kodak-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



--
Cordially,
Shadhin Rahman





--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] SMS notification for warning and critical

2009-04-24 Thread Martyn
>-Original Message-
>From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
>Sent: 17 April 2009 13:37
>To: nagios-users@lists.sourceforge.net
>Subject: Re: [Nagios-users] SMS notification for warning and critical
>
>
>you can do it with a modem and the smsclient  software 
>
>http://www.smsclient.org/
>
>and you can read this for some more details :
>
>http://www.nagios.org/faqs/viewfaq.php?faq_id=279
>
>Assaf
>On Friday 17 April 2009 13:07:38 Mohr James wrote:
> Hi All!
>
>
> Is there a way to send an SMS when a Service gives a warning, then 
> acknowledged and then another SMS when it goes critical?  Stalking 
> does not seem to do what I need.
>
>
>
> Regards,
>
> Jim Mohr
>
>
Have you seen the Foxbox also
http://www.nagios.org/products/notification/foxbox/


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] only_from = 127.0.0.1

2009-04-23 Thread Martyn

On Apr 23, 2009, at 6:35 AM, Martyn wrote:

> PS what his top posting, once I find out I will stop it

http://en.wikipedia.org/wiki/Posting_style, specifically
http://en.wikipedia.org/wiki/Posting_style#Top-posting

--
Marc


--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne (SM)
conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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

Apologies, Outlooks default.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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] only_from = 127.0.0.1

2009-04-23 Thread Martyn
That has now done the trick but I'm a little confused as to why this work
under host.allow and not when used in my nrpe file, does anybody have the
answer to that?

Its on Centos 5.3, I'm going to try Fedora to see if that is the same

Thanks for your help

Martyn

PS what his top posting, once I find out I will stop it 

-Original Message-
From: Christian Schneemann [mailto:cschneem...@suse.de] 
Sent: 23 April 2009 12:06
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] only_from = 127.0.0.1

On Thursday April 23 2009 01:01:41 pm Martyn wrote:
> I'm not being ignorant but as I complete novice on none windows boxes, 
> how do I  put "setting 3" in front of the line
Sorry, it should be #, no 3 (dumb shift mistake).

just comment the line out by putting the # in the front of the line:
# only_from   = 127.0.0.1


Sorry for that,
 Christian


>
> Many thanks for your reply
>
> Martyn
>
> -Original Message-
> From: Christian Schneemann [mailto:cschneem...@suse.de]
> Sent: 23 April 2009 11:05
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] only_from = 127.0.0.1
>
> On Thursday April 23 2009 11:07:06 am Martyn wrote:
> > Can anybody tell me how I use domains names instead of IP address in 
> > the nrpe file, I have read somewhere that you can use tcp wrappers 
> > which I have tried.
> >
> > My nrpe file looks like this:
> >
> > # default: on
> > # description: NRPE (Nagios Remote Plugin Executor) service nrpe {
> > flags   = REUSE
> > socket_type = stream
> > port= 5666
> > wait= no
> > user= nagios
> > group   = nagios
> > server  = /usr/local/nagios/bin/nrpe
> > server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
> > log_on_failure  += USERID
> > disable = no
> > only_from   = 127.0.0.1
> > }
> >
> >
> > And my hosts.allow looks like
> >
> > #
> > # hosts.allow   This file describes the names of the hosts which are
> > #   allowed to use the local INET services, as decided
> > #   by the '/usr/sbin/tcpd' server.
> > #
> > nrpe: 17.0.0.1 monitor.domain.co.uk
> >
> > But I'm still getting Could not complete SSL handshake, is the above 
> > configuration correct or can I not use domain names instead of IP's
>
> You have to adjust the "olny_from" line, your hosts.allow allows 
> 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because 
> you just allows connections from 127.0.0.1 (or is there the 2 missing 
> in the hosts.allow
> line?)
>
> you can simply write the domain name to only_from.
>
> If you use the hosts.allow you could even exclude the only_from line 
> from the xinetd configuration by setting 3 in front of the line.
>
> Greetings,
>   Christian
>
> > Thanks
> >
> > Martyn
>
> --
> Christian Schneemann
>
> -
> SUSE LINUX Products GmbH,
> Maxfeldstr. 5, D - 90409 Nürnberg
>
> Phone:  +49 (0)911 - 740 53 0
> e-mail: cschneem...@suse.de
> -
> SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg)
>
> 
>---
>
>- --
> Stay on top of everything new and different, both inside and around 
>Java
> (TM) technology - register by April 22, and save $200 on the JavaOne 
>(SM)  conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p  
>___
> 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



--
Christian Schneemann

-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: cschneem...@suse.de
-
SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg)


--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne (SM)
conference, June 

Re: [Nagios-users] only_from = 127.0.0.1

2009-04-23 Thread Martyn
I changed the line as suggested but I still get the SSL handshake issue, the
"host.domain.co.uk" is made up on here but I have the real one in the live
config, again thanks for your time

# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags   = REUSE
socket_type = stream
port= 5666
wait= no
user= nagios
group   = nagios
server  = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure  += USERID
disable = no
only_from   = 127.0.0.1 192.168.3.247 host.domain.co.uk
} 



-Original Message-
From: Christian Schneemann [mailto:cschneem...@suse.de] 
Sent: 23 April 2009 11:05
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] only_from = 127.0.0.1

On Thursday April 23 2009 11:07:06 am Martyn wrote:
> Can anybody tell me how I use domains names instead of IP address in 
> the nrpe file, I have read somewhere that you can use tcp wrappers 
> which I have tried.
>
> My nrpe file looks like this:
>
> # default: on
> # description: NRPE (Nagios Remote Plugin Executor) service nrpe {
> flags   = REUSE
> socket_type = stream
> port= 5666
> wait= no
> user= nagios
> group   = nagios
> server  = /usr/local/nagios/bin/nrpe
> server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
> log_on_failure  += USERID
> disable = no
> only_from   = 127.0.0.1
> }
>
>
> And my hosts.allow looks like
>
> #
> # hosts.allow   This file describes the names of the hosts which are
> #   allowed to use the local INET services, as decided
> #   by the '/usr/sbin/tcpd' server.
> #
> nrpe: 17.0.0.1 monitor.domain.co.uk
>
> But I'm still getting Could not complete SSL handshake, is the above 
> configuration correct or can I not use domain names instead of IP's
You have to adjust the "olny_from" line, your hosts.allow allows 17.0.0.1 to
connect to nrpe, but xinetd rejects the request, because you just allows
connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow
line?)

you can simply write the domain name to only_from.

If you use the hosts.allow you could even exclude the only_from line from
the xinetd configuration by setting 3 in front of the line.

Greetings,
Christian
>
> Thanks
>
> Martyn



--
Christian Schneemann

-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: cschneem...@suse.de
-
SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg)


--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne (SM)
conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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] only_from = 127.0.0.1

2009-04-23 Thread Martyn
I'm not being ignorant but as I complete novice on none windows boxes, how
do I  put "setting 3" in front of the line

Many thanks for your reply

Martyn

-Original Message-
From: Christian Schneemann [mailto:cschneem...@suse.de] 
Sent: 23 April 2009 11:05
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] only_from = 127.0.0.1

On Thursday April 23 2009 11:07:06 am Martyn wrote:
> Can anybody tell me how I use domains names instead of IP address in 
> the nrpe file, I have read somewhere that you can use tcp wrappers 
> which I have tried.
>
> My nrpe file looks like this:
>
> # default: on
> # description: NRPE (Nagios Remote Plugin Executor) service nrpe {
> flags   = REUSE
> socket_type = stream
> port= 5666
> wait= no
> user= nagios
> group   = nagios
> server  = /usr/local/nagios/bin/nrpe
> server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
> log_on_failure  += USERID
> disable = no
> only_from   = 127.0.0.1
> }
>
>
> And my hosts.allow looks like
>
> #
> # hosts.allow   This file describes the names of the hosts which are
> #   allowed to use the local INET services, as decided
> #   by the '/usr/sbin/tcpd' server.
> #
> nrpe: 17.0.0.1 monitor.domain.co.uk
>
> But I'm still getting Could not complete SSL handshake, is the above 
> configuration correct or can I not use domain names instead of IP's
You have to adjust the "olny_from" line, your hosts.allow allows 17.0.0.1 to
connect to nrpe, but xinetd rejects the request, because you just allows
connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow
line?)

you can simply write the domain name to only_from.

If you use the hosts.allow you could even exclude the only_from line from
the xinetd configuration by setting 3 in front of the line.

Greetings,
Christian
>
> Thanks
>
> Martyn



--
Christian Schneemann

-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: cschneem...@suse.de
-
SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg)


--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne (SM)
conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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


[Nagios-users] only_from = 127.0.0.1

2009-04-23 Thread Martyn
Can anybody tell me how I use domains names instead of IP address in the
nrpe file, I have read somewhere that you can use tcp wrappers which I have
tried.

My nrpe file looks like this:

# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags   = REUSE
socket_type = stream
port= 5666
wait= no
user= nagios
group   = nagios
server  = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure  += USERID
disable = no
only_from   = 127.0.0.1  
}


And my hosts.allow looks like

#
# hosts.allow   This file describes the names of the hosts which are
#   allowed to use the local INET services, as decided
#   by the '/usr/sbin/tcpd' server.
#
nrpe: 17.0.0.1 monitor.domain.co.uk

But I'm still getting Could not complete SSL handshake, is the above
configuration correct or can I not use domain names instead of IP's

Thanks

Martyn
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
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

[Nagios-users] Email to Voice Service

2009-04-22 Thread Martyn
Hi All

I'm looking for a way to send alerts to mobiles as well as to email
accounts, at the minute I use an external company to convert my Emails to
SMS but unable to find anybody who can do the same for Voice alerts to
mobiles.

I looked at x-on in the UK but they are not able to convert the email that
is sent across from Nagios to voice, I have asked if then can let me know
the format to see if I can change Nagios side of things to suit.

In the mean time does anybody know how can achieve voice alerts to mobiles
at all, I have heard that Asterisk can do it but I think only to one number.

Hope you can help

Thanks

Martyn


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
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

[Nagios-users] Limit the alert notifications

2009-04-16 Thread Martyn
Hi all
I would like to change the email alerts per users if I may, is there a way
of setting up so only 3 mails get sent to users "A" but only two mails to
user "B" even if the fault is still there, if not per users then across the
board.

I have searched around but finding anything, not sure if I'm searching for
the correct wording

Thanks

Chet
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
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] Add ## for mail to sms

2009-03-15 Thread Martyn
Will do 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 15 March 2009 18:49
To: nagios-users Listserv
Subject: Re: [Nagios-users] Add ## for mail to sms


On Mar 15, 2009, at 12:09 PM, Martyn wrote:
> So to get my mail to SMS should look like the below, my provider will 
> send it to SMS and remove the two #'s.
>
> * Nagios *
>
> Notification Type: PROBLEM
>
> Service: FTP
> Host: IBM 3
> Address: xxx.xxx.xxx.xxx
> State: CRITICAL
>
> Date/Time: Fri Mar 13 18:12:47 GMT 2009
>
> Additional Info:
>
> Connection refused ##
>

One very minor edit --

/usr/bin/printf "%b" "* Nagios *\n\nNotification Type:  
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$
\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:  
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/ mailx -s
"** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$
**" $CONTACTEMAIL$

becomes

/usr/bin/printf "%b" "* Nagios *\n\nNotification Type:  
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$
\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:  
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ ##" | /usr/bin/ mailx
-s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is
$SERVICESTATE$ **" $CONTACTEMAIL$

You should try to understand why that was all it takes.

--
Marc


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Add ## for mail to sms

2009-03-15 Thread Martyn
Excellent, thank you.

Martyn 

-Original Message-
From: Philipp Geschke [mailto:nag...@pgmail.net] 
Sent: 15 March 2009 18:02
To: Martyn
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Add ## for mail to sms

Hi Martyn,

Martyn schrieb:
> /usr/bin/printf "%b" "* Nagios *\n\nNotification Type:
> $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
> $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
> $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | 
> /usr/bin/mailx -s
> "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is 
> $SERVICESTATE$ **" $CONTACTEMAIL$

Right behind the $SERVICEOUTPUT$, so make it look like

> /usr/bin/printf "%b" "* Nagios *\n\nNotification Type:
> $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
> $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
> $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ ##" | 
> /usr/bin/mailx -s
> "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is 
> $SERVICESTATE$ **" $CONTACTEMAIL$


Cheers,
Philipp


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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


[Nagios-users] Add ## for mail to sms

2009-03-15 Thread Martyn
I'm a little nervous about asking my question but I have to because I have
no knowledge about coding and I have searched on Google, not sure what to
search for is also hampering me.

I need to get two gates at the end of this script so my provider will then
send it on to their SMS gateway .


/usr/bin/printf "%b" "* Nagios *\n\nNotification Type:
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mailx -s
"** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$
**" $CONTACTEMAIL$

So to get my mail to SMS should look like the below, my provider will send
it to SMS and remove the two #'s.

* Nagios *

Notification Type: PROBLEM

Service: FTP
Host: IBM 3
Address: xxx.xxx.xxx.xxx
State: CRITICAL

Date/Time: Fri Mar 13 18:12:47 GMT 2009

Additional Info:

Connection refused ##

Thanks

Martyn



--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] WMI's

2009-03-12 Thread Martyn
Thanks for the reply made me laugh did this line.

"You're holding a hammer and want someone to explain to you how to use it as
a car"  am going to use that myself one day.

However I did get a reply saying

"You can make your very own "checks" using whatever credentials you like
(and access any data you like).
In other words, you don't have to use generic checks shipped with nagios"

This kind of implied that it can be done with Nagios.

Apologies if I misunderstood it

Martyn

-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se] 
Sent: 12 March 2009 12:27
To: Martyn
Cc: 'Tomasz Chmielewski'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] WMI's

Martyn wrote:
> How do I add the windows credentials.
> 
> check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process
> 
> If I run the above it will give me a refused connection, where in the 
> above line would I add the username and password of the Windows box I 
> want to connect to?
> 

You're holding a hammer and want someone to explain to you how to use it as
a car. It can't be done with check_nt, but there are other programs out
there that can ask questions over WMI, and you already know of some of them.
Google should hold plenty of other resources if installing nsclient, NCNet
or nsclient++ is not an option for you, although some programming may be
necessary on your part.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and terror,
I think we should give some serious thought to declaring war on peace.


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] WMI's

2009-03-12 Thread Martyn
How do I add the windows credentials.

check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process

If I run the above it will give me a refused connection, where in the above
line would I add the username and password of the Windows box I want to
connect to?

Thanks 

Martyn

-Original Message-
From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 12 March 2009 11:22
To: 'Tomasz Chmielewski'
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] WMI's

Tomasz thanks for the reply, do you have a example of such commands or could
point be to a place that does

Thanks

Martyn

-Original Message-
From: Tomasz Chmielewski [mailto:man...@wpkg.org]
Sent: 12 March 2009 10:44
To: Martyn
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] WMI's

Martyn schrieb:
> Why does Nagios need the NSClient to access Windows boxes when other 
> systems like PRTG use windows logon conditionals, think Cacti is the 
> same also.

You can make your very own "checks" using whatever credentials you like (and
access any data you like).
In other words, you don't have to use generic checks shipped with nagios.


--
Tomasz Chmielewski
http://wpkg.org



--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] WMI's

2009-03-12 Thread Martyn
Tomasz thanks for the reply, do you have a example of such commands or could
point be to a place that does

Thanks

Martyn

-Original Message-
From: Tomasz Chmielewski [mailto:man...@wpkg.org] 
Sent: 12 March 2009 10:44
To: Martyn
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] WMI's

Martyn schrieb:
> Why does Nagios need the NSClient to access Windows boxes when other 
> systems like PRTG use windows logon conditionals, think Cacti is the 
> same also.

You can make your very own "checks" using whatever credentials you like (and
access any data you like).
In other words, you don't have to use generic checks shipped with nagios.


-- 
Tomasz Chmielewski
http://wpkg.org


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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


[Nagios-users] WMI's

2009-03-12 Thread Martyn
Why does Nagios need the NSClient to access Windows boxes when other systems
like PRTG use windows logon conditionals, think Cacti is the same also.

Thanks
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] How to receive notification alert by sms tomobile phone using Nagios

2009-03-11 Thread Martyn
Beat me too it with the same question
 
Martyn

  _  

From: Onotsky, Steve x55328 [mailto:steve.onot...@broadridge.com] 
Sent: 11 March 2009 15:55
To: ncc...@gmail.com; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] How to receive notification alert by sms
tomobile phone using Nagios



I've been messing around with this, off and on (as time permits).  How did
you set up your config to go to SMS only if email fails?

 

Thanks

 

 

Steve Onotsky

Server Support Technologist

Broadridge

Investor Communication Solutions, Canada

5970 Chedworth Way

Mississauga  ON  L5R 4G5

Tel: (905) 507-5328

Fax: (905) 507-5312

Inet:  <mailto:steve.onot...@broadridge.com> steve.onot...@broadridge.com

 

Quis custodiet ipsos custodes?

- Juvenal, Satires, VI, 347

 

  _  

From: Andrew Davis [mailto:ncc...@gmail.com] 
Sent: March 11, 2009 11:35
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] How to receive notification alert by sms to
mobile phone using Nagios

 

In "Nagios 2nd Edition" from Wolfgang Barth, he covers this in section
12.4.2. He covers "smsclient", "yasp", and "smssend", but he points out what
Jim pointed out... most are email to SMS conversion tools so if email is
done, you're still not notified. "smsclient" and a modem resolve this. I
have it installed and working fine. Our normal notifications go via email,
but if a network device or email server is down, then notifications go via
SMS.



 
  A. Davis
  Email: ncc...@gmail.com
 
  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan



Jim Avery wrote: 

2009/3/11 tsedendorj oyunbat  <mailto:t_oyun...@yahoo.com>
:
  

I'm new one in Nagios system.
I work in mobile cellular operator company. And I need to know is there any
chance to get notification alert via sms to my mobile phone when BSC or HLR
equipments go down or stop working?
Is there any configuration on Nagios? And how to connect Nagios server to
sms center.


 
Currently I use an external email-sms service similar to
http://www.intellisms.co.uk so I can send emails from Nagios in the
usual way and have them converted to SMS.  It's extremely easy to set
up, but has the disadvantage that if the email system goes down, we
don't know about it!
 
Alternatively, you could connect a mobile 'phone to your Nagios server
and send SMS using gnokii http://www.gnokii.org/ or similar, or your
mobile operator might well have an http interface you could use or can
recommend other options.
 
In Nagios, you specify the notification methods in command definitions
which you can write yourself so it's extremely flexible.  See
http://nagios.sourceforge.net/docs/3_0/notifications.html under the
heading "Notification Methods".
 
hth,
 
Jim
 

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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
  
This message and any attachments are intended only for the use of the
addressee and

may contain information that is privileged and confidential. If the reader
of the 

message is not the intended recipient or an authorized representative of the

intended recipient, you are hereby notified that any dissemination of this

communication is strictly prohibited. If you have received this
communication in

error, please notify us immediately by e-mail and delete the message and any

attachments from your system.


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Any recommendations

2009-03-10 Thread Martyn
Your first warning that appears is:

"You are running an unstable version of Lilac, Unstable versions may not be
feature complete and not production, use it at you own risk"

For a complete novice like myself it proves to much of a risk to install,
the last thing I want to do is find myself 3 months backwards.

Martyn 

-Original Message-
From: Taylor Dondich [mailto:tdond...@gmail.com] 
Sent: 10 March 2009 04:43
To: Martyn
Cc: ncc...@gmail.com; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Any recommendations

Please please please.  Best Nagios 3.x configuration tool with the most
coverage of Nagios 3.x features.  Lilac!

www.lilacplatform.com

Taylor

On Mon, Mar 9, 2009 at 4:05 PM, Martyn  wrote:
> Yep I understand, which book to purchase is the question though.
>
> Building a Monitoring Infrastructure with Nagios
>
> http://www.amazon.com/Building-Monitoring-Infrastructure-Nagios-Joseph
> sen/dp/0132236931/ref=pd_bxgy_b_img_b
>
> or
>
> Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and 
> Hardware Devices
>
> http://www.amazon.com/Nagios-Enterprise-Network-Monitoring-Including/d
> p/1597492671/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1222355174&sr=8-2
>
> Am on the verge of purchasing  Nagios 3 ent.
>
> Thanks
> 
> From: Andrew Davis [mailto:ncc...@gmail.com]
> Sent: 09 March 2009 22:11
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Any recommendations
>
> Per the Nagios Exchange site, NagiosWeb only supports up to Nagios 
> 2.x. It also hasn't been updated since 2006. If you're going to do a 
> new Nagios install, you should be on 3.x.
>
> If you're going to try one, you're probably best off with NagMin, but 
> realistically, unless you're going to make changes in the web 
> frontend, then crawl your server for what's changed and diff it, you 
> aren't likely to learn it. I just migrated from BB to Nagios following 
> Wolfgang Barth's "Nagios 2nd Edition" and its been really helpful to 
> understand the file structures and command-line, especially if you 
> want to extend Nagios with trending, etc. So this is where I politely 
> say "suck it up and read the manual... or at least a good book about 
> it". :)
>
> Of course, a few years of experience as a UNIX/Linux admin won't hurt 
> either...
>
>   A. Davis
>   Email: ncc...@gmail.com
>
>   "There is no limit to what a man can accomplish
>if he doesn't care who gets the credit." - Ronald Reagan
>
>
> Martyn wrote:
>
> Hi Group, anybody used or can recommend ant of the below, or any 
> others, I think if I can build a few via a GUI it will give me a better
understanding.
>
> Nagmin
> Nagat
> Nagiosweb
>
> Thanks
>
> Martyn
>
> 
> --
>  Open Source Business Conference (OSBC), March 24-25, 2009, 
> San Francisco, CA -OSBC tackles the biggest issue in open source: Open 
> Sourcing the Enterprise -Strategies to boost innovation and cut costs 
> with open source participation -Receive a $600 discount off the 
> registration fee with the source code: SFAD 
> http://p.sf.net/sfu/XcvMzF8H
>
> 
> ___
> 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
>
> --
> 
>
> ___
> 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
>



--
Taylor Dondich
Check out Lilac, a configuration tool for Nagios 3 at
http://www.lilacplatform.com

Check out my Shortcut with O'Reilly Press:
Network Monitoring with Nagios:
http://oreilly.com/catalog/9780596528195/index.html


--
___
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] free Page table entries

2009-03-10 Thread Martyn
Thanks for the reply, do you know of which one I would monitor, this is all
pretty new to me.

Thanks

Martyn 

-Original Message-
From: Kevin Keane [mailto:subscript...@kkeane.com] 
Sent: 10 March 2009 18:07
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] free Page table entries

It's a Windows performance monitor counter. Basically, it is used to figure
out how well your memory management is working.

To actually monitor it, you would probably use NSClient++ (you can also
access it differently, but NSClient++ is the most common approach).

Martyn wrote:
>
> I have been asked to see if Nagios can monitor free PTEs, I'm going to 
> hit Goole to find out what they are but thought I would ask the group 
> who know everything first
>
> Cheers
>
> Martyn
>

--
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think
About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or
proprietary information. Please be advised that the unauthorized use or
disclosure of the information is strictly prohibited. The information herein
is intended only for use by the intended recipient(s) named above. If you
have received this transmission in error, please notify the sender
immediately and permanently delete the e-mail and any copies, printouts or
attachments thereof.



--
___
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


--
___
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


[Nagios-users] free Page table entries

2009-03-10 Thread Martyn
I have been asked to see if Nagios can monitor free PTEs, I'm going to hit
Goole to find out what they are but thought I would ask the group who know
everything first

Cheers

Martyn
--
___
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

[Nagios-users] A group of Nagios users are:

2009-03-09 Thread Martyn
Just on a lighter note, what do we call a bunch of Nagios users;
Nagiothions?
--
___
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] Any recommendations

2009-03-09 Thread Martyn
Yep I understand, which book to purchase is the question though.
 
Building a Monitoring Infrastructure with Nagios
 
http://www.amazon.com/Building-Monitoring-Infrastructure-Nagios-Josephsen/dp
/0132236931/ref=pd_bxgy_b_img_b
 
or
 
Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and Hardware
Devices 
 
http://www.amazon.com/Nagios-Enterprise-Network-Monitoring-Including/dp/1597
492671/ref=pd_bbs_sr_2?ie=UTF8
<http://www.amazon.com/Nagios-Enterprise-Network-Monitoring-Including/dp/159
7492671/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1222355174&sr=8-2>
&s=books&qid=1222355174&sr=8-2
 
Am on the verge of purchasing  Nagios 3 ent.
 
Thanks

  _  

From: Andrew Davis [mailto:ncc...@gmail.com] 
Sent: 09 March 2009 22:11
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Any recommendations


Per the Nagios Exchange site, NagiosWeb only supports up to Nagios 2.x. It
also hasn't been updated since 2006. If you're going to do a new Nagios
install, you should be on 3.x.

If you're going to try one, you're probably best off with NagMin, but
realistically, unless you're going to make changes in the web frontend, then
crawl your server for what's changed and diff it, you aren't likely to learn
it. I just migrated from BB to Nagios following Wolfgang Barth's "Nagios 2nd
Edition" and its been really helpful to understand the file structures and
command-line, especially if you want to extend Nagios with trending, etc. So
this is where I politely say "suck it up and read the manual... or at least
a good book about it". :)

Of course, a few years of experience as a UNIX/Linux admin won't hurt
either...

  A. Davis

  Email: ncc...@gmail.com



  "There is no limit to what a man can accomplish

   if he doesn't care who gets the credit." - Ronald Reagan


Martyn wrote: 

Hi Group, anybody used or can recommend ant of the below, or any others, I
think if I can build a few via a GUI it will give me a better understanding.

Nagmin 
Nagat 
Nagiosweb 

Thanks 

Martyn 



  _  



--

Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA

-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise

-Strategies to boost innovation and cut costs with open source participation

-Receive a $600 discount off the registration fee with the source code: SFAD

http://p.sf.net/sfu/XcvMzF8H


  _  


___

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

--
___
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

[Nagios-users] Any recommendations

2009-03-09 Thread Martyn
Hi Group, anybody used or can recommend ant of the below, or any others, I
think if I can build a few via a GUI it will give me a better understanding.

Nagmin 
Nagat 
Nagiosweb

Thanks

Martyn 
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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/NRPE relationship

2009-03-06 Thread Martyn
Marc it makes perfect sense now, thanks for the detailed explanation.

Thanks again!

Martyn

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 05 March 2009 16:29
To: Nagios Users
Subject: Re: [Nagios-users] Nagios/NRPE relationship


On Mar 4, 2009, at 5:26 PM, Martyn wrote:

> Hi all, hope you do no think this is a stupid question; however I have 
> to ask it anyway for a better understanding
>

> Command[check_smtp]=/usr/local/nagios/libexec/check_smtp -H localhost
>
> Do they have to use the -H localhost directive or is there something  
> different they can use, the localhost just does not seem right  
> looking at the other examples above.
>

Yes, check_smtp connects to a 'remote' smtp server and verifies that  
it answers so it needs to know what IP to connect to. It doesn't need  
NRPE to do that. If this remote server answers on port 25 on an IP  
reachable from your nagios host, you could just as easily run it from  
your nagios host and probably have more reliable results. The only  
scenario where the check above makes sense is if the SMTP server only  
accepts connections from the local machine.

You can always run 'check_ --help' to see what parameters are  
required and available.

NRPE is only needed for checking things that don't expose external  
services. Things like disk space, cpu utilization, memory use, etc..  
Any network aware daemons like sendmail, postfix, apache, sshd, etc  
can generally be checked without using NRPE.
> Then on my Nagios Server, under the .cfg box I want to monitor I  
> define the command:
>
> define service{
> use  generic-service
> host_name   linux-server
> service_description   SSH
> check_command  check_nrpe!check_ssh
> }
>

This is another one that doesn't really make sense to run through  
NRPE. check_ssh tries to connect to port 22 on a specified host (-H)  
to see if sshd is listening. You'd want to perform that test from a  
different box than sshd is running on to make sure it's listening  
publicly. Running directly from nagios is better.

define service{
 use  generic-service
 host_name   linux-server
 service_description   SSH
 check_command  check_ssh
 }

Assuming your check_ssh command definition looks something like --

define command {
 command_name   check_ssh
 command_line   $USER1$/check_ssh -t 30 -H  
$HOSTADDRESS$
 }

--
Marc



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] How to monitor using custom scripts in nagios.

2009-03-05 Thread Martyn
Brill, this is the kind of thing that helps me learn how to use programs,
wish a few more would post things like this.
 
Cheers

  _  

From: vinod.e [mailto:vino...@enlume.com] 
Sent: 05 March 2009 10:57
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How to monitor using custom scripts in nagios.


Hi Friends,
I Want share My experience  of   monitoring  scripts on  nagios , Very
simple and Easy.
I am 3 months experienced with nagios  and  u should  make copy of all your
modifying  files initially.

Actually I want to  monitor tomcat threads,memory etc.. along with other
services , i could not find plug ins similar  to  mysql.
In my office  we have inbuilt scripts  to monitor  tomcat manually.
On test bases I had taken one of this script  and tested , I had success.
There are other ways thanks to Mr.Richard Quintin  who  shared his knowledge
of using nagiosgraph  and scripts to monitor tomcat but my suse10.2 ,
monitoring server have few issues i  could not go head instead tried this.

Monitoring   nagios using  scripts.
Example:
Monitoring tomcat Threads.

At remote host side i.e where nrpe is installed / monitored box

Created a file tomcat_threads.sh using vi editor

#vi tomcat_threads.sh
Entered  following  three line code

#!/bin/sh
totalThreads=`ps -C java -L -o pid,tid,pcpu,state | wc -l`
echo "Total Threads Available:$totalThreads"

Save the file and quit

Made sure first  script runs at  # prompt.

Moved script to  /usr/local/nagios/libexec  folder if its not created here.

Set permission
#chmod  755 tomcat_threads.sh

Give ownner ship to nagios user only.
#chown   nagios:nagios  tomcat_threads.sh


#cd /usr/local/nagios/etc
#vi nrpe.cfg

Append below command  line

command[tomcat_threads.sh]=/usr/local/nagios/libexec/tomcat_threads.sh

Save and quit

Restart  xinetd to make  changes effected.
#service xinetd restart


At monitoring server side /  where nagios monitoring  server  installed.
#cd /usr/local/nagios/etc/

#vi services.cfg
Append this  service

define service{
  use  generic-service
  host_name   amazon
 service_description   tomcat_threads.sh
check_command   check_nrpe!tomcat_threads.sh
 notifications_enabled 0
 }

Save and quit

check for erorrs 
#/usr/local/nagios/bin /nagios -v  /usr/local/nagios/etc/nagios.cfg
correct your erorror if any.

Restart nagios service
#service nagios restart
   
DISCLAIMER:
This is what worked for me  and i am confident i will add as many as scripts
i want in future.
You make changes as it suits to you and i own no responsibility  for typo
error or if some thing  goes wrong.

Please share your knowledge, knowledges grows by sharing while money
reduces by sharing. 

Regards
Gajula Vinod Kumar Eleshetty
SYSTEM ADMINISTRATOR/DATA BASE ADMINISTRATOR
Enlume technologis.




--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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

[Nagios-users] Nagios/NRPE relationship

2009-03-04 Thread Martyn
Hi all, hope you do no think this is a stupid question; however I have to
ask it anyway for a better understanding.

I have my Nagios Server with NRPE plugins installed and I have a Linux
Remote Server that I want to monitor, I know that you need NRPE on the
remote Linux box but after that it goes a bit glazed, this is the bit I need
to understand.

Here is the standard configuration NRPE installed on my remote Linux box:

command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
30,25,20
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/dev/sda1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10
-s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c
200

So my question is, if I need to monitor SMTP on the remote box I would have
to ask the remote administrator to add the following command to their
nrpe.cfg:

Command[check_smtp]=/usr/local/nagios/libexec/check_smtp -H localhost

Do they have to use the -H localhost directive or is there something
different they can use, the localhost just does not seem right looking at
the other examples above.

Then on my Nagios Server, under the .cfg box I want to monitor I define the
command:

define service{
use  generic-service   
host_name   linux-server
service_description   SSH
check_command  check_nrpe!check_ssh
}


Hope its not such a stupid question that it does not warrant a reply.

Rgs
Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Any Help

2009-03-04 Thread Martyn
maybe this link will help you out, not sure though as I'm new too
 
http://www.mernin.com/blog/?p=118

  _  

From: Jai Ram [mailto:jai...@gmail.com] 
Sent: 04 March 2009 16:42
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Any Help


Hello,

Can anyone post there experience in installing nagios on solaris server.


Thanks

jai.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Email to Voice

2009-03-04 Thread Martyn
Hi Mike, thanks for the shameless link and the links from that also, some
nice reading material there.
Could this be adopted to use Call Manager Express with VM in the same way as
I have this running as my home phone system.

Cheers

Martyn 

-Original Message-
From: Mike Diehl [mailto:mdi...@diehlnet.com] 
Sent: 03 March 2009 23:43
To: Martyn
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Email to Voice

Shameless plug:
http://www.linuxjournal.com/content/custom-checks-and-notifications-nagios

This is an article I wrote some time ago that shows you how to get a phone
call from asterisk/nagios in the event of a fault.  You simply record a
voice message and there you go.

Mike Diehl.


On Tue, 2009-03-03 at 22:57 +, Martyn wrote:
> Although I'm new and still setting up how I want to monitor my Servers 
> and Routers, it got me thinking about texts that I receive whilst I'm 
> in bed, I'm so used to getting a text statement from my bank that I 
> now sleep through them, so text alerts are not sufficient enough for 
> me to lift my head of my pillow if there was a fault.
> 
> Does anybody know of a company that offers email to voice service, 
> this way I get Nagios to send an email to a server which in turn call 
> my mobile and will play me an alert of some kind.
> 
> Cheers
> 
> Martyn
> 
> 
> 
> 
> 
> --
>  Open Source Business Conference (OSBC), March 24-25, 2009, 
> San Francisco, CA -OSBC tackles the biggest issue in open source: Open 
> Sourcing the Enterprise -Strategies to boost innovation and cut costs 
> with open source participation -Receive a $600 discount off the 
> registration fee with the source code: SFAD 
> http://p.sf.net/sfu/XcvMzF8H 
> ___ 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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


[Nagios-users] Email to Voice

2009-03-03 Thread Martyn
Although I'm new and still setting up how I want to monitor my Servers and
Routers, it got me thinking about texts that I receive whilst I'm in bed,
I'm so used to getting a text statement from my bank that I now sleep
through them, so text alerts are not sufficient enough for me to lift my
head of my pillow if there was a fault.

Does anybody know of a company that offers email to voice service, this way
I get Nagios to send an email to a server which in turn call my mobile and
will play me an alert of some kind.

Cheers

Martyn





--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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

[Nagios-users] NRPE only_from

2009-03-03 Thread Martyn
Hi all, I want to test connectivity from the outside world to my Linux box
inside my network, I'm wanting to test before I try and monitor an external
box.

On the inside of my network I have a Linux box on 192.168.3.245 running NRPE
and my Nagios Server on 192.168.3.247
Both of these are connected to a 3560 Cisco Switch which in turn is
connected to my Linksys Router then onto my Cable modem.

On my Linux box I have in my nrpe "only_from = 192.168.3.247 which allows
Nagios to gather its stats, however if I change it to the public IP address
that is given I get the following errors "Check_NRPE: Error Could not
complete SSL handshake".

In my .cfg file on my Nagios server (the cfg of the box I want to monitor) I
have pointed it to my public IP address and restarted Nagios.
On my Linksys Router I'm port forwarding to the Linux box port 5666 but it
makes no difference, I have even put my Linux box in the DMZ but still no
joy.

Does anybody know how I can test my Linux box so it looks like its from the
external network, failing that does anybody have a test box I can try and
monitor for 10 minutes or so.

Also, NRPE the line only_from, am I allowed to put the domain name or is it
just IP address only.

Thanks

Martyn


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] NSCLIENT

2009-03-02 Thread Martyn
Thanks very much for the reply.
I will also take a look at your client too, how stable is it at present?

Cheers 

-Original Message-
From: Kevin Keane [mailto:subscript...@kkeane.com] 
Sent: 02 March 2009 23:37
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NSCLIENT

You don't have to purchase one. If you want to do the editing manually, use
Microsoft's Orca. http://support.microsoft.com/kb/255905

Or if you want to automate it, look into MakeMSI. 
http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky,
but it works.

That said, I'm currently working on a complete Nagios client including
install package that may do just about the same thing (and a few more
things). You can already download it from Sourceforge, although the "burn
the server IP address into the MSI" functionality isn't implemented yet. One
thing I did differently from NSClient is that I am using HTTPS to submit the
results (an older version also supported SSH, but I have not re-implemented
that in the latest version). That lets me avoid firewall issues.

It is based on NSClient++ with quite a few enhancements.

http://sourceforge.net/projects/tntmonitoring/

Martyn wrote:
>
> Can anybody recommend an MSI editor, I would like to add the IP 
> address of the server before I send the client MSI out, if I have to 
> purchase one I do not mind.
>
> Cheers
>
> Martyn
>



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H ___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


[Nagios-users] NSCLIENT

2009-03-02 Thread Martyn
Can anybody recommend an MSI editor, I would like to add the IP address of
the server before I send the client MSI out, if I have to purchase one I do
not mind.

Cheers

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Procs Warning

2009-02-26 Thread Martyn
Thanks Marc, I will start to tune it

Regards 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 26 February 2009 17:41
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Procs Warning


On Feb 26, 2009, at 11:14 AM, Martyn wrote:

> Not being very familiar with Ubuntu and similar systems I want to try 
> and find out how many processors to monitor, I just started to monitor 
> a fresh install of Ubuntu server to see what results I get back, at 
> the minute I'm getting a Warning telling me 153 processors.
>
> How many do you monitor?
>
120
5000
others in between.
depends on the system and what processes/daemons are running on it.

The question you should be asking is what is normal for the specific server
you are monitoring. I have systems where thousands of processes are normal
and other systems where only just over a hundred is normal.

Spend a few days periodically counting the number of processes. Find the max
and use that as your starting point. Tune up if you get false alarms. Tune
down if you don't get alarms when you should have.

--
Marc



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H ___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


[Nagios-users] Procs Warning

2009-02-26 Thread Martyn
Not being very familiar with Ubuntu and similar systems I want to try and
find out how many processors to monitor, I just started to monitor a fresh
install of Ubuntu server to see what results I get back, at the minute I'm
getting a Warning telling me 153 processors.

How many do you monitor?

Cheers

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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-plugins-1.4.6 Install Error

2009-02-23 Thread Martyn
Sorted, used the latest stable version and not the one in the NRPE install
guide

Cheers 

-Original Message-
From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
Sent: 23 February 2009 09:46
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] nagios-plugins-1.4.6 Install Error

I take it you installed the nagios already ( if this is to be the server ).
Have you done that from source or from pkg ? it might be looking for the
nagios install in the wrong place .Check where your nagios install is .

If this is for a client ?  you may need to create the path manually !




On Monday 23 February 2009 08:55:32 Martyn wrote:
> Morning Group, Depending on your location.
>
> I'm on a fresh install of Ubuntu 8.04 server install with lamp and 
> getting the following error when I'm trying to install the plugins
>
> make[1]: Entering directory
> `/home/martyn/downloads/nagios-plugins-1.4.6/po' /bin/sh 
> @MKINSTALLDIRS@ /usr/local/nagios/share
> /bin/sh: Can't open @MKINSTALLDIRS@
> make[1]: *** [install-data-yes] Error 2
> make[1]: Leaving directory
`/home/martyn/downloads/nagios-plugins-1.4.6/po'
> make: *** [install-recursive] Error 1
>
> Does anybody know what is causing this issue?
>
> Regards
>
> Martyn



--
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any
medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications.
We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery
or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner
UK
Limited. Should you communicate with anyone at Select Service Partner UK
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales
(company number 05687183) whose registered office is at 1 The Heights,
Brooklands, Weybridge. Surrey. KT13 0NY
 
 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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-plugins-1.4.6 Install Error

2009-02-23 Thread Martyn
Its for a client install, I'm trying to set up my Nagios to monitor services
on another box, so its just the client I'm trying to set-up
So I need to mkdir /usr/local/nagios/share/@MKINSTALLDIRS@

Thanks for the reply 

-Original Message-
From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
Sent: 23 February 2009 09:46
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] nagios-plugins-1.4.6 Install Error

I take it you installed the nagios already ( if this is to be the server ).
Have you done that from source or from pkg ? it might be looking for the
nagios install in the wrong place .Check where your nagios install is .

If this is for a client ?  you may need to create the path manually !




On Monday 23 February 2009 08:55:32 Martyn wrote:
> Morning Group, Depending on your location.
>
> I'm on a fresh install of Ubuntu 8.04 server install with lamp and 
> getting the following error when I'm trying to install the plugins
>
> make[1]: Entering directory
> `/home/martyn/downloads/nagios-plugins-1.4.6/po' /bin/sh 
> @MKINSTALLDIRS@ /usr/local/nagios/share
> /bin/sh: Can't open @MKINSTALLDIRS@
> make[1]: *** [install-data-yes] Error 2
> make[1]: Leaving directory
`/home/martyn/downloads/nagios-plugins-1.4.6/po'
> make: *** [install-recursive] Error 1
>
> Does anybody know what is causing this issue?
>
> Regards
>
> Martyn



--
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any
medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications.
We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery
or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner
UK
Limited. Should you communicate with anyone at Select Service Partner UK
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales
(company number 05687183) whose registered office is at 1 The Heights,
Brooklands, Weybridge. Surrey. KT13 0NY
 
 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


[Nagios-users] nagios-plugins-1.4.6 Install Error

2009-02-23 Thread Martyn
Morning Group, Depending on your location.

I'm on a fresh install of Ubuntu 8.04 server install with lamp and getting
the following error when I'm trying to install the plugins

make[1]: Entering directory `/home/martyn/downloads/nagios-plugins-1.4.6/po'
/bin/sh @MKINSTALLDIRS@ /usr/local/nagios/share
/bin/sh: Can't open @MKINSTALLDIRS@
make[1]: *** [install-data-yes] Error 2
make[1]: Leaving directory `/home/martyn/downloads/nagios-plugins-1.4.6/po'
make: *** [install-recursive] Error 1

Does anybody know what is causing this issue?

Regards

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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

[Nagios-users] NRPE

2009-02-20 Thread Martyn
Do I need to load Nagios plugins as well as NRPE on the Linux box I want to
monitor, I will be monitoring it remotely.
I have read users comments saying you do and some say you do not

Cheers

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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 + Postfix

2009-02-19 Thread Martyn
With this setting myhostname = chetnet.co.uk I can send mails to an external
mail box at proweb.co.uk, so it goes from an acco...@chetnet.co.uk to an
acco...@proweb.co.uk

But if I send a mail to al...@chetnet.co.uk I get to following

This is the mail system at host chetnet.co.uk.

#
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

   The mail system
unknown user: "alert"
##

Why is this, does postfix believe that this user should be on the same box?
If so I can I force mails to chetnet be sent out to chetnet, this is
confusing me now.

Thanks


-Original Message-
From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 19 February 2009 20:13
To: 'Marc Powell'; 'Nagios Users'
Subject: RE: [Nagios-users] Nagios + Postfix

I have tried for the last few hours buy I can not resolve it, where have I
gone wrong, below is my config


#
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first # line of
that file to be used as the name.  The Debian default # is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for #
information on enabling SSL in the smtp client.

myhostname = chetnet.co.uk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces

Thanks


### 

-Original Message-
From: Marc Powell [mailto:m...@ena.com]
Sent: 19 February 2009 16:41
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 10:11 AM, Martyn wrote:

> Proweb is not under my control
>
> I'm not to sure what you mean with regards to the rest of you reply, I 
> have not set up postfix to masquerade anything, would not know how to 
> do that

Google does though. Search for 'postfix domain change'. You're probably
going to be most interested in mydomain, myhostname and perhaps myorigin.

> I'm sending the mail from the Nagios Server from address 
> nag...@cna.localhost to not...@proweb.co.uk

Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain.

> I have not configured postfix in anyway, the install guide just 
> implied that I did the following and it would work out of the box so 
> to speak

Yes, the install guide has to assume that the MTA packages and configuration
for whatever system you are using are sane. It's your responsibility to make
sure they are. Doing that is beyond the scope of nagios.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Martyn
I have tried for the last few hours buy I can not resolve it, where have I
gone wrong, below is my config


#
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = chetnet.co.uk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces

Thanks


### 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 19 February 2009 16:41
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 10:11 AM, Martyn wrote:

> Proweb is not under my control
>
> I'm not to sure what you mean with regards to the rest of you reply, I 
> have not set up postfix to masquerade anything, would not know how to 
> do that

Google does though. Search for 'postfix domain change'. You're probably
going to be most interested in mydomain, myhostname and perhaps myorigin.

> I'm sending the mail from the Nagios Server from address 
> nag...@cna.localhost to not...@proweb.co.uk

Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain.

> I have not configured postfix in anyway, the install guide just 
> implied that I did the following and it would work out of the box so 
> to speak

Yes, the install guide has to assume that the MTA packages and configuration
for whatever system you are using are sane. It's your responsibility to make
sure they are. Doing that is beyond the scope of nagios.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Martyn
Cheers Marc, am on to it right now 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 19 February 2009 16:41
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 10:11 AM, Martyn wrote:

> Proweb is not under my control
>
> I'm not to sure what you mean with regards to the rest of you reply, I 
> have not set up postfix to masquerade anything, would not know how to 
> do that

Google does though. Search for 'postfix domain change'. You're probably
going to be most interested in mydomain, myhostname and perhaps myorigin.

> I'm sending the mail from the Nagios Server from address 
> nag...@cna.localhost to not...@proweb.co.uk

Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain.

> I have not configured postfix in anyway, the install guide just 
> implied that I did the following and it would work out of the box so 
> to speak

Yes, the install guide has to assume that the MTA packages and configuration
for whatever system you are using are sane. It's your responsibility to make
sure they are. Doing that is beyond the scope of nagios.

--
Marc



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H ___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Martyn
Proweb is not under my control

I'm not to sure what you mean with regards to the rest of you reply, I have
not set up postfix to masquerade anything, would not know how to do that

I'm sending the mail from the Nagios Server from address
nag...@cna.localhost to not...@proweb.co.uk

I have not configured postfix in anyway, the install guide just implied that
I did the following and it would work out of the box so to speak

apt-get install sysutils mailx lsb-release postfix

Do I need to carry out additional steps in postfix, if so what are they.

Thanks for your reply

Martyn  

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 19 February 2009 15:34
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 9:19 AM, Martyn wrote:

> I can not seem to get any notifications through from Nagios, I 
> installed postfix as suggested but I just keep getting my mails 
> queuing, so far I have over 200 sitting there with the same status 
> message
>
> Lost connection with mail.proweb.co.uk while sending MAIL FROM
>
> Has anybody else had this issue and if so how did you fix it.
>

Sounds like mail.proweb.co.uk is rejecting your connection. Is that a server
you control? What do it's logs say about the transaction?

If it's not a server you control, are you following standard/expected SMTP
conventions? Is the e-mail address being used as the from valid (i.e. is the
@domain part legitimate and exist in DNS)? This often comes from the
hostname of the machine if you've not configured postfix to masquerade that.
Does the public IP for your sending machine have valid reverse DNS, not on
an RBL, not on a known 'dynamic' IP? Are you permitted to use that server to
send mail?

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H ___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


[Nagios-users] Nagios + Postfix

2009-02-19 Thread Martyn
I can not seem to get any notifications through from Nagios, I installed
postfix as suggested but I just keep getting my mails queuing, so far I have
over 200 sitting there with the same status message

Lost connection with mail.proweb.co.uk while sending MAIL FROM

Has anybody else had this issue and if so how did you fix it.

Cheers

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Sub-views for customers

2009-02-18 Thread Martyn
Hi Alan I tried Looking Glass as suggested but I get the following error, I
followed the install doc through a couple of times bur still the same error,
could somebody point me in the right direction

Nagios Looking Glass Error Report 

Sorry for the inconvenience, but Nagios Looking Glass could not retrieve the
page you asked for. 

The error message below might hold more clues for the site administrator: 

Could not sync all required files with the server. 

Cheers

Chet 

-Original Message-
From: Andy Shellam [mailto:andy-li...@networkmail.eu] 
Sent: 14 February 2009 17:59
To: Alan Cooper
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Sub-views for customers

Hi Alan,

Nagios Looking Glass is specifically designed for this situation - provided
you don't want them to submit actions etc.  You have to edit the filters
(views) in NLG, setup authentication in Apache for different customers to
login, then set which views each customer can see.

www.nagioslookingglass.co.uk

Regards,
Andy

Edwin Zoeller wrote:
> Yes, I do that at my site. You need just to edit the nagios config file
and add them there. Make sure they are listed in the contact groups for
there hosts. 
>
> -Original Message-
> From: Alan Cooper [mailto:ajcoope...@googlemail.com]
> Sent: Saturday, February 14, 2009 8:55 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Sub-views for customers
>
> Hi folks,
>
> Is it possible to set up the web interface so that a user can only see 
> certain hosts.
>
> I'd like to be able to give a customer a login so they can see 
> information for their hosts, but I don't want them to be able to see 
> any other customers servers - is this possible?
>
> Kind Regards & thanks in advance,
>
> Alan
>
> --
>  Open Source Business Conference (OSBC), March 24-25, 2009, 
> San Francisco, CA -OSBC tackles the biggest issue in open source: Open 
> Sourcing the Enterprise -Strategies to boost innovation and cut costs 
> with open source participation -Receive a $600 discount off the 
> registration fee with the source code: SFAD 
> http://p.sf.net/sfu/XcvMzF8H 
> ___
> 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
>
> --
>  Open Source Business Conference (OSBC), March 24-25, 2009, 
> San Francisco, CA -OSBC tackles the biggest issue in open source: Open 
> Sourcing the Enterprise -Strategies to boost innovation and cut costs 
> with open source participation -Receive a $600 discount off the 
> registration fee with the source code: SFAD 
> http://p.sf.net/sfu/XcvMzF8H 
> ___
> 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
>
>   


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H ___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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


[Nagios-users] So its running how I like it

2009-02-17 Thread Martyn
But how can I make an install ISO that will allow me to install afresh to a
new server, ask for username, password IP address and so on.
Then once the install is complete a I a running Nagios Server.

Thanks

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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

[Nagios-users] CPU Critical

2009-02-12 Thread Martyn
Hi All
I have noticed whilst monitoring my NT server the CPU load level has been at
critical status for 3d 8h 29m 32s and sitting at 100%,  this is good news
from a monitoring point of view as it was spotted, however I need to solve
it.
I know I can just jump on to my server and look at the processors I would
find what was hogging it but is there a plugin/module or add-on that I can
use to see what processors maxing out.

Thanks

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Antwort: Re: Nagvis

2009-02-10 Thread Martyn
All working now, I went through the install stage again, not sure what I
missed but I must of missed something

Thanks all for your time again

Martyn 

-Original Message-
From: sascha.runsc...@gfkl.com [mailto:sascha.runsc...@gfkl.com] 
Sent: 10 February 2009 10:45
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Antwort: Re: Nagvis

"Martyn"  schrieb am 10.02.2009 09:36:42:

> I do not have that entry in there, also I have just cheeked my db and 
> there are not entries added, they are all still at Zero
> 
> What do you think could be the problem?

Your Nagios doesn't have a working DB connection at all.
Please do a "tail -f /usr/local/nagios/var/nagios.log" while executing a
"/etc/init.d/nagios restart" on another console.
Watch the nagios.log for entries regarding to ndo.

Regards
Sascha

PS: Please refrain from doing full-quotes and the topposting those.
It is considered rude in mailinglists, as it makes reading hard and inboxes
full ;)

--
Sascha Runschke
IT-Infrastruktur

fon  : +49 (201) / 102-1879
fax  : +49 (201) / 102-1102105
mobil : +49 (173) / 5419665



GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522


--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing
skills and code to build responsive, highly engaging applications that
combine the power of local resources and data with the reach of the web.
Download the Adobe AIR SDK and Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-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


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Nagvis

2009-02-10 Thread Martyn
I do not have that entry in there, also I have just cheeked my db and there
are not entries added, they are all still at Zero
 
What do you think could be the problem?
 
Thanks

  _  

From: Simon Finch [mailto:fin...@stgeorge.com.au] 
Sent: 10 February 2009 02:18
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagvis


Martyn,
 
Your config looks good to me, are you sure there is data going into the ndo
database ?
 
Check your nagios.log for:
 
ndomod: Successfully connected to data sink.  0 queued items to flush.
 
Rgds - Simon


>>> "Martyn"  10/02/2009 10:32 am >>>


Hi all, I'm' hoping that you have the heart to help me out again on my quest
:) 

Anyway I'm trying to install Nagvis but hit a small problem. 

When I point my Web browser to the map I created I get the following error 

backendInstanceNameNotValid: NDOMy: Instance name not valid (Backend
ndomy_1) 

The given instance name "default" in backend "ndomy_1" is not valid. 

This is from my nagvis.ini.php 

[backend_ndomy_1] 
backendid="ndomy_1" 
backendtype="ndomy" 
dbhost="localhost" 
dbport=3306 
dbname="ndo" 
dbuser="root" 
dbpass="xxx" 
dbprefix="nagios_" 
dbinstancename="default" 
maxtimewithoutupdate=180 
htmlcgi="/nagios/cgi-bin" 

This is from my /ndomod.cfg 

# INSTANCE NAME 
# This option identifies the "name" associated with this particular 
# instance of Nagios and is used to seperate data coming from multiple 
# instances.  Defaults to 'default' (without quotes). 

instance_name=default 

Thanks again 

Martyn 



*** This is an automatically appended message from St. George ITP.  If this
email is SPAM please register it with WebSense MailControl by clicking here
<https://www.mailcontrol.com/sr/BAQtmRdcL9fTndxI!oX7UhHqCnr9FF1iTwj98efHAPz!
2H9YPTQeXTNtkhY1fTAJ7mc2DMSy!7zieLvRJKIvyA==> . ***

**

* IMPORTANT INFORMATION *

This document should be read only by those persons to whom it is 

addressed and its content is not intended for use by any other 

persons. If you have received this message in error, please notify 

us immediately. Please also destroy and delete the message from 

your computer. Any unauthorised form of reproduction of this message 

is strictly prohibited.

 

St George Bank Limited AFSL 240997, Advance Asset Management Limited 

AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management
Limited 

AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable
for 

the proper and complete transmission of the information contained in 

this communication, nor for any delay in its receipt.

**

 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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

[Nagios-users] Nagvis

2009-02-09 Thread Martyn
Hi all, I'm' hoping that you have the heart to help me out again on my quest
:)

Anyway I'm trying to install Nagvis but hit a small problem.

When I point my Web browser to the map I created I get the following error

backendInstanceNameNotValid: NDOMy: Instance name not valid (Backend
ndomy_1)

The given instance name "default" in backend "ndomy_1" is not valid.

This is from my nagvis.ini.php

[backend_ndomy_1]
backendid="ndomy_1"
backendtype="ndomy"
dbhost="localhost"
dbport=3306
dbname="ndo"
dbuser="root"
dbpass="xxx"
dbprefix="nagios_"
dbinstancename="default"
maxtimewithoutupdate=180
htmlcgi="/nagios/cgi-bin"

This is from my /ndomod.cfg

# INSTANCE NAME
# This option identifies the "name" associated with this particular
# instance of Nagios and is used to seperate data coming from multiple
# instances.  Defaults to 'default' (without quotes).

instance_name=default

Thanks again

Martyn
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Nedi + nedi.conf

2009-02-08 Thread Martyn
I can not find system.rrd anywhere on my server

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 08 February 2009 11:43
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nedi + nedi.conf



I'm having errors graphing my Switch, the error is 

/opt/nedi/rrd/Network-SW/system.rrd not found! 
Now in the nedi.conf the line: -
#Location of the actual RRD's, what does that refer to.
The line that is already there is
rrdpath /var/nedi/rrd which does not exist so I changed it to.
rrdpath /opt/nedi/rrd which is an empty directory but I still get no graphs.

Does anybody know the correct line I should be adding? 
Thanks 
Martyn 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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

[Nagios-users] Nedi + nedi.conf

2009-02-08 Thread Martyn
I'm having errors graphing my Switch, the error is

/opt/nedi/rrd/Network-SW/system.rrd not found!
Now in the nedi.conf the line: -
#Location of the actual RRD's, what does that refer to.
The line that is already there is 
rrdpath /var/nedi/rrd which does not exist so I changed it to.
rrdpath /opt/nedi/rrd which is an empty directory but I still get no graphs.
Does anybody know the correct line I should be adding?
Thanks
Martyn

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Centreon

2009-02-06 Thread Martyn
I'm glad you asked that.
 
I install everything by the excellent wiki guide and all went well, Nagios
started and I added my Servers and Routers and they are logging well, Not
got MRTG installed as yet but I can see uptime and such, in all there are 3
Servers a Switch and 1 Network printer

Fire up Centreon>configuration>Hosts and I add a Cisco 3550, put all my
Switch's details in and click save
When I look at under home there are no hosts being monitored nor servers..

I then do the following which has complete knocked me for six:-

Centreon>Configuration>Nagios
Put tick in the following boxes, Generate Configuration Files, Run Nagios
debug, Move export Files and restart Nagios

Just gone back to my Nagios page and all my Servers and Switches have gone
and been replaced by the 1 Switch I added above, not only that they all show
errors, the switch shows it pings ok but the host name is Red, clicking on
that it states host down.

Centreon shows Database errors: 
Under the Service /.: Error: hrstorageDescr Table : Requested tables empty
or missing
Under Load: Unknown: Received nosuchname(2) error-status at error-index 3

Also Centreon has added all the .cfg files its creates into my
/usr/nagios/etc directory and not /usr/nagios/etc/objects where my others
are located, I hoping to delete thses files and replace the nagios.cfg file
that was create by Centreon to be me back up and running.

Sorry its such a long post
Ubuntu 8.4
Nagios 3.6
Nagios-Plugins 1.4.12
Centreon 2 stable

  _  

From: Rogerio Goncalves [mailto:roge...@gmail.com] 
Sent: 06 February 2009 18:07
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Centreon


Whats problem? 
I have centreon 2.0 installed with nagios 3.0 on a chroot of ubuntu server. 
And it works fine.

On Fri, Feb 6, 2009 at 2:00 PM, Martyn  wrote:


I had that at first but I got past that, its just the monitoring now that
does not work.
3 hours I have been at it for days now :)
 
Cheers

  _  

From: Scott Ackerman [mailto:li...@scott-ackerman.com] 
Sent: 06 February 2009 16:20 

To: nagios-users@lists.sourceforge.net

Subject: Re: [Nagios-users] Centreon


I tried Centreon on a CentOS 5.2 install and got as far as the web installer
portion and it couldn't find 'pear.php' and by all indications the installer
script etc. had identified the correct location. I spent probably 3 hours
and I couldn't get it to work.
 

Scott Ackerman
Usable Web Solutions
1212 Baker Street Fort Collins, Colorado 80524
970-689-3999
www.us-able.com <http://www.us-able.com/> 

"Design is not just what it looks like and feels like. Design is how it
works" - Steve Jobs

 


  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Friday, February 06, 2009 9:03 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Centreon



Have any of you got Centreon working with Nagios, I just followed their Wiki
guide and it has messed my up. 

Going to try and delete all the .cfg files it created in my Nagios and
replace my nagios.cfg to see if I can get back up and running again

Martyn 




--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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





-- 
[ Rogério Gonçalves ]

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Centreon

2009-02-06 Thread Martyn
I had that at first but I got past that, its just the monitoring now that
does not work.
3 hours I have been at it for days now :)
 
Cheers

  _  

From: Scott Ackerman [mailto:li...@scott-ackerman.com] 
Sent: 06 February 2009 16:20
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Centreon


I tried Centreon on a CentOS 5.2 install and got as far as the web installer
portion and it couldn't find 'pear.php' and by all indications the installer
script etc. had identified the correct location. I spent probably 3 hours
and I couldn't get it to work.
 

Scott Ackerman
Usable Web Solutions
1212 Baker Street Fort Collins, Colorado 80524
970-689-3999
www.us-able.com <http://www.us-able.com/> 

"Design is not just what it looks like and feels like. Design is how it
works" - Steve Jobs

 


  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Friday, February 06, 2009 9:03 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Centreon



Have any of you got Centreon working with Nagios, I just followed their Wiki
guide and it has messed my up. 

Going to try and delete all the .cfg files it created in my Nagios and
replace my nagios.cfg to see if I can get back up and running again

Martyn 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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

[Nagios-users] Centreon

2009-02-06 Thread Martyn
Have any of you got Centreon working with Nagios, I just followed their Wiki
guide and it has messed my up.

Going to try and delete all the .cfg files it created in my Nagios and
replace my nagios.cfg to see if I can get back up and running again

Martyn


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Ubunt- Nagios3-Centreon 2-ndo2

2009-02-06 Thread Martyn
Yes cheers Andy I worked it out thanks

Martyn 

-Original Message-
From: Andy Shellam [mailto:andy-li...@networkmail.eu] 
Sent: 05 February 2009 23:14
To: Martyn
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2

Martyn,

You've probably figured that out by now, but that command-line should be
typed into your shell command prompt, not the MySQL one!  Make sure your
command prompt does not start "mysql >" before you type that command in.  If
it does, first use "quit" to exit back to your system shell, then try it
again.

As for your other question, yes because it's a string you need to quote it
using '.

Andy

Martyn wrote:
> Now it looks as though the DB is missing something
>
> mysql> mysql -u root ndo <
> /usr/local/src/centreon-2.0/www/install/createNDODB.sql;
> ERROR 1064 (42000): You have an error in your SQL syntax; check the 
> manual that corresponds to your MySQL server version for the right 
> syntax to use near 'mysql -u root ndo < 
> /usr/local/src/centreon-2.0/www/install/createNDODB.sql' at line 1
>
> Will take a look into in to see what it is
>
> Thanks for the reply though, it got me one stage further
>
> Martyn
>
> -Original Message-
> From: Andy Shellam [mailto:andy-li...@networkmail.eu]
> Sent: 05 February 2009 21:12
> To: Martyn
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2
>
> Martyn,
>
> By the looks of it, there's a missing ";" at the end of one of the 
> queries in that file.  I don't use NDODB so I cannot elaborate any more
than that.
>
> Try running the command again and simply putting ; on the line 
> beginning with "->"
>
> HTH,
> Andy
>
> Martyn wrote:
>   
>> Hi Group.
>>
>> I'm trying to install Centreon on my Ubuntu box, I'm following the 
>> install guide and hit a snag.
>> Looking at the site install guide here 
>> _http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2_ I'm hit a 
>> problem at this stage.
>>
>> # mysql -u root ndo <
>> /usr/local/src/centreon-2.0/www/install/createNDODB.sql
>>
>> When I run that query it just returns with -> and sits there forever 
>> or until I press ctrl c
>>
>> Do you know what the issue is at all.
>>
>> Thanks
>>
>> Martyn
>>
>> -
>> -
>> --
>>
>> -
>> -
>>  Create and Deploy Rich Internet Apps outside the browser 
>> with
>> Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use 
>> existing skills and code to build responsive, highly engaging 
>> applications that combine the power of local resources and data with 
>> the reach of the web. Download the Adobe AIR SDK and Ajax docs to 
>> start building applications today-http://p.sf.net/sfu/adobe-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
>> 
>
>
>   


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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


[Nagios-users] MRTG

2009-02-06 Thread Martyn
Hi there.

Is this the best way to get MRTG working in Ubuntu?

http://linuxbasement.com/content/mrtg-ubuntu-server

Regards

Martyn
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Ubunt- Nagios3-Centreon 2-ndo2

2009-02-05 Thread Martyn
Just looking at one on the lines again below, do I need to use 'centreon';
or just centreon; leaving out the '

 mysql -u root
 mysql> use centreon;
 mysql> update cfg_ndo2db set db_user = 'centreon';
 mysql> exit;

Thanks

Martyn

-Original Message-
From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 05 February 2009 22:37
To: 'Andy Shellam'
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2

Now it looks as though the DB is missing something

mysql> mysql -u root ndo <
/usr/local/src/centreon-2.0/www/install/createNDODB.sql;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use
near 'mysql -u root ndo <
/usr/local/src/centreon-2.0/www/install/createNDODB.sql' at line 1

Will take a look into in to see what it is

Thanks for the reply though, it got me one stage further

Martyn 

-Original Message-
From: Andy Shellam [mailto:andy-li...@networkmail.eu]
Sent: 05 February 2009 21:12
To: Martyn
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2

Martyn,

By the looks of it, there's a missing ";" at the end of one of the queries
in that file.  I don't use NDODB so I cannot elaborate any more than that.

Try running the command again and simply putting ; on the line
beginning with "->"

HTH,
And

Martyn wrote:
>
> Hi Group.
>
> I'm trying to install Centreon on my Ubuntu box, I'm following the 
> install guide and hit a snag.
> Looking at the site install guide here 
> _http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2_ I'm hit a 
> problem at this stage.
>
> # mysql -u root ndo <
> /usr/local/src/centreon-2.0/www/install/createNDODB.sql
>
> When I run that query it just returns with -> and sits there forever 
> or until I press ctrl c
>
> Do you know what the issue is at all.
>
> Thanks
>
> Martyn
>
> --
> --
>
> --
>  Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use 
> existing skills and code to build responsive, highly engaging 
> applications that combine the power of local resources and data with 
> the reach of the web. Download the Adobe AIR SDK and Ajax docs to 
> start building applications today-http://p.sf.net/sfu/adobe-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



--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing
skills and code to build responsive, highly engaging applications that
combine the power of local resources and data with the reach of the web.
Download the Adobe AIR SDK and Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-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


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Ubunt- Nagios3-Centreon 2-ndo2

2009-02-05 Thread Martyn
Now it looks as though the DB is missing something

mysql> mysql -u root ndo <
/usr/local/src/centreon-2.0/www/install/createNDODB.sql;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use
near 'mysql -u root ndo <
/usr/local/src/centreon-2.0/www/install/createNDODB.sql' at line 1

Will take a look into in to see what it is

Thanks for the reply though, it got me one stage further

Martyn 

-Original Message-
From: Andy Shellam [mailto:andy-li...@networkmail.eu] 
Sent: 05 February 2009 21:12
To: Martyn
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2

Martyn,

By the looks of it, there's a missing ";" at the end of one of the queries
in that file.  I don't use NDODB so I cannot elaborate any more than that.

Try running the command again and simply putting ; on the line
beginning with "->"

HTH,
Andy

Martyn wrote:
>
> Hi Group.
>
> I'm trying to install Centreon on my Ubuntu box, I'm following the 
> install guide and hit a snag.
> Looking at the site install guide here 
> _http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2_ I'm hit a 
> problem at this stage.
>
> # mysql -u root ndo <
> /usr/local/src/centreon-2.0/www/install/createNDODB.sql
>
> When I run that query it just returns with -> and sits there forever 
> or until I press ctrl c
>
> Do you know what the issue is at all.
>
> Thanks
>
> Martyn
>
> --
> --
>
> --
>  Create and Deploy Rich Internet Apps outside the browser with 
> Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use 
> existing skills and code to build responsive, highly engaging 
> applications that combine the power of local resources and data with 
> the reach of the web. Download the Adobe AIR SDK and Ajax docs to 
> start building applications today-http://p.sf.net/sfu/adobe-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


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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


[Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2

2009-02-05 Thread Martyn
Hi Group.

I'm trying to install Centreon on my Ubuntu box, I'm following the install
guide and hit a snag.
Looking at the site install guide here
http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_ndo2 I'm hit a problem
at this stage.

# mysql -u root ndo <
/usr/local/src/centreon-2.0/www/install/createNDODB.sql

When I run that query it just returns with -> and sits there forever or
until I press ctrl c

Do you know what the issue is at all.

Thanks

Martyn
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] HP Network Printer

2009-02-03 Thread Martyn
Right it FIXED!!
 
Here we go, when I installed the Server version instead of the Desktop
version of Ubuntu I also grabbed the latest Nagios Pluging
"nagios-plugins-1.4.13.tar.gz"  because I thought that may be contributing
to my problem, however I noticed in the log as you rightly suggested I look
that the pluging were not being installed because the relevant snmp libs and
snmp perl libs were not found on Ubuntu, after I was looking around the
directories I noticed that they were there, so I have just reverted back to
nagios-plugins-1.4.11.tar.gz and to my amazement the check_hplj file was
compiled with lots of others too.
 
Just got to sort out my Cisco Switch now do I can point the check_command to
port 47
 
Just like to say a massive thanks to those who kept with me, James and Marc
especially.
 
So I think there may be a bug in nagios-plugins-1.4.13.tar.gz
 
Cheers
 
Martyn

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 03 February 2009 22:20
To: 'James Pratt'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer


James thanks again for the reply.
 
Below are a list of things that failed in the config.log file
 
ACLOCAL='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run
aclocal-1.9'
ALLOCA=''
ALLOCA_H='alloca.h'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run tar'
AR='ar'
ARPA_INET_H=''
AUTOCONF='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run
autoconf'
AUTOHEADER='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run
autoheader'
AUTOMAKE='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run
automake-1.9'

Do you think that has anything to do with it?
 
Martyn

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 03 February 2009 20:43
To: Martyn
Subject: RE: [Nagios-users] HP Network Printer



Also, when you compile the plugins, check the file "config.log" afterwards -
it should show why certain plugins don't compile.

 

jamie

 

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Tuesday, February 03, 2009 3:32 PM
To: James Pratt; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer

 

just looking around my directories and I find one /usr/include/net-snmp

 

So why does my check_hplj not compile ?

 

This is killing me now

 

Cheers

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 03 February 2009 17:23
To: 'James Pratt'; 'nagios-users@lists.sourceforge.net'
Subject: RE: [Nagios-users] HP Network Printer

Hi James/Group

 

I reinstalled Ubuntu and installed Server version, gone through all I went
through before and all is working as should be apart from the printer again.
Ping works fine.

The problem I'm seeing now is (return code 127 is out of bounds - Plugin may
be missing)

 

The path to the plugin is invalid (i.e. the binary or script does not
exist). This is most likely the case if you get errors about a return code
of 127 being out of bounds. If this is the error you're getting, check your
command definitions and make sure the path to all executables is correct
(and that they're actually installed on your system).

 

I have checked my directory and it never got compiled, how do I find the
below files

 

I have ran apt-get install net-snmp but it finds now files, how can I
rectify this

 

Thanks

 

Martyn

 

PS rpm -qa | grep snmp returns nothing

 

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 23:57
To: Martyn; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer

Hi Martyn.

 

I'm not sure why check_hpjd did not get compiled on your system. It appears
you need at least net-snmp, and probably net-snmp-devel packages at least,
as here is what is on my system:

 

$ rpm -qa | grep snmp

 

net-snmp-libs-5.3.1-24.el5_2.2

net-snmp-utils-5.3.1-24.el5_2.2

net-snmp-5.3.1-24.el5_2.2

net-snmp-devel-5.3.1-24.el5_2.2

net-snmp-perl-5.3.1-24.el5_2.2

 

Have you checked for those packages installed, as they are not installed by
Nagios, and depending on your linux distro, may not be in the default
setup..

 

I have it on mine,  but I use lots of SNMP, so it's no surprise.. I don't
see any option for checking toner, but maybe that's a different check. (?)

 

$ ./check_hpjd --help

check_hpjd v1991 (nagios-plugins 1.4.13)

Copyright (c) 1999 Ethan Galstad 

Copyright (c) 2000-2007 Nagios Plugin Development Team



 

This plugin tests the STATUS of an HP printer with a JetDirect card.

Net-snmp must be installed on the computer running the plugin.

 

 

Usage:check_hpjd -H host [-C community]

 

Options:

 -h, --help

Re: [Nagios-users] HP Network Printer

2009-02-03 Thread Martyn
James thanks again for the reply.
 
Below are a list of things that failed in the config.log file
 
ACLOCAL='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run
aclocal-1.9'
ALLOCA=''
ALLOCA_H='alloca.h'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run tar'
AR='ar'
ARPA_INET_H=''
AUTOCONF='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run
autoconf'
AUTOHEADER='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run
autoheader'
AUTOMAKE='${SHELL}
/home/martyn/downloads/nagios-plugins-1.4.13/build-aux/missing --run
automake-1.9'

Do you think that has anything to do with it?
 
Martyn

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 03 February 2009 20:43
To: Martyn
Subject: RE: [Nagios-users] HP Network Printer



Also, when you compile the plugins, check the file "config.log" afterwards -
it should show why certain plugins don't compile.

 

jamie

 

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Tuesday, February 03, 2009 3:32 PM
To: James Pratt; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer

 

just looking around my directories and I find one /usr/include/net-snmp

 

So why does my check_hplj not compile ?

 

This is killing me now

 

Cheers

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 03 February 2009 17:23
To: 'James Pratt'; 'nagios-users@lists.sourceforge.net'
Subject: RE: [Nagios-users] HP Network Printer

Hi James/Group

 

I reinstalled Ubuntu and installed Server version, gone through all I went
through before and all is working as should be apart from the printer again.
Ping works fine.

The problem I'm seeing now is (return code 127 is out of bounds - Plugin may
be missing)

 

The path to the plugin is invalid (i.e. the binary or script does not
exist). This is most likely the case if you get errors about a return code
of 127 being out of bounds. If this is the error you're getting, check your
command definitions and make sure the path to all executables is correct
(and that they're actually installed on your system).

 

I have checked my directory and it never got compiled, how do I find the
below files

 

I have ran apt-get install net-snmp but it finds now files, how can I
rectify this

 

Thanks

 

Martyn

 

PS rpm -qa | grep snmp returns nothing

 

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 23:57
To: Martyn; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer

Hi Martyn.

 

I'm not sure why check_hpjd did not get compiled on your system. It appears
you need at least net-snmp, and probably net-snmp-devel packages at least,
as here is what is on my system:

 

$ rpm -qa | grep snmp

 

net-snmp-libs-5.3.1-24.el5_2.2

net-snmp-utils-5.3.1-24.el5_2.2

net-snmp-5.3.1-24.el5_2.2

net-snmp-devel-5.3.1-24.el5_2.2

net-snmp-perl-5.3.1-24.el5_2.2

 

Have you checked for those packages installed, as they are not installed by
Nagios, and depending on your linux distro, may not be in the default
setup..

 

I have it on mine,  but I use lots of SNMP, so it's no surprise.. I don't
see any option for checking toner, but maybe that's a different check. (?)

 

$ ./check_hpjd --help

check_hpjd v1991 (nagios-plugins 1.4.13)

Copyright (c) 1999 Ethan Galstad 

Copyright (c) 2000-2007 Nagios Plugin Development Team



 

This plugin tests the STATUS of an HP printer with a JetDirect card.

Net-snmp must be installed on the computer running the plugin.

 

 

Usage:check_hpjd -H host [-C community]

 

Options:

 -h, --help

Print detailed help screen

 -V, --version

Print version information

 -C, --community=STRING

The SNMP community name (default=public)

 

Send email to nagios-users@lists.sourceforge.net if you have questions

regarding use of this software. To submit patches or suggest improvements,

send email to nagiosplug-de...@lists.sourceforge.net

 

--

 

 

Regards,

Jamie

 

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 6:42 PM
To: James Pratt; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer

 

James thanks for the reply, looks like there are many users with the same
issue as me,
http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html

 

The reason I want to use check_hpjd is because it reports back the toner
levels too.

 

I have spent the last 5 hours on Google and can not find any fix, does this
group know of a fix at all or do you think its a bug?

 

Thanks

 

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 20:19
To: nagios-users@lists.sourceforge.net; mar...@ch

Re: [Nagios-users] HP Network Printer

2009-02-03 Thread Martyn
just looking around my directories and I find one /usr/include/net-snmp
 
So why does my check_hplj not compile ?
 
This is killing me now
 
Cheers


  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 03 February 2009 17:23
To: 'James Pratt'; 'nagios-users@lists.sourceforge.net'
Subject: RE: [Nagios-users] HP Network Printer


Hi James/Group
 
I reinstalled Ubuntu and installed Server version, gone through all I went
through before and all is working as should be apart from the printer again.
Ping works fine.
The problem I'm seeing now is (return code 127 is out of bounds - Plugin may
be missing)
 
The path to the plugin is invalid (i.e. the binary or script does not
exist). This is most likely the case if you get errors about a return code
of 127 being out of bounds. If this is the error you're getting, check your
command definitions and make sure the path to all executables is correct
(and that they're actually installed on your system).
 
I have checked my directory and it never got compiled, how do I find the
below files
 
I have ran apt-get install net-snmp but it finds now files, how can I
rectify this
 
Thanks
 
Martyn
 
PS rpm -qa | grep snmp returns nothing

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 23:57
To: Martyn; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer



Hi Martyn.

 

I'm not sure why check_hpjd did not get compiled on your system. It appears
you need at least net-snmp, and probably net-snmp-devel packages at least,
as here is what is on my system:

 

$ rpm -qa | grep snmp

 

net-snmp-libs-5.3.1-24.el5_2.2

net-snmp-utils-5.3.1-24.el5_2.2

net-snmp-5.3.1-24.el5_2.2

net-snmp-devel-5.3.1-24.el5_2.2

net-snmp-perl-5.3.1-24.el5_2.2

 

Have you checked for those packages installed, as they are not installed by
Nagios, and depending on your linux distro, may not be in the default
setup..

 

I have it on mine,  but I use lots of SNMP, so it's no surprise.. I don't
see any option for checking toner, but maybe that's a different check. (?)

 

$ ./check_hpjd --help

check_hpjd v1991 (nagios-plugins 1.4.13)

Copyright (c) 1999 Ethan Galstad 

Copyright (c) 2000-2007 Nagios Plugin Development Team



 

This plugin tests the STATUS of an HP printer with a JetDirect card.

Net-snmp must be installed on the computer running the plugin.

 

 

Usage:check_hpjd -H host [-C community]

 

Options:

 -h, --help

Print detailed help screen

 -V, --version

Print version information

 -C, --community=STRING

The SNMP community name (default=public)

 

Send email to nagios-users@lists.sourceforge.net if you have questions

regarding use of this software. To submit patches or suggest improvements,

send email to nagiosplug-de...@lists.sourceforge.net

 

--

 

 

Regards,

Jamie

 

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 6:42 PM
To: James Pratt; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer

 

James thanks for the reply, looks like there are many users with the same
issue as me,
http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html

 

The reason I want to use check_hpjd is because it reports back the toner
levels too.

 

I have spent the last 5 hours on Google and can not find any fix, does this
group know of a fix at all or do you think its a bug?

 

Thanks

 

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 20:19
To: nagios-users@lists.sourceforge.net; mar...@chetnet.co.uk
Subject: RE: [Nagios-users] HP Network Printer

Sorry Palle, I meant to reply to the list!.. my bad. :-(

 

From: James Pratt 
Sent: Monday, February 02, 2009 3:16 PM
To: 'Palle L Jensen'
Subject: RE: [Nagios-users] HP Network Printer

 

Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is
fairly worthless - I use the ones at http://nagios.manubulon.com instead.

 

 

http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html

 

HTH

 

Regards,

jamie

 

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: Monday, February 02, 2009 3:00 PM
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running you
could use the check_ping. Assuming it's a network printer with enabled NIC.

 

Thanks,

PJ

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting "Error in packet ( ) " in my printer status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 an

Re: [Nagios-users] HP Network Printer

2009-02-03 Thread Martyn
Hi James/Group
 
I reinstalled Ubuntu and installed Server version, gone through all I went
through before and all is working as should be apart from the printer again.
Ping works fine.
The problem I'm seeing now is (return code 127 is out of bounds - Plugin may
be missing)
 
The path to the plugin is invalid (i.e. the binary or script does not
exist). This is most likely the case if you get errors about a return code
of 127 being out of bounds. If this is the error you're getting, check your
command definitions and make sure the path to all executables is correct
(and that they're actually installed on your system).
 
I have checked my directory and it never got compiled, how do I find the
below files
 
I have ran apt-get install net-snmp but it finds now files, how can I
rectify this
 
Thanks
 
Martyn
 
PS rpm -qa | grep snmp returns nothing

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 23:57
To: Martyn; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer



Hi Martyn.

 

I'm not sure why check_hpjd did not get compiled on your system. It appears
you need at least net-snmp, and probably net-snmp-devel packages at least,
as here is what is on my system:

 

$ rpm -qa | grep snmp

 

net-snmp-libs-5.3.1-24.el5_2.2

net-snmp-utils-5.3.1-24.el5_2.2

net-snmp-5.3.1-24.el5_2.2

net-snmp-devel-5.3.1-24.el5_2.2

net-snmp-perl-5.3.1-24.el5_2.2

 

Have you checked for those packages installed, as they are not installed by
Nagios, and depending on your linux distro, may not be in the default
setup..

 

I have it on mine,  but I use lots of SNMP, so it's no surprise.. I don't
see any option for checking toner, but maybe that's a different check. (?)

 

$ ./check_hpjd --help

check_hpjd v1991 (nagios-plugins 1.4.13)

Copyright (c) 1999 Ethan Galstad 

Copyright (c) 2000-2007 Nagios Plugin Development Team



 

This plugin tests the STATUS of an HP printer with a JetDirect card.

Net-snmp must be installed on the computer running the plugin.

 

 

Usage:check_hpjd -H host [-C community]

 

Options:

 -h, --help

Print detailed help screen

 -V, --version

Print version information

 -C, --community=STRING

The SNMP community name (default=public)

 

Send email to nagios-users@lists.sourceforge.net if you have questions

regarding use of this software. To submit patches or suggest improvements,

send email to nagiosplug-de...@lists.sourceforge.net

 

--

 

 

Regards,

Jamie

 

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 6:42 PM
To: James Pratt; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer

 

James thanks for the reply, looks like there are many users with the same
issue as me,
http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html

 

The reason I want to use check_hpjd is because it reports back the toner
levels too.

 

I have spent the last 5 hours on Google and can not find any fix, does this
group know of a fix at all or do you think its a bug?

 

Thanks

 

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 20:19
To: nagios-users@lists.sourceforge.net; mar...@chetnet.co.uk
Subject: RE: [Nagios-users] HP Network Printer

Sorry Palle, I meant to reply to the list!.. my bad. :-(

 

From: James Pratt 
Sent: Monday, February 02, 2009 3:16 PM
To: 'Palle L Jensen'
Subject: RE: [Nagios-users] HP Network Printer

 

Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is
fairly worthless - I use the ones at http://nagios.manubulon.com instead.

 

 

http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html

 

HTH

 

Regards,

jamie

 

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: Monday, February 02, 2009 3:00 PM
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running you
could use the check_ping. Assuming it's a network printer with enabled NIC.

 

Thanks,

PJ

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting "Error in packet ( ) " in my printer status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all
the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host 
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 

Hope you can help 

_ 
From:   Martyn [ <mailto:mar...@chetnet.co

Re: [Nagios-users] HP Network Printer

2009-02-02 Thread Martyn
I think it may be a bug because if I use 'public' I get the "error in
packet", if I use anything with less that 6 characters I get the same error,
if I use public1 or anything with more than 6 characters I just get host
time outs.
 
check_ping works fine
 
Thanks

  _  

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: 02 February 2009 20:00
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] HP Network Printer



Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running you
could use the check_ping. Assuming it's a network printer with enabled NIC.

 

Thanks,

PJ

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting "Error in packet ( ) " in my printer status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all
the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host 
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 

Hope you can help 

_ 
From:   Martyn [ <mailto:mar...@chetnet.co.uk> mailto:mar...@chetnet.co.uk] 
Sent:   02 February 2009 17:33 
To: 'nagios-users@lists.sourceforge.net' 
Subject:HP Network Printer 

Just looking to start and monitor an HP 2600n printer and have come across
the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have the
net-snmp and net-snmp-utils 
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you 
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins. 

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
looked through my nagios/libexec directory and noticed that check_snmp is in
there but not the above two.

Where would I get hold of the two files as described 

Thanks for your continued support 

Martyn 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] HP Network Printer

2009-02-02 Thread Martyn
James thanks for the reply, looks like there are many users with the same
issue as me,
http://osdir.com/ml/network.nagios.plugins/2006-11/msg00062.html
 
The reason I want to use check_hpjd is because it reports back the toner
levels too.
 
I have spent the last 5 hours on Google and can not find any fix, does this
group know of a fix at all or do you think its a bug?
 
Thanks

  _  

From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: 02 February 2009 20:19
To: nagios-users@lists.sourceforge.net; mar...@chetnet.co.uk
Subject: RE: [Nagios-users] HP Network Printer



Sorry Palle, I meant to reply to the list!.. my bad. :-(

 

From: James Pratt 
Sent: Monday, February 02, 2009 3:16 PM
To: 'Palle L Jensen'
Subject: RE: [Nagios-users] HP Network Printer

 

Hi, I found this on a quick google - I use snmp extensively. (Check_snmp is
fairly worthless - I use the ones at http://nagios.manubulon.com instead.

 

 

http://osdir.com/ml/network.nagios.user/2003-01/msg00028.html

 

HTH

 

Regards,

jamie

 

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: Monday, February 02, 2009 3:00 PM
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Martyn,

 

I have noticed people monitoring other stuff on printers using the SNMP
protocoll. However, since we have that protocol disabled I have no
experience in that. If you just want to make sure it is up and running you
could use the check_ping. Assuming it's a network printer with enabled NIC.

 

Thanks,

PJ

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 1:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] HP Network Printer

 

Update, but I'm still getting "Error in packet ( ) " in my printer status 

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all
the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host 
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161 

Hope you can help 

_____ 
From:   Martyn [ <mailto:mar...@chetnet.co.uk> mailto:mar...@chetnet.co.uk] 
Sent:   02 February 2009 17:33 
To: 'nagios-users@lists.sourceforge.net' 
Subject:HP Network Printer 

Just looking to start and monitor an HP 2600n printer and have come across
the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have the
net-snmp and net-snmp-utils 
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you 
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins. 

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
looked through my nagios/libexec directory and noticed that check_snmp is in
there but not the above two.

Where would I get hold of the two files as described 

Thanks for your continued support 

Martyn 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] HP Network Printer

2009-02-02 Thread Martyn
Update, but I'm still getting "Error in packet ( ) " in my printer status

I can walk the Mibs with snmpwalk -v 1 -c public 192.168.3.252 and see all
the relevant outputs but when I do the following: -

./check_snmp -H 192.168.3.252 -C public 

I get SNMP problem - No Data received from host
CMD /usr/bin/snmpget -t 1 -r5 -m ' ' -v 1 [authpriv] 192.168.3.252:161

Hope you can help

> _____ 
> From: Martyn [mailto:mar...@chetnet.co.uk] 
> Sent: 02 February 2009 17:33
> To:   'nagios-users@lists.sourceforge.net'
> Subject:  HP Network Printer
> 
> Just looking to start and monitor an HP 2600n printer and have come across
> the following statement in the quick start guide
> 
> The check_hpjd plugin will only get compiled and installed if you have the
> net-snmp and net-snmp-utils
> packages installed on your system. Make sure the plugin exists in
> /usr/local/nagios/libexec before you
> continue. If it doesn't, install net-snmp and net-snmp-utils and
> recompile/reinstall the Nagios plugins.
> 
> OK do these get installed when you download and compile
> nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
> looked through my nagios/libexec directory and noticed that check_snmp is
> in there but not the above two.
> 
> Where would I get hold of the two files as described
> 
> Thanks for your continued support
> 
> Martyn
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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

[Nagios-users] HP Network Printer

2009-02-02 Thread Martyn
Just looking to start and monitor an HP 2600n printer and have come across
the following statement in the quick start guide

The check_hpjd plugin will only get compiled and installed if you have the
net-snmp and net-snmp-utils
packages installed on your system. Make sure the plugin exists in
/usr/local/nagios/libexec before you
continue. If it doesn't, install net-snmp and net-snmp-utils and
recompile/reinstall the Nagios plugins.

OK do these get installed when you download and compile
nagios-plugins-1.4.11.tar.gz or do I have to grab then separately, I have
looked through my nagios/libexec directory and noticed that check_snmp is in
there but not the above two.

Where would I get hold of the two files as described

Thanks for your continued support

Martyn
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Monitor Disk Drive

2009-02-02 Thread Martyn
Yes it does help Palle and thanks for the reply, just on a learning curve
here.
 
Martyn

  _  

From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: 02 February 2009 15:32
To: 'Martyn'; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Monitor Disk Drive



Martyn,

 

Running Nagios 3.01 - This is how I monitor different disk drives on windows
machines, using NSClient++.

 

Example C and F: drives:

 

I define a command(s) in commands.cfg, like this:

 

# Define command for disk space on C:   ---#

define command{

command_name  check_diskc

command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s
$USER7$

   }

 

# Define command for disk space on F:   ---#

define command{

command_name  check_diskf

command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$ -s
$USER7$

   }

 

In services.cfg I define the checks:

 

# Monitoring Disk Usage C:\

define service {

use  generic-service

host_namehostname

service_description  Disk-C

servicegroupsdisks

action_url
nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=Disk-
C

check_commandcheck_diskc!USEDDISKSPACE!-l c -w 95 -c 98

   }

 

# Monitoring Disk Usage F:\

define service {

use  generic-service

host_namehostname

service_description  Disk-F

servicegroupsdisks

action_url
nagiosserver/nagios/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=Disk-
F

check_commandcheck_diskf!USEDDISKSPACE!-l c -w 95 -c 98

}

 

 

Hope that helps!

 

Thanks,

PJ

 

 

 

 

  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Monday, February 02, 2009 9:13 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitor Disk Drive

 

How do I monitor another disk drive other that c:\ 

Below is the script to monitor the C:\ drive so I assumed I changed the c to
a f which is my other drive but Nagios will not restart.

define service{ 
use generic-service 
host_name   winserver 
service_description C:\ Drive Space 
check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90 
} 

 

define service{ 
use generic-service 
host_name   winserver 
service_description F:\ Drive Space 
check_command   check_nt!USEDDISKSPACE!-l f -w 80 -c 90 
    } 

Thanks 

Martyn 

 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Monitor Disk Drive

2009-02-02 Thread Martyn
Quite embarrassed now to say the lease, I had missed out the closing }

Sorry and thanks for your replies

Martyn 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 02 February 2009 15:10
To: nagios-users ML
Subject: Re: [Nagios-users] Monitor Disk Drive


On Feb 2, 2009, at 8:55 AM, Martyn wrote:

> Just says Running Configuration Check...Config Error Restart aborted. 
> Check you Nagios Configuration

run '/path/to/nagios -v /path/to/nagios.cfg' to check your nagios
configuration.

> If I comment out the F:\ checking then all is well.

/me thinks there's something else amiss...

> I have just tried the following command line which worked so I'm not 
> following why it will not work from within Nagios.
>
> /usr/local/nagios/libexec/check_nt -H 192.168.3.1 -v USEDDISKSPACE - l 
> f -p
> 12489 -w 80%

Nagios doesn't actually _ever_ verify if this works or not. It just trusts
that it does and runs it when the service check is scheduled.  
If it fails, you'll see it in the web GUI for Status Information.

--
Marc


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Monitor Disk Drive

2009-02-02 Thread Martyn
Just says Running Configuration Check...Config Error Restart aborted. Check
you Nagios Configuration

If I comment out the F:\ checking then all is well.

I have just tried the following command line which worked so I'm not
following why it will not work from within Nagios.

/usr/local/nagios/libexec/check_nt -H 192.168.3.1 -v USEDDISKSPACE -l f -p
12489 -w 80% 

Rgs

Martyn

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 02 February 2009 14:46
To: nagios-users ML
Subject: Re: [Nagios-users] Monitor Disk Drive


On Feb 2, 2009, at 8:12 AM, Martyn wrote:

> How do I monitor another disk drive other that c:\
>
> Below is the script to monitor the C:\ drive so I assumed I changed 
> the c to a f which is my other drive but Nagios will not restart.
>

This change would not cause nagios to not restart. What is the error  
that nagios is reporting?

--
Marc



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Monitor Disk Drive

2009-02-02 Thread Martyn
Sorry Assaf I'm not following, all I did was replicate the C:\ drive below,
where else should I be checking ?

Thanks 

-Original Message-
From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
Sent: 02 February 2009 14:35
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitor Disk Drive


What does the command look like ?

Since the service is invoking a command - you need to make sure that the
structure adheres to the format requested by the command .



On Monday 02 February 2009 14:12:40 Martyn wrote:
> How do I monitor another disk drive other that c:\
>
> Below is the script to monitor the C:\ drive so I assumed I changed the c
> to a f which is my other drive but Nagios will not restart.
>
> define service{
>   use generic-service
>   host_name   winserver
>   service_description C:\ Drive Space
>   check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90
>   }
>
>
> define service{
>   use generic-service
>   host_name   winserver
>   service_description F:\ Drive Space
>   check_command   check_nt!USEDDISKSPACE!-l f -w 80 -c 90
>   }
>
> Thanks
>
> Martyn



-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any
medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications.
We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery
or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner
UK
Limited. Should you communicate with anyone at Select Service Partner UK
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales
(company number 05687183) whose registered office is at 1 The Heights,
Brooklands, Weybridge. Surrey. KT13 0NY
 
 


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


[Nagios-users] Monitor Disk Drive

2009-02-02 Thread Martyn
How do I monitor another disk drive other that c:\

Below is the script to monitor the C:\ drive so I assumed I changed the c to
a f which is my other drive but Nagios will not restart.

define service{
use generic-service
host_name   winserver
service_description C:\ Drive Space
check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}


define service{
use generic-service
host_name   winserver
service_description F:\ Drive Space
check_command   check_nt!USEDDISKSPACE!-l f -w 80 -c 90
}

Thanks

Martyn


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] templates.cfg

2009-02-02 Thread Martyn
Assaf thanks for the reply, I could not understand where in Nagios it
pointed to the conf.d directory and why it looked there for its .cfg files,
now I understand

Thanks

Maryn  

-Original Message-
From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
Sent: 02 February 2009 09:15
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] templates.cfg

You can extract the file to any directory you want and then add the cfg_file
directive that points to it in the nagios.cfg .

that being said - if your packages created a conf.d dir , your best way to
go is to put it in there .
This is a "all inclusive " directory where the nagios will read all .cfg
files and load them.

Assaf


On Saturday 31 January 2009 00:13:43 mar...@chetnet.co.uk wrote:
> Hi all first time user here of Nagios.
> I'm using Unbunto 8.10 which automatically installed Nagios3, I have 
> followed the guides which all mention the templates.cfg, problem is 
> the only one I can find is zipped up in the directory 
> /usr/share/doc/nagios3/examples/template-object, if I extract this 
> file what directory should I put it in, should it go in my 
> /etc/nagios3 dir or in /etc/nagios3/conf.d
>
> Hope you can help me on my quest to learn about this fantastic 
> monitoring solution.
>
> Regards
>
> Martyn
>
>
> 
>---
>
>--- This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> 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



--
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any
medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications.
We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery
or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner
UK
Limited. Should you communicate with anyone at Select Service Partner UK
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales
(company number 05687183) whose registered office is at 1 The Heights,
Brooklands, Weybridge. Surrey. KT13 0NY
 
 


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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