Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing

2013-06-10 Thread James Pratt
Hi I haven't researched this or anything, but is there is a -v option to 
check_by_ssh to get the exact error thrown? - I'm simply wondering if you have 
a bad/mismatched key in ~/.ssh/known_hosts or authorized_keys (sorry, ive been 
too busy to be much help on nagios lately guys)...

Cheers!
Jamie

From: MAHONEY, DANIEL [mailto:dm5...@att.com]
Sent: Monday, June 10, 2013 5:27 PM
To: nagios-users@lists.sourceforge.net; MAHONEY, DANIEL
Subject: [Nagios-users] Return code of 127 is out of bounds - plugin may be 
missing

Send to 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net

Greetings, all. I've googled the subject above and evaluated the answers I've 
found but haven't yet found info that pinpoints my issue.

I'm running Nagios Core 3.2.1 on RedHat 5.8. This installation has been running 
for a few years, I just inherited it's care and maintenance recently. On one of 
my monitored servers I write a script checkRAID.sh that calls another piece 
of code, looks at the results, and returns either a 0 or a 2 (the result will 
always be either good or critical, depending on whether the RAID controller is 
unhappy).

Nagios runs as user nagios. The remote machine is configured to allow user 
nagios to log in without a password, using a key pair. This works.

In /usr/local/nagios/etc/checkcommands.cfg I have :
define command{
command_namecheck_raid
command_line/usr/local/nagios/libexec/check_by_ssh -H $HOSTNAME -l 
nagios -i /home/nagios/.ssh/id_rsa -E -o StrictHostKeyChecking=no -C 
/home/nagios/checkRAID.sh
}

When I become nagios (su - nagios) and run that script, I get:
[nagios@nagios ~]$ /usr/local/nagios/libexec/check_by_ssh -H remote server IP 
-l nagios -i /home/nagios/.ssh/id_rsa -E -o StrictHostKeyChecking=no -C 
/home/nagios/checkRAID.sh
Check failed
[nagios@nagios ~]$ echo $?
2
[nagios@nagios ~]$

That Check failed line is what's written to stdout just before returning an 
exit code of 2. This shows me that the remote script is working fine, and that 
the local nagios user is able to execute it with no problems.  However, once I 
add an entry to services.cfg to tie this service check to my remote host and 
give it time to run the command, when I look at nagios' Services page it 
shows :

check_raid  CRITICAL  06-10-2013 21:17:250d 6h 14m 
29s3/3 (Return code of 127 is out of bounds - plugin may be missing)

This has me baffled. The return code is quite clearly 2.

I recently set debug_level to -1 and restarted. I'm hoping that the debug log 
will

Daniel Mahoney
dm5...@att.commailto:dm5...@att.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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] Return code of 127 is out of bounds - plugin may be missing

2013-06-10 Thread James Pratt
Ok. Can you look on the remote host and perhaps set the debug level high(er)on 
the sshd server and restart/retest, then check var/log/secure there or whatever 
it's at after a failure? Sorry, just kinda grasping out there in hopes I can 
help That's a weird error, I'd like to know what is causing it since it's 
really not clear... :\

From: MAHONEY, DANIEL [mailto:dm5...@att.com]
Sent: Monday, June 10, 2013 5:42 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be 
missing

No, I'm sure that the key is working. When I become the nagios user and run the 
exact same command from the command line, it gives me exactly the result I 
expect.

From: James Pratt [mailto:jpr...@norwich.edu]
Sent: Monday, June 10, 2013 4:38 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be 
missing

Hi I haven't researched this or anything, but is there is a -v option to 
check_by_ssh to get the exact error thrown? - I'm simply wondering if you have 
a bad/mismatched key in ~/.ssh/known_hosts or authorized_keys (sorry, ive been 
too busy to be much help on nagios lately guys)...

Cheers!
Jamie
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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] Variables for determining time before first alert

2013-05-07 Thread James Pratt
Hi, I apologize for the terse reply, but I think you will find all the answers 
to your questions here - 

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html

Cheers,
James

From: Alex [mysqlstud...@gmail.com]
Sent: Tuesday, May 07, 2013 8:57 PM
To: Nagios Users List
Subject: [Nagios-users] Variables for determining time before first alert

Hi all,

I'm trying to configure a nagios server that was set up a long time
ago, but has never worked correctly. I'm trying to understand all the
variables that are involved in controlling the time before the first
notify-by-email alert is sent for a regular service and one that I've
configured as critical.

Is max_check_attempts the number of iterations it will perform the
host/service check for each iteration of the check_interval period? In
other words, if I set max_check_attempts to 5, and my interval_length
is 60, does that mean it's 5 minutes before the first soft failure is
generated?

How does the notification_interval in the regular service definition
compare with the notification_interval specified in one of the
serviceescalation sections? In other words, if I set
notification_interval to 10 minutes for regular services, and
notification_interval to 5 minutes for escalated services, will I
receive two notifications? I realize I could try this, but there seems
to be so many other variables involved that I'd like to be sure my
understanding is correct.

Thanks,
Alex

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
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

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
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] SNMP MIBS

2012-10-17 Thread James Pratt
Hello, did you try any of these out?

http://exchange.nagios.org/directory/Plugins/Hardware/Printers

This one in particular looks like it may do what you need (?) 

http://exchange.nagios.org/directory/Plugins/Hardware/Printers/check_printer--2D-All-in-one-printer-check-suitable-for-most-devices/details

Cheers,
James

-Original Message-
From: Gilberto Ferreira [mailto:gilberto.nu...@selbetti.com.br] 
Sent: Wednesday, October 17, 2012 10:14 AM
To: Nagios Users List
Subject: [Nagios-users] SNMP MIBS


Hello Friends...

I need to know what OI on MIB I need use in order to monitoring ink level on a 
certain printer, like Ricoh,Lexmark or other Network Printer.

Somebody here know something about it???

Thanks for any kind of idea...




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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] R: R: check_memory does not work properly

2012-08-02 Thread James Pratt
Have you tried su'ing to the nagios user and running it from the command line? 
I am betting it's permissions issue.

Cheers,
James

From: Marco Borsani [mailto:m.bors...@it.net]
Sent: Thursday, August 02, 2012 9:48 AM
To: 'Nagios Users List'
Subject: [Nagios-users] R: R: check_memory does not work properly

No idea?

Regards

Da: Marco Borsani [mailto:m.bors...@it.net]
Inviato: mercoledì 1 agosto 2012 09:19
A: 'Nagios Users List'
Oggetto: [Nagios-users] R: check_memory does not work properly

Commands.cfg

# 'check_local_memory' command definition
define command{
command_namecheck_local_memory
command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$
}

Services.cfg

define service{
use   active-service
host_name   ip- addresses
service_description   check_local_memory
check_command   check_local_memory!10%!5%
max_check_attempts   3
normal_check_interval 5
retry_check_interval 1
check_period   24x7
notification_interval  120
notification_period24x7
notification_options  w,u,c,r
notifications_enabled  1
contact_groups   CG_admin
}


From line command:
$ ./check_memory -w 10% -c 5%
OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100

Regards


Da: Morris, Patrick 
[mailto:patrick.mor...@hp.com]mailto:[mailto:patrick.mor...@hp.com]
Inviato: martedì 31 luglio 2012 23:24
A: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Oggetto: Re: [Nagios-users] check_memory does not work properly

Posting your check configuration is really helpful in cases like this.  It's 
almost impossible to give a good answer without knowing how you've set the 
check up.

From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net]
Sent: Tuesday, July 31, 2012 6:52 AM
To: NAGIOS
Subject: [Nagios-users] check_memory does not work properly

Hi all


I am using a simple plug-in to check the nagios server memory.

When I run it like user Nagios, it works perfectly. I see this output:
OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100

When I run it with Nagios program I receive this notification:

.

Command: check_local_memory

State:   WARNING

Message:(null)



Any idea ?
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Linux Kernel Version

2012-06-29 Thread James Pratt
I use check_snmp for that -

Here is the service definition I use (You must have snmpd enabled on the host, 
and a community string defined etc) -

## check os version via snmp
define command {
command_namecheck_os
command_line$USER1$/check_snmp -H $HOSTNAME$ -o 
SNMPv2-MIB::sysDescr.0 -C $USER15$
}

Where $USER15$ is my community string, thus on Redhat/Centos it returns :

SNMP OK - Linux avamar05 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 
x86_64

for windows -

SNMP OK - Hardware: Intel64 Family 6 Model 44 Stepping 2 AT/AT COMPATIBLE - 
Software: Windows Version 6.1 (Build 7601 Multiprocessor Free)

Cheers,
James

From: Edwin Zoeller [mailto:edwin.zoel...@ama-assn.org]
Sent: Thursday, June 28, 2012 11:11 PM
To: Nagios Users List (nagios-users@lists.sourceforge.net)
Subject: [Nagios-users] Linux Kernel Version

Does anyone know of or have a plugin that will display the current kernel level 
for Redhat?

Thanks,

Ed

P Please consider the environment before printing this e-mail
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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 + memory usage + SNMP

2012-05-12 Thread James Pratt
If you are monitoring Linux, I would suggest this one, from the same page I 
directed you –

define command{
command_name check_linux_snmp_proc
command_line $USER1$/check_snmp_process -H $HOSTADDRESS$ -C $USER15$ -2 
-n $ARG1$ -w $ARG2$ -c $ARG3$

}


(Run the command interactively for all the necessary arguments, or see the web 
page - it’s pretty straightforward).

James

From: lean...@guiadopc.info [mailto:lean...@guiadopc.info]
Sent: Saturday, May 12, 2012 3:29 PM
To: nagiosus...@edcint.co.nz; Nagios Users List
Subject: Re: [Nagios-users] Nagios + memory usage + SNMP


Mattew,

I could use some plugins snmp quite interesting. Now I'm looking for one that 
monitors the processes of mysql and apache remotely. I am monitoring Linux 
servers. Do you suggest any that work?

Thanks

Leandro Ferreira



Em 11/05/2012, Matthew Jurgens 
nagiosus...@edcint.co.nzmailto:nagiosus...@edcint.co.nz escreveu:
 If you are checking Windows try check_wmi_plus (it is agentless)
 http://www.edcint.co.nz/checkwmiplus

 It can do all of that and a lot more which means your monitoring of
 Windows becomes a lot more consistent as you can use a single plugin for
 everything

 On 12/05/2012 4:16 AM, James Pratt wrote:
  Ok here is how I check/monitor memory on windows systems using the 
  check_snmp_storage script:
 
  Commands.cfg definition -
 
  ## check phys mem on a windows server or vm - note the server must have 
  snmpd installed and running, as well as a RO user defined!
  ##
  define command{
   command_name check_snmp_phys_mem_win
   command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ 
  -m Physical Memory -w $ARG1$ -c $ARG2$
   }
 
  (Where $USER16$ is the snmp user defined to be read-only on the server you 
  are monitoring, in your resources.cfg file)
 
 
 
  ###
  Here is actual service definition in my services.cfg file -
 
  ## Windows SNMP Mem Usage warn on 85%, crit on 90%
  define service{
   usegeneric-service,srv-pnp; 
  Name of service template to use
   host_name  Windows1,Windows2
   service_descriptionSNMP - Physical Memory Usage
   check_periodworkhours
 check_interval 15
   max_check_attempts  5
   notification_interval  60
   notification_optionsw,u,c,r
   check_command  check_snmp_phys_mem_win!85!90
   }
 
  (If anything is missing from the above, it's being inherited from the 
  hosts' definition to which it applies. HTH, have a good weekend.
 
  James
  -Original Message-
  From: Leandro @GuiadoPC 
  [mailto:lean...@guiadopc.info]mailto:[mailto:lean...@guiadopc.info]
  Sent: Friday, May 11, 2012 1:52 PM
  To: 
  nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
  Cc: James Pratt
  Subject: Re: [Nagios-users] Nagios + memory usage + SNMP
 
  James,
 
  Would post the command.cfg host.cfg and with the command checking memory 
  for me based on them? I am new to Nagios, I still need to adjust the 
  command line.
 
  thanks
 
  Leandro Ferreira
 
 
  Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu:
  Hi -  I've used these snmp plugins for a long time, as I have too many to 
  install nrpe/etc on...
 
  http://nagios.manubulon.com/
 
  cheers,
  James
 
  -Original Message-
  From: Leandro @GuiadoPC 
  [mailto:lean...@guiadopc.info]mailto:[mailto:lean...@guiadopc.info]
  Sent: Friday, May 11, 2012 12:14 PM
  To: 
  nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] Nagios + memory usage + SNMP
 
  Dear,
 
  I'm using Nagios for a short time and I need to understand one thing about 
  snmp + nagios. Before I was using Cacti and could monitor the memory usage 
  on the hosts without having to install anything on it.
  Picked up the information via SNMP. In Nagios, so I'm looking to monitor 
  memory usage and some other services I have to install the NRPE + xinetd 
  hosts. There is another option to monitrar these services without having 
  to install anything on remote hosts (being in the same network as the 
  server)?
 
  thank you
 
  Leandro Ferreira
 
 
  --
  
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond.
  Discussions will include endpoint security, mobile security and the
  latest in malware threats.
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  Nagios-users mailing list
  Nagios-users@lists.sourceforge.netmailto:Nagios-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users
  ::: Please include Nagios version, plugin version (-v) and OS

Re: [Nagios-users] Nagios + memory usage + SNMP

2012-05-11 Thread James Pratt
Hi -  I've used these snmp plugins for a long time, as I have too many to 
install nrpe/etc on...

http://nagios.manubulon.com/

cheers,
James

-Original Message-
From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info] 
Sent: Friday, May 11, 2012 12:14 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios + memory usage + SNMP

Dear,

I'm using Nagios for a short time and I need to understand one thing about snmp 
+ nagios. Before I was using Cacti and could monitor the memory usage on the 
hosts without having to install anything on it.
Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory 
usage and some other services I have to install the NRPE + xinetd hosts. There 
is another option to monitrar these services without having to install anything 
on remote hosts (being in the same network as the server)?

thank you

Leandro Ferreira


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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 + memory usage + SNMP

2012-05-11 Thread James Pratt
Ok here is how I check/monitor memory on windows systems using the 
check_snmp_storage script:

Commands.cfg definition - 

## check phys mem on a windows server or vm - note the server must have snmpd 
installed and running, as well as a RO user defined!
##
define command{
command_name check_snmp_phys_mem_win
command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m 
Physical Memory -w $ARG1$ -c $ARG2$
}

(Where $USER16$ is the snmp user defined to be read-only on the server you are 
monitoring, in your resources.cfg file) 



###
Here is actual service definition in my services.cfg file - 

## Windows SNMP Mem Usage warn on 85%, crit on 90%
define service{
use generic-service,srv-pnp ; Name 
of service template to use
host_name  Windows1,Windows2
service_description SNMP - Physical Memory Usage
check_periodworkhours
   check_interval   15
max_check_attempts  5
notification_interval   60
notification_optionsw,u,c,r
check_command   check_snmp_phys_mem_win!85!90
}

(If anything is missing from the above, it's being inherited from the hosts' 
definition to which it applies. HTH, have a good weekend.

James
-Original Message-
From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info] 
Sent: Friday, May 11, 2012 1:52 PM
To: nagios-users@lists.sourceforge.net
Cc: James Pratt
Subject: Re: [Nagios-users] Nagios + memory usage + SNMP

James,

Would post the command.cfg host.cfg and with the command checking memory for me 
based on them? I am new to Nagios, I still need to adjust the command line.

thanks

Leandro Ferreira


Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu:
 Hi -  I've used these snmp plugins for a long time, as I have too many to 
 install nrpe/etc on...
 
 http://nagios.manubulon.com/
 
 cheers,
 James
 
 -Original Message-
 From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]
 Sent: Friday, May 11, 2012 12:14 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Nagios + memory usage + SNMP
 
 Dear,
 
 I'm using Nagios for a short time and I need to understand one thing about 
 snmp + nagios. Before I was using Cacti and could monitor the memory usage on 
 the hosts without having to install anything on it.
 Picked up the information via SNMP. In Nagios, so I'm looking to monitor 
 memory usage and some other services I have to install the NRPE + xinetd 
 hosts. There is another option to monitrar these services without having to 
 install anything on remote hosts (being in the same network as the server)?
 
 thank you
 
 Leandro Ferreira
 
 
 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 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
 
 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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 space on Sun Solaris

2012-04-04 Thread James Pratt
Weird... http://pissedoffadmins.com/?p=400 maybe?

Cheers,
James

From: Theo Bogatsu [mailto:theo.boga...@mascom.bw]
Sent: Wednesday, April 04, 2012 5:46 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] MOnitor disk space on Sun Solaris

Hi I'm trying to monitor disk space on my Sun solaris server, I want it to give 
me a warning when it reaches 80% usage and critical when over 90%. I have used 
the below plugin:
check_disk
with these arguments:
--w 20% -c 10% -p /opt/

But on the status information I get a:
DISK OK - free space: / 128187 MB (93% inode=98%)

I'm expecting to see output similar to the output of df -kh (when run on the 
server) which currently is:
Filesystem  size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s5   19G   6.8G12G36%/opt

So in essence I think there should be like 64% free disk space?? Please HELP.

Regards
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
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 space on Sun Solaris

2012-04-04 Thread James Pratt
There is always this too - I use these plugins extensively (alas, I'm out of 
solaris boxes for a few years now sorry)!, as snmp checks need minimal client 
setup compared to nrpe etc etc

http://nagios.manubulon.com/snmp_storage.html

From: Theo Bogatsu [mailto:theo.boga...@mascom.bw]
Sent: Wednesday, April 04, 2012 5:46 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] MOnitor disk space on Sun Solaris

Hi I'm trying to monitor disk space on my Sun solaris server, I want it to give 
me a warning when it reaches 80% usage and critical when over 90%. I have used 
the below plugin:
check_disk
with these arguments:
--w 20% -c 10% -p /opt/

But on the status information I get a:
DISK OK - free space: / 128187 MB (93% inode=98%)

I'm expecting to see output similar to the output of df -kh (when run on the 
server) which currently is:
Filesystem  size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s5   19G   6.8G12G36%/opt

So in essence I think there should be like 64% free disk space?? Please HELP.

Regards
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
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 associate /bin/bash with shell script in Nagios

2012-03-30 Thread James Pratt
I'm slightly confused - Do you have #!/bin/bash in the top of your shell 
script, and is it set to be executable by (at least) the nagios user?  (Not 
sure why you are calling bash then the script name as an arg, that is odd to 
me, but maybe I'm missing something)?

Cheers,
Jamie

From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 12:43 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios

Hello,

I have the following command:

define command{
command_namedlg_notifications
command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
}

And the following service

define service{
   use mypc
   service_description 
dlg_Alerts_notifications
   check_command  dlg_notifications
   max_check_attempts 1
   retain_status_information0
   retain_nonstatus_information0
   }

/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
runs fine manually.

Service defined above can't run it though.
While googling around, I found out that apparently Nagios does not know that 
script should be executed by /bin/bash

How would I let Nagios know about /bin/bash

Thanks.
Mikhail.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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 associate /bin/bash with shell script in Nagios

2012-03-30 Thread James Pratt
Ok, so it's working fine when you run it from the command line, but not for 
nagios user, correct? (If it's a shell script, nagios will execute it using the 
proper interpreter, so there is no way to tell nagios to use bash if that 
makes sense)?

I usually su - nagios user, then try and run it from that user account - that's 
usually where the problem is, it runs fine  for root or whoever, but fails for 
the nagios user for whatever reason...

Cheers,
Jamie
From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 1:28 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

Sorry for confusion - I was just trying different combinations.

But initially my command definition was following:

define command{
command_namedlg_notifications
command_line/usr/local/nagios/libexec/nagios-msg-broker.sh
}

I have #!/bin/bash in the top of my shell script, and shell script is set to 
be executable.

perfserver-10:/usr/local/nagios/libexec$ ls -l nagios-msg-broker.sh
-rwxrwxrwx 1 nagios nagcmd 149 Mar 30 10:04 nagios-msg-broker.sh

Thanks.
Mikhail.

From: James Pratt [mailto:jpr...@norwich.edu]
Sent: Friday, March 30, 2012 9:53 AM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

I'm slightly confused - Do you have #!/bin/bash in the top of your shell 
script, and is it set to be executable by (at least) the nagios user?  (Not 
sure why you are calling bash then the script name as an arg, that is odd to 
me, but maybe I'm missing something)?

Cheers,
Jamie

From: Parkman, Mikhail 
[mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 12:43 PM
To: 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios

Hello,

I have the following command:

define command{
command_namedlg_notifications
command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
}

And the following service

define service{
   use mypc
   service_description 
dlg_Alerts_notifications
   check_command  dlg_notifications
   max_check_attempts 1
   retain_status_information0
   retain_nonstatus_information0
   }

/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
runs fine manually.

Service defined above can't run it though.
While googling around, I found out that apparently Nagios does not know that 
script should be executed by /bin/bash

How would I let Nagios know about /bin/bash

Thanks.
Mikhail.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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 associate /bin/bash with shell script in Nagios

2012-03-30 Thread James Pratt
Sorry, I also remembered you can add an -x to the end of the #!/bin/bash 
line and it will execute in verbose mode - it's a bit noisy, but it may help 
figure out where/why it's failing.

From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 1:28 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

Sorry for confusion - I was just trying different combinations.

But initially my command definition was following:

define command{
command_namedlg_notifications
command_line/usr/local/nagios/libexec/nagios-msg-broker.sh
}

I have #!/bin/bash in the top of my shell script, and shell script is set to 
be executable.

perfserver-10:/usr/local/nagios/libexec$ ls -l nagios-msg-broker.sh
-rwxrwxrwx 1 nagios nagcmd 149 Mar 30 10:04 nagios-msg-broker.sh

Thanks.
Mikhail.

From: James Pratt [mailto:jpr...@norwich.edu]
Sent: Friday, March 30, 2012 9:53 AM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

I'm slightly confused - Do you have #!/bin/bash in the top of your shell 
script, and is it set to be executable by (at least) the nagios user?  (Not 
sure why you are calling bash then the script name as an arg, that is odd to 
me, but maybe I'm missing something)?

Cheers,
Jamie

From: Parkman, Mikhail 
[mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 12:43 PM
To: 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios

Hello,

I have the following command:

define command{
command_namedlg_notifications
command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
}

And the following service

define service{
   use mypc
   service_description 
dlg_Alerts_notifications
   check_command  dlg_notifications
   max_check_attempts 1
   retain_status_information0
   retain_nonstatus_information0
   }

/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
runs fine manually.

Service defined above can't run it though.
While googling around, I found out that apparently Nagios does not know that 
script should be executed by /bin/bash

How would I let Nagios know about /bin/bash

Thanks.
Mikhail.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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 associate /bin/bash with shell script in Nagios

2012-03-30 Thread James Pratt
Yes I agree with Ed as well on the remote stuff -

And yes, the *nix OS determines what shell/program (eg perl/bash/sh/zsh etc) to 
execute the script with by the shebang line in the top of the file, and whether 
or not it's executable.

I would definitely try and execute it as the nagios user - that is all that is 
left in your case it seems (?)

From: Edwin Zoeller [mailto:edwin.zoel...@ama-assn.org]
Sent: Friday, March 30, 2012 3:11 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

If this is run on a remote host using nrpe this what I would check:

- type which bash on the remote host and make sure the path matches what's in 
your script.

- verify your nrpe.cfg has an entry in it for your script I.e check_myscript

- verify on the master that check commands matches the remote entry

Ed

From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 01:50 PM
To: Nagios Users List nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

Actually I verified that this script runs fine manually using default (Bourne) 
shell too.
So now I have #!/bin/sh in the beginning of my script and it still is not 
being picked up by service.
And I restart Nagios to initiate the service attempt.
Do you refer to Bourne shell (#!/bin/sh ) in  this part of your explanation:

“ (If it's a shell script, nagios will execute it using the proper interpreter, 
so there is no way to tell nagios to use bash if that makes sense)?”

If you do, and since I still  can’t initiate the script should I su - nagios 
user anyway?

And responding to Edwin’s question, it is on local host.

Thanks.
Mikhail.

From: James Pratt [mailto:jpr...@norwich.edu]
Sent: Friday, March 30, 2012 11:33 AM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

Ok, so it's working fine when you run it from the command line, but not for 
nagios user, correct? (If it's a shell script, nagios will execute it using the 
proper interpreter, so there is no way to tell nagios to use bash if that 
makes sense)?

I usually su - nagios user, then try and run it from that user account - that's 
usually where the problem is, it runs fine  for root or whoever, but fails for 
the nagios user for whatever reason...

Cheers,
Jamie
From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 1:28 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

Sorry for confusion - I was just trying different combinations.

But initially my command definition was following:

define command{
command_namedlg_notifications
command_line/usr/local/nagios/libexec/nagios-msg-broker.sh
}

I have #!/bin/bash in the top of my shell script, and shell script is set to 
be executable.

perfserver-10:/usr/local/nagios/libexec$ ls -l nagios-msg-broker.sh
-rwxrwxrwx 1 nagios nagcmd 149 Mar 30 10:04 nagios-msg-broker.sh

Thanks.
Mikhail.

From: James Pratt [mailto:jpr...@norwich.edu]
Sent: Friday, March 30, 2012 9:53 AM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

I'm slightly confused - Do you have #!/bin/bash in the top of your shell 
script, and is it set to be executable by (at least) the nagios user?  (Not 
sure why you are calling bash then the script name as an arg, that is odd to 
me, but maybe I'm missing something)?

Cheers,
Jamie

From: Parkman, Mikhail 
[mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 12:43 PM
To: 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios

Hello,

I have the following command:

define command{
command_namedlg_notifications
command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
}

And the following service

define service{
   use mypc
   service_description 
dlg_Alerts_notifications
   check_command  dlg_notifications
   max_check_attempts 1
   retain_status_information0
   retain_nonstatus_information0
   }

/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
runs fine manually.

Service defined above can’t run it though.
While googling around, I found out that apparently Nagios does not know that 
script should be executed by /bin/bash

How would I let Nagios know about /bin/bash

Thanks.
Mikhail.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http

Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios

2012-03-30 Thread James Pratt
ok it's really very simple - find the exact command definition string you want 
to execute in your commands.cfg, and su - nagios (as root) and then 
interactively (like actually type it right?) the same exact command that the 
command definition is attempting to execute as the nagios user, and see if it 
works -  Note, this is only to debug, or test your configuration - you do not 
want to setup your script to su - nagios  or anything like that ... sorry if i 
was not clear on that - what you want to do is mimic exactly the command 
nagios is attempting to execute, that is all, it's just for testing. if you can 
figure out why that is not working as the nagios user (This is the account the 
nagios program runs as right?), then that is where your problem is, so i'm 
sorry - it's not a solution, it's only the best way to find your problem, as 
that is the apparent issue  - as you say - it runs correctly otherwise.

Jamie

From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 8:43 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

The script represents in Nagios terms external application.
It runs on the local (monitoring) box.
Script due to its content makes connection to the mbeans on the remote server 
(target box),
receives notifications from mbeans, and then writes to the external fifo file 
(usr/local/nagios/var/rw/nagios.cmd)

message in the predefined format:

PROCESS_SERVICE_CHECK_RESULT;host_name;service_description;return_code;plugin_output

One message for one notification.

It looks to me that “remote stuff” is not applicable in that case.

When I run this script manually on the local monitoring host, it runs and 
writes data to the file.
When it is initiated by service defined on the same monitoring host in the .cfg 
file, nothing happens.

If I want this script to be initiated by “su – nagios”, how exactly I 
incorporate it within existing command and service definitions on the 
monitoring host?

Thanks.
Mikhail.

From: James Pratt [mailto:jpr...@norwich.edu]
Sent: Friday, March 30, 2012 12:19 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

Yes I agree with Ed as well on the remote stuff -

And yes, the *nix OS determines what shell/program (eg perl/bash/sh/zsh etc) to 
execute the script with by the shebang line in the top of the file, and whether 
or not it's executable.

I would definitely try and execute it as the nagios user - that is all that is 
left in your case it seems (?)

From: Edwin Zoeller 
[mailto:edwin.zoel...@ama-assn.org]mailto:[mailto:edwin.zoel...@ama-assn.org]
Sent: Friday, March 30, 2012 3:11 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

If this is run on a remote host using nrpe this what I would check:

- type which bash on the remote host and make sure the path matches what's in 
your script.

- verify your nrpe.cfg has an entry in it for your script I.e check_myscript

- verify on the master that check commands matches the remote entry

Ed

From: Parkman, Mikhail 
[mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 01:50 PM
To: Nagios Users List 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

Actually I verified that this script runs fine manually using default (Bourne) 
shell too.
So now I have #!/bin/sh in the beginning of my script and it still is not 
being picked up by service.
And I restart Nagios to initiate the service attempt.
Do you refer to Bourne shell (#!/bin/sh ) in  this part of your explanation:

“ (If it's a shell script, nagios will execute it using the proper interpreter, 
so there is no way to tell nagios to use bash if that makes sense)?”

If you do, and since I still  can’t initiate the script should I su - nagios 
user anyway?

And responding to Edwin’s question, it is on local host.

Thanks.
Mikhail.

From: James Pratt 
[mailto:jpr...@norwich.edu]mailto:[mailto:jpr...@norwich.edu]
Sent: Friday, March 30, 2012 11:33 AM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in 
Nagios

Ok, so it's working fine when you run it from the command line, but not for 
nagios user, correct? (If it's a shell script, nagios will execute it using the 
proper interpreter, so there is no way to tell nagios to use bash if that 
makes sense)?

I usually su - nagios user, then try and run it from that user account - that's 
usually where the problem is, it runs fine  for root or whoever, but fails for 
the nagios user for whatever reason...

Cheers,
Jamie
From: Parkman, Mikhail 
[mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 1:28

[Nagios-users] Script to import Ip's into basic hosts.cfg?

2012-03-07 Thread James Pratt
Hi, does anyone know of/have a perl/shell/python script that can take a list of 
ip addresses from a text file and auto-build a basic hosts.cfg file from it?

Thanks, I searched the exchange, but couldn't find anything that would do this 
without a lot of fuss... 

Regards,
Jamie


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
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 authentication thru LDAP.

2011-08-10 Thread James Pratt
Hi

If you are looking for Active Directory or Kerberos ldap authentication, see 
this link - 

http://wiki.nagios.org/index.php/Windows_Authentication

(Not sure how different it is if you are using another LDAP, sorry)!

Cheers,
James

---

From: Robert J Molerio [mailto:rjm...@nyu.edu] 
Sent: Wednesday, August 10, 2011 12:23 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios authentication thru LDAP.

Can anyone indicate how this can be done?
We would like users to log on to Nagios via LDAP.
I think we need to configure the Apache server within Nagios to be able to do 
this but we're not sure.
-- 
Thank you,

Bob Molerio
Systems Administrator
New York University
ITS Computer Facilities Services/Infrastructure
Level C-2
75 Third Avenue                        
New York NY 10003-5527
email:robert.mole...@nyu.edu
 
 


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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] DNS check - please help

2011-07-18 Thread James Pratt
The help for the plugin says -

./check_dns --help

check_dns v1.4.15 (nagios-plugins 1.4.15)
Copyright (c) 1999 Ethan Galstad nag...@nagios.org
Copyright (c) 2000-2008 Nagios Plugin Development Team
nagiosplug-de...@lists.sourceforge.net

This plugin uses the nslookup program to obtain the IP address for the given 
host/domain query.
An optional DNS server to use may be specified.
If no DNS server is specified, the default server(s) specified in 
/etc/resolv.conf will be used.


(Based on your stated result(s), I must assume that if the specified server 
fails, it probably defaults to /etc/resolv.conf, but I'd probably have to fire 
up wireshark/tshark to find out for sure)...

Cheers,
James

From: Nibin V M [mailto:nibin...@piserve.com]
Sent: Monday, July 18, 2011 10:55 AM
To: Nagios Users List
Subject: [Nagios-users] DNS check - please help

Hello,

I am a bit lost to find how the check_dns works. Please see the results below.

# ./check_dns -H google.comhttp://google.com --server=myserver.
DNS OK: 0.011 seconds response time. google.comhttp://google.com returns 
74.125.93.103,74.125.93.104,74.125.93.105,74.125.93.106,74.125.93.147,74.125.93.99|time=0.011378s;;;0.00

# dig +short google.comhttp://google.com @myserver
#

I am sure that recursion isn't enabled on myserver. Do the plugin try to 
resolve google.comhttp://google.com using the name servers specified 
resolv.conf, if the -s server doesn't provide any answer?

Thanks in advance.

Regards,
Nibin.
-
Nibin.V.M
Systems Integrator
PiServe.com

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
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/Sendmail issue

2011-06-28 Thread James Pratt
Hi, unfortunately that is not enough info for anyone here to work from -
Try viewing *all* the received by headers of the final email, and
discern where the time lag is occurring. It sounds like a sendmail queue
issue (or whatever MTA's you are using), then fix the offending mail
server/relay causing the delay(s).

Cheers,
James

---

From: Manish Kumar [mailto:manikuma...@gmail.com] 
Sent: Tuesday, June 28, 2011 1:59 PM
To: nagios-users
Subject: [Nagios-users] Nagios/Sendmail issue

Hi Frnds,


I have a setup in which nagios 3.2.3 is monitoring a number of servers
and network devices like cisco switches and routers. The issue is that i
am getting the email notifications very late for any problem. Is it the
nagios problem or my sendmail server both running on the same linux
server FC 14. Also i have setup my sendmail server to relay to other
corporate mail server which actually sends mail notifications. I am not
able to find the root cause of this issue. The issue can be one of the
following Nagios problem, My Sendmail problem, Corporate email server
problem. what do u say :)

For your reference a delayed notification is pasted here:-

FW: ** Network Host PROBLEM Alert: Cisco-CH_12_JPH_R5_ASC_01 is DOWN **
noc-as-...@mahindra.com [noc-as-...@mahindra.com]


Sent:
Tuesday, June 28, 2011 8:01 PM
To:
Manish_Kmr




---
From:
nagios@localhost6.localdomain6[SMTP:NAGIOS@LOCALHOST6.LOCALDOMAIN6]
Sent: Tuesday, June 28, 2011 9:41:00 AM
To: NOC-AS-CHK - MVML
Subject: ** Network Host PROBLEM Alert: Cisco-CH_12_JPH_R5_ASC_01 is
DOWN **
Auto forwarded by a Rule

* Nagios *

Notification Type: PROBLEM
Host: Cisco-CH_12_JPH_R5_ASC_01
State: DOWN
Address: 10.192.63.15
Info: CRITICAL - Time to live exceeded (10.192.63.15)

Date/Time: Tue Jun 28 09:41:00 IST 2011

-- 
Thanks
Manish Kumar
http://in.linkedin.com/in/manishkumar85

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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 windows service using nagios

2011-06-13 Thread James Pratt
Hi, starting simple here - have you setup and configured the NSClient on
the windows box you are querying?

 

From -

 

http://nagiosplugins.org/man/check_nt

 

This plugin collects data from the NSClient service running on a

Windows NT/2000/XP/2003 server.

 

 

From: Manish Kumar [mailto:manikuma...@gmail.com] 
Sent: Monday, June 13, 2011 2:11 PM
To: nagios-users
Subject: [Nagios-users] How to monitor windows service using nagios

 

 

Hi,

 

 

I get process not running for every process i try to monitor on windows
using check_nt why ?

 

 


-- 
Thanks
Manish Kumar
http://in.linkedin.com/in/manishkumar85
http://cens.cdac.in/ 

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
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] Monitoring HP Procurve Interfaces

2011-04-19 Thread James Pratt
Hello, have you tried running them as the nagios user, or as root user
or both?

 

Sometimes it will not execute the same as nagios user, so you can test
using su - nagios -c /usr/local/nagios/libexec/check_cmd -H IP
ADDRESS etc etc... 

 

Also, this may help - 

 

http://support.nagios.com/knowledgebase/faqs/index.php?option=com_conten
tview=articleid=52catid=35faq_id=17expand=falseshowdesc=true

 

Cheers,

James

 

From: Martin Hugo [mailto:martin_h...@hboe.org] 
Sent: Tuesday, April 19, 2011 11:24 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] Monitoring HP Procurve Interfaces

 

Hello,

 

I am trying to monitor the interfaces on my HP Procurve 5400 series
switch.  I have tried both check_iftraffic3 and check_snmp_int.  The
commands work perfectly from the command line.  However the web
interface reports (return code of 255 is out of bounds) for
check_iftraffic3 and (return code of 127 is out of bounds) for
check_snmp_int .

 

I am able to monitor all other hardware on the switch through Nagios
just fine.

 

Any thoughts on this?

 

Thanks.

 

Martin T. Hugo

Network Administrator

Hilliard City Schools

614-921-7102 (Ph)

614-771-7243 (Fax)

 Think before you print

 

image001.gif--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
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] pnp4nagios?

2011-04-14 Thread James Pratt
yes, i just upgraded our install as well , so i went through a bit of
hair pulling myself. I am using sync mode, and found the best tool for
setup was the verify_pnp script, it finally got me sorted out... 

 

From: Jeremiah D. Jester [mailto:jj...@u.washington.edu] 
Sent: Thursday, April 14, 2011 3:00 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] pnp4nagios?

 

Anyone here using pnp4nagios for graphing? I'm having some configuration
issues and wanted to see if there was someone who could assist? 

Thanks,

JJ

 

Jeremiah Jester
Informatics Specialist

Microbiology - Katze Lab

206-732-6185

 

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
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 schedule weekly service check.

2011-03-28 Thread James Pratt
Hi. Sorry it's not working for you - from below, i am deducing you have it 
setup to check every 2 minutes, from 11am-5pm, only on Mondays. Is this correct?

 

Can you post your host definition, and maybe the command template for 
template_TEST/TEST_CMD, as I'm not sure why it's not recurring after check 1.  

 

Btw, i was under the assumption you only wanted it to actually run a check once 
per week, perhaps I am missing what you are really trying to accomplish, sorry. 
 

 

Thanks,

Jamie

 

From: Nair [mailto:vman...@rediffmail.com] 
Sent: Monday, March 28, 2011 10:59 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users]How to schedule weekly service check.

 

Thank you, Jamie. However, similar set of config not working with me.

define timeperiod{
timeperiod_name only_mon
alias Only on monday
monday 11:00-17:00
}

define service{
service_description TEST_SRV
host_name localhost
max_check_attempts 1
normal_check_interval 120
retry_check_interval 1
check_period only_mon
check_command TEST_CMD
use template_TEST
}

Here, after the first check, the recurring checks fails to do, unless i reload 
the nagios. Still no clue about the reason !! :(

Thank you
Nair



On Fri, 25 Mar 2011 22:17:36 +0530 wrote
Hi, there is an archived thread about a similar request; it should help get 
you fixed up -



http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24221.html



Regards,

Jamie



From: Nair [mailto:vman...@rediffmail.com] 

Sent: Friday, March 25, 2011 12:19 PM

To: nagios-users@lists.sourceforge.net

Subject: [Nagios-users] How to schedule weekly service check.



Friends



Can anyone please share how to configure a service check to perform check once 
in a week.



Thank you

Nair







--

Enable your software for Intel(R) Active Management Technology to meet the

growing manageability and security demands of your customers. Businesses

are taking advantage of Intel(R) vPro (TM) technology - will your software 

be a part of the solution? Download the Intel(R) Manageability Checker 

today! http://p.sf.net/sfu/intel-dev2devmar

___

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





 
http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?
 

 

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
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 schedule weekly service check.

2011-03-25 Thread James Pratt
Hi, there is an archived thread about a similar request; it should help get you 
fixed up -

http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24221.html

Regards,
Jamie

From: Nair [mailto:vman...@rediffmail.com] 
Sent: Friday, March 25, 2011 12:19 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How to schedule weekly service check.

Friends

Can anyone please share how to configure a service check to perform check once 
in a week.

Thank you
Nair



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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] pnp4nagios - gentoo

2011-03-24 Thread James Pratt
Hi - Can you elaborate? I understand you added pnp4nagios to your Gentoo box... 
but... what ssi files, what pop-ups? I would read through the INSTALL file, 
and/or manual/docs on the version of pnp4nagios for your specific ebuild - 
There could be some small manual configuration bits you may have missed - i 
know that Gentoo tends to change *lots* of things in their packages/ebuilds... 
(or used to anyhow).

(You also may have luck on the Gentoo support/discussion boards, i know they 
used to be quite active if no one here knows your answer). 

Cheers,
James 
  

From: Deniz Yoldüz [mailto:dyol...@gmail.com] 
Sent: Thursday, March 24, 2011 4:50 PM
To: Nagios Users List
Subject: [Nagios-users] pnp4nagios - gentoo

Hi,
I'm newbie on gentoo and i emerged pnp4nagios. The problem is i can't find the 
ssi files for popups?

Anybody experienced it before?

Thanks.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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 XI question

2011-03-21 Thread James Pratt
Perhaps he just wanted to check it out for the nagios core configuration gui , 
as i am doing today... OTOH, i can see xi being a very nice product for 
folks/sites who do not want to hassle with maintaining/setting up all the free 
stuff... (although, I personally do not think it's worth the $, at least based 
on my few days of trial (and error lol). 

Cheers,
James


From: khurram aziz [mailto:khurramazizkha...@yahoo.com] 
Sent: Monday, March 21, 2011 12:01 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios XI question

Hi Joe,

just one question for You.. Why would you pay for Nagios XI when you can use 
the same func for free with Nagios+pnp4nagios

Khurram Aziz Khalid

--- On Mon, 3/21/11, Joe Martin widet.jmar...@gmail.com wrote:

From: Joe Martin widet.jmar...@gmail.com
Subject: [Nagios-users] Nagios XI question
To: nagios-users@lists.sourceforge.net
Date: Monday, March 21, 2011, 3:45 PM
Just exploring using Nagios for monitoring network, Windows, unix, Linux and 
applications in various ways.  We're thinking Nagios XI looks like a good fit 
with one exception - the documentation states that Nagios XI is only supported 
on RHEL, CentOS and Fedora - we're a SLES shop.  Anyone out there runing XI on 
SLES (specifically SLES 11)?

Thanks,

Joe

-Inline Attachment Follows-
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d

-Inline Attachment Follows-
___
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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_procs

2011-02-10 Thread James Pratt
Just as a side note, I fully agree with you on the plugins at
manubulon.com, they are supreme replacements/substitutes for the
check_snmp plugin.

Also, you can indeed query windows boxes with SNMP if you are like me
and have too many systems for agents etc, you just need to have the
windows SNMPD service installed and configured for polling as well.

Cheers,
Jamie

-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk] 
Sent: Thursday, February 10, 2011 8:21 AM
To: Nagios Users List
Subject: Re: [Nagios-users] check_procs

On 10 February 2011 10:58, Saj Ali s...@247emaildata.com wrote:

 Hi

 I have installed nagios software to monitor my network, I want to know

 that if there is a plugin to monitor a specific process, for example I

 want to monitor the pmta or tcp or apache, please guide me as I have 
 no idea how to do that,


Personally for Unix/Linux processes, I use check_snmp_process.pl which
can be found at http://nagios.manubulon.com/ .  It presupposes you have
the snmp daemon running and configured to allow you to query the
processes.

If the process is on a Windows server, then you can use the NSClient++
agent (checkProcState).  See
http://www.nsclient.org/nscp/wiki/CheckProcState

hth,

Jim


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] SMTP server update

2011-01-18 Thread James Pratt
To clarify- 

 

1. Mail notification via Nagios is is configured in your Nagios
configuration files, no SMTP info is necessary - Nagios expects a
working local SMTP relay for such configurations to actually work.

 

2. Your nagios server can indeed be set up to relay mail to a specific
SMTP server via the mail server software's configuration files (I.e
Postfix/Sendmail, etc etc).

 

 

From: Yueh-Hung Liu [mailto:yuehung@gmail.com] 
Sent: Tuesday, January 18, 2011 9:04 AM
To: Nagios Users List
Subject: Re: [Nagios-users] SMTP server update

 

 

mail notification is done by commands defined in your Nagios'
configuration files.

 

 

 

if you can send mail from the server that Nagios is installed on, you
don't need to specify SMTP or whatever anymore.

 

 

On Mon, Jan 17, 2011 at 3:57 PM, Network Operation Center FMC Luxemburg
n...@eurofmc.com wrote:

Dear list,

Is it possible to specify to Nagios wich SMTP server it have to use for
sending alert mails?

Thanks a lot
Francois

-- 
Network Operation Center 
 
LUXEMBURG 

E-mail: n...@eurofmc.com 
 

DISCLAIMER: This e-mail contains proprietary information some or all
of which may be legally privileged. It is for the intended recipient
only.  If an addressing or  transmission error  has misdirected this
e-mail, please notify the author by replying to this e-mail.  If you
are not the  intended recipient  you must not use, copy, distribute,
disclose, print, or rely on this e-mail.



--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
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

 

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check_load

2011-01-06 Thread James Pratt
You would have to know what OS you are on , and have a look at the
configure.in file for the plugins, as that is how the CPU info is
obtained ... (Just checked the source code, as I was curious about that
as well)... 

 

check_load.c ---

 

if (take_into_account_cpus == 1) {

if ((numcpus = GET_NUMBER_OF_CPUS()) 
0) {

la[0] = la[0] / numcpus;

la[1] = la[1] / numcpus;

la[2] = la[2] / numcpus;

}

}

 

 

 


--

 

common.h

 

/* GET_NUMBER_OF_CPUS is a macro to return 

   number of CPUs, if we can get that data.

   Use configure.in to test for various OS ways of

   getting that data

   Will return -1 if cannot get data

*/

#ifdef HAVE_SYSCONF__SC_NPROCESSORS_CONF 

#define GET_NUMBER_OF_CPUS() sysconf(_SC_NPROCESSORS_CONF)

#else

#define GET_NUMBER_OF_CPUS() -1

#endif

 


--

 

 

Cheers,

Jamie

 

From: Liz Cardona [mailto:lcard...@buzz-media.com] 
Sent: Thursday, January 06, 2011 1:54 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Check_load

 

Hello, I am wondering if someone had an idea regarding the question
below?

Thanks,


On 1/5/11 10:07 AM, Liz Cardona lcard...@buzz-media.com wrote:

Hello,

Ive been using nagios for quite sometime now and would like to enhance
the way I do check_load.
According to you documentation, when using the plugin check_load I can
use a -r option and it will give me the load average based on
processes/number of cpus core. I cannot find a documentation explaining
how nagios is doing this? I.e how is it checking the number of cpus.
I've turned on debugging mode with no succes.
I'm wondering if you can please put me in the correct direction or
documentations of how to understand this in depth.

Thank you very much,
Liz Cardona
l...@buzz-media.com
323 459 2833

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
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 VMware ESX Server and StorageUnits

2011-01-05 Thread James Pratt
hi, you mention you are using HP's management agents on ESX - if so,
check out these SNMP plugins to replace check_snmp - 

http://nagios.manubulon.com/

I'm not sure if you can get any SMART drive status from snmpd/HP, but
you can check RAID status on local disks, and there are also ways to
check ESX datastore free space usage too.

good luck  cheers,
James

-Original Message-
From: Max Hetrick [mailto:maxhetr...@verizon.net] 
Sent: Wednesday, January 05, 2011 10:39 AM
To: Nagios Users List
Subject: Re: [Nagios-users] How to Monitor VMware ESX Server and
StorageUnits

On 01/05/2011 10:28 AM, Marc Haber wrote:
 Are there other possibilities of connecting Nagios to ESX and MSA 
 devices? I'd appreciate your input.

Have a look at the check_esx.pl plugin. You can do quite a bit with it.

http://www.op5.org/community/plugin-inventory/op5-projects/check-esx-plu
gin

It just requires the VMware Perl SDK kit to be installed on the machine
you want to connect from, in this instance, Nagios.

Regards,
Max


--
Learn how Oracle Real Application Clusters (RAC) One Node allows
customers to consolidate database storage, standardize their database
environment, and, should the need arise, upgrade to a full multi-node
Oracle RAC database without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
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

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
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 Notifications

2010-12-21 Thread James Pratt


-Original Message-
From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] 
Sent: Tuesday, December 21, 2010 10:36 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Email Notifications

Hi,


I wonder if it is possible to have email notifications but JUST for a
specified list of monitored services ?

Thanks for any help


--

Hi -

I'm pretty sure you can use :

notifications_enabled   0

in the service or host definition for the ones you don't want
notifications on ... then again, there are probably other ways as well..


cheers,
James

--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
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 Notifications

2010-12-21 Thread James Pratt
Ok, no problem - create a new contact/contact group, then add them to whatever 
service or host definition(s) you want the notifications for using 
contact_groups... 

like this:



define service {

service_description MyService
check_period24x7
max_check_attempts  5

contact_groups  linuxadmins,operations
  
   

...

}


cheers,
James

-Original Message-
From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] 
Sent: Tuesday, December 21, 2010 11:02 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Email Notifications

I wasn't enough clear, I think.

Today I have all notifications to one user.
I don't want to change this.

But for only a list a specified services, I want to notify another user

Le 21/12/10 16:56, James Pratt a écrit :

 -Original Message-
 From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com]
 Sent: Tuesday, December 21, 2010 10:36 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Email Notifications

 Hi,


 I wonder if it is possible to have email notifications but JUST for a 
 specified list of monitored services ?

 Thanks for any help

 --
 --
 --

 Hi -

 I'm pretty sure you can use :

 notifications_enabled   0

 in the service or host definition for the ones you don't want 
 notifications on ... then again, there are probably other ways as well..


 cheers,
 James

 --
  Forrester recently released a report on the Return on 
 Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost 
 savings, and break-even within 7 months.  Over 3 million businesses 
 have gone Google with Google Apps:
 an online email calendar, and document program that's accessible from 
 your browser. Read the Forrester report: 
 http://p.sf.net/sfu/googleapps-sfnew
 ___
 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


--
Forrester recently released a report on the Return on Investment (ROI) of 
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 
7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
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

--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_snmp

2010-12-16 Thread James Pratt
you could try these instead of check_snmp , i always found check_snmp to
be too limited... :\  

 

http://nagios.manubulon.com

 

From: Jorge Arenas [mailto:jorge...@hotmail.com] 
Sent: Thursday, December 16, 2010 9:16 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_snmp

 

Hi:
 
i just install nagios and I am following the basic guide in the site to
monitor a switch 
 
i create the file and work well, but 
 
all switch ports are reported in OK status always 
 
i check the output ok the command:
 
check_snmp -C public -H switch -r 1   etc
 
and even when the port reports status of 2 ( down) the -r 1 parameter
is not working and the report send SNMP OK for down ports 
 
 
I read the instruccions but i can not find any information regarding the
-r (regex) parameter
 
I Found a workaround changing the -r 1  for the -c 1:1 
 
but I do not know if the documentation in the site is out-dated or i am
making something wrong
 
 
any ideas 
 
thanks in advance
 
Jorge Arenas
CSA Mexico

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
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] Question about use check_snmp plugin

2010-10-25 Thread James Pratt
Hi, while I cannot answer your question directly, I would advise giving these 
SNMP replacement plugins a look, as they simplified things considerably here, 
and are quite reliable IMO... 

http://nagios.manubulon.com/


Cheers,
James

From: Роман Обрядин [mailto:obryadi...@gmail.com] 
Sent: Monday, October 25, 2010 10:22 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Question about use check_snmp plugin

Hi,  
my name is Roman.
I have installed nagios plugins and I don't understand, why check_snmp is not 
working properly.
for example, I use -r option (as describe in docs) 

port Fa0/14 on switch is UP
inframonitor:/usr/local/icinga/libexec # /usr/local/icinga/libexec/check_snmp 
-H 192.168.111.60 -C x -o ifOperStatus.10014 -r 1 -m RFC1213-MIB
SNMP OK - 1 | RFC1213-MIB::ifOperStatus.10014=1


port Fa0/10 on switch is DOWN
inframonitor:/usr/local/icinga/libexec # /usr/local/icinga/libexec/check_snmp 
-H 192.168.111.60 -C x -o ifOperStatus.10010 -r 1 -m RFC1213-MIB 
SNMP OK - 2 | RFC1213-MIB::ifOperStatus.10010=2

Port fa0/10 is DOWN, but plugin returns the status OK(!). It is wrong.

Can you help me to solve this problem?

inframonitor:/usr/local/icinga/libexec # rpm -qa | grep net-snmp
net-snmp-utils-5.4.2.1-9
net-snmp-5.4.2.1-8.2.1
net-snmp-libs-5.4.2.1-9
net-snmp-mibs-5.4.2.1-9

nagios-plugins-1.4.15

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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] installing and configuring nagios

2010-10-07 Thread James Pratt
From: Ceylan, Hasan [mailto:hasan.cey...@dowjones.com] 
Sent: Thursday, October 07, 2010 1:04 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: Re: [Nagios-users] installing and configuring nagios

Hello:
 
I am very new to Nagios, I would like to know what exactly it does.  What 
version is better, and where is the installation guide. Can somebody direct me 
to the right location and documentation?
 
Best Regards,
 
Hasan Ceylan




http://www.nagios.org   should have all that and then some... 

- Basically, it's incredibly awesome software to monitor other systems, 
devices, your server room's temperature, etc, etc... (or,,, perhaps  the 
color of your face as you try to set it up  configure it without having first 
RTFM'ed!! ... :)

cheers!
James



--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] Monitoring an EMC Celerra

2010-10-05 Thread James Pratt


From: olourkin-nag...@yahoo.com [mailto:olourkin-nag...@yahoo.com] 
Sent: Tuesday, October 05, 2010 12:20 PM
To: Nagios Users List
Subject: [Nagios-users] Monitoring an EMC Celerra

Hi all -

Been digging around to try to figure out how to enable SNMP gets against an EMC 
Celerra so that I can implement active checks in Nagios.  I have traps set up, 
but I much prefer active checks whenever possible.  Problem is, EMC support 
says the Celerra isn't capable of allowing gets.

I've heard and suspected otherwise, so I thought I'd check the list to see if 
anyone's made the necessary config changes to allow gets.  I think it should be 
a matter of changing /etc/snmp/snmpd.conf, but has anyone tried?

Thanks,

Erik Larkin


---

I guess having skipped bothering to implement this at our site, i look at this 
a different sort of way, and ask - are you attempting to monitor the celerra 's 
datamover via the CS (Control station?), or directly against the dm(s)?

I'm not sure what you wish to monitor either - the celerras have some pretty 
good internal alerting configs if you dig around ... at least they have worked 
fine for us.

what are you attempting to do specifically , like monitor just health / temp 
stuff, or filesystem/share usage etc etc? I'm also curious because i use SNMP 
gets here extensively, just never bothered against the celerra... 

cheers,
James

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] Running Nagios on Vmware

2010-07-08 Thread James Pratt


 -Original Message-
 From: Ryan C Ash [mailto:ryan.c.ash.l...@statefarm.com]
 Sent: Thursday, July 08, 2010 10:01 AM
 To: Nagios users
 Subject: [Nagios-users] Running Nagios on Vmware
 
 Is anyone aware of documentation or test cases showing whether or not
running
 Nagios on VMware is a good idea?  I realize the common opinion is
that it is a
 bad idea due to I/O but I am looking for something a bit more in
depth.
 
 Thanks
 
 

Not really, however it's been discussed on the list now and again - I
think for the most part, most agree it is just a bad idea, however, I
suppose you could run it on a separate vm instance, depending on your
shop/site.

Here, I will always run it on external hardware, as we run 99%
virtual/ESX so putting in the cluster im monitoring would just be a
counter-productive. :-P

Cheers,
James

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
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] PHP GD Extension not available -- PNP4Nagios

2010-03-25 Thread James Pratt


 -Original Message-
 From: Jatin Davey [mailto:jasho...@cisco.com]
 Sent: Thursday, March 25, 2010 8:46 AM
 To: Nagios Mailinglist
 Subject: [Nagios-users] PHP GD Extension not available -- PNP4Nagios
 
 Hi
 
 I installed PNP4nagios and everything went fine. No errors were
 reported. Then configured the synchronous mode. After which started
the
 first test to load the pnp4nagios web front end and i got the
following
 message:
 
 PHP GD extension PHP GD extension not available
 
 Then i issues the following command: yum install php-gd and found
that
 it is already installed in my system.
 
 Please let me know what to do next. I want to make pnp4nagios work.
 

Did you restart apache after installing the gd module? That should fix
it for you I would think.

Cheers,
jamie

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] You do not have permission to access /nagios on this server

2010-03-08 Thread James Pratt

From what I can see, the perms shouldn't be a big problem , mine are all
owned by nagios:nagios - 

if you remove the .htaccess auth parts, can you get in and view the
CGI's normally?

what do your Apache error and access logs say?

Hth


Cheers,
jamie
 -Original Message-
 From: Robert Wolfe [mailto:rwo...@i-evolve.com]
 Sent: Monday, March 08, 2010 1:20 PM
 To: 'Gezina Dekker'; nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] You do not have permission to access
/nagios on this server
 
 Try setting ownership of these files to user nagios, group nagios.
 
 
 
 
 
 
 
 From: Gezina Dekker [mailto:gezin...@gmail.com]
 Sent: Monday, March 08, 2010 1:17 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] You do not have permission to access /nagios
on this server
 
 
 
 Hi all,
 
 I have looked at all the questions so far, and nothing that brings
any comfort.
 
 I followed the Fedore QuickStart even though I am on RHEL 4
(2.6.9-5.EL)
 
 I have all the following installed:
 Apache
 PHP
 GCC compiler
 GD development libraries
 
 I have nagios and nagcmd defined
 
 I have installed nagios and the plugins
 
 I have a passwd in htpasswd, and it is read acces for all.
 
 SELinux is disabled
 
 In terms of my nagios.conf, this is it...
 
 ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
 Directory /usr/local/nagios/sbin
 #  SSLRequireSSL
Options FollowSymLinks ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory
 
 Alias /nagios /usr/local/nagios/share
 
 Directory /usr/local/nagios/share
 #  SSLRequireSSL
Options FollowSymLinks
DirectoryIndex index.html
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory
 
 
 The contents of my /share is the following:
 drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
 drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
 drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
 drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
 -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
 drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
 -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
 -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
 -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets
 
 
 The errors I am getting is the following:
 
 Forbidden
 You don't have permission to access /nagios on this server.
 Additionally, a 403 Forbidden error was encountered while trying to
use an
 ErrorDocument to handle the request.
 
 
 
 Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80
 
 
 I am making the assumption that the 403 is less serious, and that it
is actually the
 permissions that needs fixing...
 
 Thanks in advance for your willingness to look at this with me.
 
 Regards
 
 
 
 Gezina


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_disk question Nagios

2010-02-22 Thread James Pratt


 -Original Message-
 From: Stuart Browne [mailto:stuart.bro...@ausregistry.com.au]
 Sent: Monday, February 22, 2010 5:46 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] check_disk question Nagios
 
  From: Ennis Ibarra [mailto:en...@nmcourts.gov]
  From: Stuart Browne stuart.bro...@ausregistry.com.au
  From: akp geek [mailto:akpg...@gmail.com]
 
  I have installed nagios on server1. Without installing NRPE on
the
  Server2, would it possible to use the check_disk to monitor the
  space on server2. Thanks for the help
 
  Investigate the 'check_by_ssh' plugin that comes with the
nagios-plugins.
 
  What are you familiar with?  Perl, BASH ?If you want to give it
a try,
  use
 
http://debianclusters.cs.uni.edu/index.php/Creating_Your_Own_Nagios_Plug
in
  it was very handy for me, and the previous suggestion about
check_by_ssh
  is also handy.
 
 Another option I didn't think of is to use NSCA to submit passive
checks.  But that
 involves installing the NSCA client on SERVER2 and the NSCA service
on SERVER1.
 
 Stuart

Those would all work, but if you are like me and have too many things to
monitor with software agents and such, there is always good old SNMP
polling -

http://nagios.manubulon.com/

cheers,
james

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] User Authentication using LDAP in Nagios

2010-02-09 Thread James Pratt


 -Original Message-
 From: Tarak Mukherjee [mailto:reachta...@hotmail.com]
 Sent: Tuesday, February 09, 2010 8:06 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] User Authentication using LDAP in Nagios
 
 Dear Friends,
 
 Is there any way to Authenticate user using LDAP in nagios.
 
 
 
 
 /\
 Ricky
 

Yes -

http://wiki.nagios.org/index.php/Windows_Authentication

cheers,
james


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios

2010-02-02 Thread James Pratt


 -Original Message-
 From: raja nagios [mailto:nagios.r...@gmail.com]
 Sent: Tuesday, February 02, 2010 9:54 AM
 To: Nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Nagios
 
 Hi all,
 
 Look at the attached snapshot of nagios.
 
 why  i am getting ? mark...
 
 can anyone help me. please have a look at picture.
 
 
 Thanks

Hello, I think if you just change / fix the /etc/hosts file to reflect
the proper IP and hostname of your nagios server, as opposed to
localhost.localdomain, which should have an entry for 127.0.0.1 only.

Also, check the output of hostname command - if it's not correct, you
can set it via hostname -v nagios.mydomain.com 

I think if you restart nagios after this change/fix, you will see what
you expect... if not, check your httpd setup/ conf files for correct
ServerName directive , etc etc... 

Example /etc/hosts file :

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1localhost.localdomain   localhost
::1localhost6.localdomain6 localhost6
10.12.200.90   nagios.norwich.edu  nagios

Cheers,
james

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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 accomplish this task

2010-01-27 Thread James Pratt
Yes, there are different ways lately, snmp vs WBEM and python,... I
believe both require esx not esxi (not sure about the latter, no service
console so not sure how you'd install this?) and I believe both require
the HP Management Agents - you should be able to find them here for
your 460c g5 blades, and version of ESX:

http://h2.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prod
NameId=3808911lang=encc=usprodTypeId=3709945prodSeriesId=3808910tas
kId=135


cheers,
jamie

 -Original Message-
 From: ReynierPM [mailto:rper...@uci.cu]
 Sent: Wednesday, January 27, 2010 6:34 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] How to accomplish this task
 
 Hi every:
 I have 6 Blade Servers with ESX vSphere and in top of this structure
I
 have 78 more virtualized servers. Exists any way to check Blade
Servers
 processor temperature, ram status, and all this stuff related to
hardware?
 --
 Cheers and thx in advance
 ReynierPM
 


--
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the
business
 Choose flexible plans and management services without long-term
contracts
 Personal 24x7 support from experience hosting pros just a phone call
away.
 http://p.sf.net/sfu/theplanet-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 Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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] Virtual Machines - define as parent or ashost dependency...

2010-01-26 Thread James Pratt


 -Original Message-
 From: Steve Shipway [mailto:s.ship...@auckland.ac.nz]
 Sent: Tuesday, January 26, 2010 3:03 AM
 To: ncc...@gmail.com; nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Virtual Machines - define as parent or
ashost
 dependency...
 
 This is the way we do it, with Parents (not host dependencies).
 

Hi Steve, been following this with great interest. Care to share how you
do host dep's too?, this is all very helpful, thank you! :)

 First we create a virtual object for the VMWare farm.  This has a
status of UP if any
 of the farm servers are up (using check_summary).  This virtual
'host' has several
 services, using the v0.9 check_vmware, relating to the farm's alarms,
storage
 volumes, etc.  These services have service dependencies on the
VirtualCentre service
 running on the Virtual Centre host.
 
 The Farm object has ALL of the ESX Servers as Parents.

So ultimately, the Farm object definition would be: the vcenter server
(with esx hosts as parents?), combined with a service check on the
vcenter service?

Not familiar with check_summary, sorry, that's next up to google. ;)

 
 All the VMs in the farm have the Farm object as a parent.  Some of
them also use
 check_esx3 to alert on Alarms, CPU, and Memory usage within VMWare.
 
 This might seem a bit complex if you've only the one server, but as
soon as oyu
 have multiple servers in the farm, and use DRS, you have to use a
farm object for
 parents/dependencies.
 

Yes, I feel that pain well. How can/do you keep track of what ESX hosts
are parents to what vm's when DRS is in fully-automated mode, that seems
to be the key... ? 

 It might make more sense for these relationships to be host
dependencies rather
 than parents i nmost cases, but we have a SAN mirrored environment to
a seocnd
 ESX farm so that the VMs can be brought up ther ein the event of a
complete farm
 outage, hence the use of Parents rather than dependencies.
 
 If you have VSphere4 (ESX4.0) with a SNMP-enabled Cisco virtual
switch in the farm,
 you could probably make the virtual switch the parent device rather
than having to
 use a farm object.
 
 The VMWare monitoring plugin we're using is v0.9 of check_vmware,
from here:
 http://www.steveshipway.org/forum/viewtopic.php?f=28t=1648
 
 check_summary is available from nagiosexchange.org (as is check_esx3
which is the
 forerunner of check_vmware)
 
 Steve

Excellent - off to have a look. We use a combination of things at the
moment, including check_esx3 and also use python/WBEM  snmp on HP
hardware. 

Thanks much!

James



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_hpjd issues

2010-01-18 Thread James Pratt


 -Original Message-
 From: Mr Gabriel [mailto:gabr...@impactteachers.com]
 Sent: Monday, January 18, 2010 8:09 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] check_hpjd issues
 
 I'm getting the following error for running
 
 # ./check_hpjd -H printer1.domain.com -C public
 Error in packet ()
 
 SNMP is enabled, although I do recall seeing snmp protocol 1 being
used
 by this particular printer. Would this cause a problem?
 

Hi - I'm not sure if that will be a problem but you can always
test/troubleshoot this further by using snmpwalk on the command line,
which may give you more information as to what the issue really is ...

http://www.google.com/search?q=snmpwalk+examples

hth 

regards,
Jamie


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
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] What this message means

2010-01-12 Thread James Pratt
Hello Reynier,

Have a look at: http://nagios.sourceforge.net/docs/3_0/flapping.html 

Hth - Jamie

 -Original Message-
 From: ReynierPM [mailto:rper...@uci.cu]
 Sent: Tuesday, January 12, 2010 10:58 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] What this message means
 
 Hi every:
 Today I get this message from one of my checked hosts: Notifications
 for this host are being suppressed because it was detected as having
 been flapping between different states (24.2% change  20.0% threshold).
 When the host state stabilizes and the flapping stops, notifications
 will be re-enabled.
 
 What this means? What I need to check on this host?
 --
 Cheers and thanks in advance
 Ing. Reynier Pérez Mira
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 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 the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_sensors command

2010-01-08 Thread James Pratt
 -Original Message-
 From: xmanhosting [mailto:anth...@xmanhosting.com.au]
 Sent: Thursday, January 07, 2010 11:57 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] check_sensors command
 
 Hello,
 
 Thanks for the replies Mark and James.
 
 How would I find out what package i've installed to provide the
'sensors' command?
 
 I have 'sensors' now appearing in my Nagios admin, and it is
reporting as 'sensors
 ok'
 
 Below are my command and service definitions. Do you know of any
extra
 parameters I need to add so that it reports the actual cpu temp?
 
 # 'check_sensors' command definition
 define command{
 command_namecheck_sensors
 command_line$USER1$/check_sensors
 }
 
 define service {
  use  local-service
 host_name  webserver
 service_description   sensors
 check_command check_sensors
 }
 
 Kind regards,
 Anthony
 


Depends on your linux distro - if you have RPM, then it would be
(replace mysql with your sensors binary path/name) -

# rpm -qf /usr/bin/mysql
mysql-3.23.52-3

Sorry, but I don't know apt-get, so perhaps someone else can tell you
about that one if you are on debian/ubuntu etc.

Cheers,
jamie


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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] incorporating CoreTemp into Nagios

2010-01-07 Thread James Pratt
Sure, that should not be too difficult - google around for Nagios wrapper or 
nagios-plugins to see some example wrapper/plugin scripts.

Here's one that monitors hdtemp I found real quick that should show you how it 
works easy enough -

http://linsec.ca/blog/2008/02/09/hddtemp-wrapper-for-nagios/

cheers,
james

 -Original Message-
 From: xmanhosting [mailto:anth...@xmanhosting.com.au]
 Sent: Wednesday, January 06, 2010 11:44 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] incorporating CoreTemp into Nagios
 
 Hello,
 
 I have my cpu temp (coretemp) monitored by on my server by the installation 
 of
 
 rpm -Uvh http://elrepo.org/elrepo-release-0.1-1.el5.elrepo.noarch.rpm
 
 Running 'sensors' from the terminal produces the output:
 
 coretemp-isa-
 Adapter: ISA adapter
 Core 0: +48°C (high = +100°C)
 
 coretemp-isa-0001
 Adapter: ISA adapter
 Core 1: +48°C (high = +100°C)
 
 coretemp-isa-0002
 Adapter: ISA adapter
 Core 2: +49°C (high = +100°C)
 
 coretemp-isa-0003
 Adapter: ISA adapter
 Core 3: +49°C (high = +100°C)
 
 Does anyone have any idea of how to bring the cpu temp from above into 
 Nagios?
 
 Or is there a tutorial available that someone knows of, of how to do this?
 
 Thanks for any help,
 
 Kind regards,
 Anthony

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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] Anyone testing Microsoft Volume Shadow Copy?

2009-12-14 Thread James Pratt
 -Original Message-
 From: C. Bensend [mailto:be...@bennyvision.com]
 Sent: Monday, December 14, 2009 2:17 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Anyone testing Microsoft Volume Shadow Copy?
 
 
 Hey folks,
 
I am hitting a situation where certain Windows 2003 Server file
 servers will stop doing shadow copies on their share volumes.  The
 service itself starts up and shuts down periodically like it
 should, but a new shadow copy is *not* created as viewed in Pervious
 Versions from a Windows box.
 
Looking at the vssadmin.exe command on the Windows server, I see
 I can:
 
 
 vssadmin List Shadows
 
 
And it prints out a listing of the existing shadow copies.
 However, without awk and grep (and no, I cannot install cygwin or
 anything like that), I don't have a clue how to process it.
 
Is anyone already testing Volume Shadow Copy?  Does anyone know
 of performance counters or anything I can use via the Nagios EventLog
 agent or NSClient++ to check to see that new shadow copies are being
 created?
 
I'm running out of Google on this one...
 
 Thanks!
 
 Benny
 
 
 --
 It's not all about getting up and putting four slices of kickass
 in a two slice toaster. -- ark86, on Fazed.net


Hi, this may help, but I cannot tell for sure in your particular case.
I've installed it on a few servers here to resolve win2k3 VSS-related
backup errors/issues.

http://support.microsoft.com/kb/940349


cheers,
James

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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 monitor for VMware ESXi (free edition)

2009-12-07 Thread James Pratt


 -Original Message-
 From: dOE [mailto:doep...@gmail.com]
 Sent: Monday, December 07, 2009 12:13 PM
 To: Nagios User-List
 Subject: [Nagios-users] Nagios monitor for VMware ESXi (free edition)
 
 I have created a monitor using the check_esxwbem.py, but it returns
an OK and
 null It is not doing what it is intended to do.
 The script pulls the hardware resources of the host server through
WBEM.  I know
 WBEM is working because I am able to pull this information from HP
SIM, but I want
 Nagios to be my one stop shop for monitoring.

What exactly are you trying to monitor? Raid? I have some snmp stuff for
using the HP agents on ESX, but I can't help without more info.

Regards,
jamie


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
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] Problems checking external host

2009-11-16 Thread James Pratt


 -Original Message-
 From: ReynierPM [mailto:rper...@uci.cu]
 Sent: Monday, November 16, 2009 9:45 AM
 To: Morris, Patrick
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Problems checking external host
 
 Morris, Patrick wrote:
  The part I'm fairly sure you're missing is that the name in
  authorized_keys must match the name or address Nagios uses,
exactly.
  That's really the only reason you'd see that error.
 
 Hi Patrick:
 What you mean with address nagios use? You mean the users configured
on
 cgi.cfg file? Or nagios user or nagcmd group? Could be a little
explicit
 on this? I'm very newbie and I try to understand the process
 
 Cheers
 

Hi 

Here's a tutorial I found on setting this up - 

http://www.zdnetasia.com/techguide/opensource/0,39044899,62052006,00.htm



regards,
jamie


--
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] Problems checking external host

2009-11-16 Thread James Pratt


 -Original Message-
 From: ReynierPM [mailto:rper...@uci.cu]
 Sent: Monday, November 16, 2009 10:04 AM
 To: James Pratt
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Problems checking external host
 
 James Pratt wrote:
 
  Here's a tutorial I found on setting this up -
 
 
http://www.zdnetasia.com/techguide/opensource/0,39044899,62052006,00.htm
 
 
 Thanks for the tutorial it really help me a lot but I need to ask
some
 dummie or newbie :( question: if I'm logged in as root, how I can
create
 the ssh-key for nagios from root command line?

No problem - As root, just run:

su - nagios -c ssh nag...@remotebox.com (replace your target hostname
here, or use IP)

let it connect and accept the key, then do the same on the target box in
reverse, so that both sides have the key in ~/.ssh/authorized_keys
files.

Hth -

cheers,
James

--
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] Problems checking external host

2009-11-11 Thread James Pratt


 -Original Message-
 From: ReynierPM [mailto:rper...@uci.cu]
 Sent: Tuesday, November 10, 2009 11:32 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Problems checking external host
 
 Hi every:
 I'm trying to check a external server using check_by_ssh command but
I'm
 getting this errors:
 1. Remote command execution failed: Host key verification failed.
 2. (Return code of 127 is out of bounds - plugin may be missing)
 
 My config is as follow for bacula-server.cfg:
 

Hi,

I believe the key error here is: Host key verification failed - I
don't use check_by_ssh, but I assume you need to setup shared ssh keys
for password-less authentication -

http://lmgtfy.com/?q=ssh+shared+key

regards,
james

--
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] read-only nagios

2009-11-11 Thread James Pratt


 -Original Message-
 From: dave stern - e-mail.pluribus.unum [mailto:dit.d...@gmail.com]
 Sent: Wednesday, November 11, 2009 10:49 AM
 To: nagios List
 Subject: [Nagios-users] read-only nagios
 
 We're looking for a mechanism to allow others access to our nagios
 server for viewing only. The kicker is they want to be able to reach
it
 without any htpasswd so multiple htpasswords and
 authorization_for_system_commands is not an option.
 
 I'm thinking the only practical method to accomplish this is to
 somehow mirror the install elsewhere. One idea was a cronjob that
 ran a wget hitting the status cgi and dumping it somewhere on the
 same machine. This still tends to have authentication queries
 embedded in it. Another option might be another install on the
 same server, different port, no authentication and
 perhaps rsync'ing data from the master.
 
 Has anyone set up anything like this before?
 
 TIA

Have you considered Nagios Looking Glass? Sounds like it may do the job,
but I've never used it myself -

http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%2
9/Web-Interfaces/Nagios-Looking-Glass/details

cheers,
jamie

--
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] MySQL-plugin : how to use it ??

2009-10-31 Thread James Pratt


 -Original Message-
 From: jonas kellens [mailto:jonas.kell...@telenet.be]
 Sent: Saturday, October 31, 2009 11:01 AM
 To: Nagios-Users
 Subject: [Nagios-users] MySQL-plugin : how to use it ??
 
 I have found the following Nagios plugin to monitor MySQL :
 
 bash-3.2# wget http://oss.isg.inf.ethz.ch/nagiosplug/download/MySQL-1.3.tgz
 
 bash-3.2# ls
 AUTHORS   ChangeLog check_mysql.pl check_mysql_slow.pl COPYING  VERSION
 build.sh  check_mysql_bytes.pl check_mysql_queries.pl check_mysql_threads.pl
 TODO
 
 bash-3.2# sh build.sh
 build.sh: line 22: rpmbuildenv: command not found
 error: failed to stat /usr/src/MySQL-1.3/MySQL.spec: No such file or 
 directory
 error: failed to stat /usr/src/MySQL-1.3/MySQL.spec: No such file or 
 directory
 
 Now, how can I use these check-commands ??
 
 Greetings,
 Jonas.

It appears as though build.sh is trying to build you an RPM file from the 
source, which is a RedHat package type - you will need the rpm , and other 
rpm-build utilities in order to get this to compile by using that build script.

From the looks of it above, you may be able to just copy the *.pl files over 
to /usr/local/nagios/libexec (or wherever your plugin folder lives), and try 
to use them in your commands.cfg - unless of course there is something 
specific placed into them from the build.sh script.


Regards,
Jamie
--
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


Re: [Nagios-users] JBOSS

2009-10-28 Thread James Pratt


 -Original Message-
 From: Eduardo Barreto [mailto:lec...@gmail.com]
 Sent: Wednesday, October 28, 2009 11:44 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] JBOSS
 
 Hi All,
 
 How can I monitor a jboss server?
 
 
 Thanks in advance.
 
 Eduardo Barreto
 
 


http://lmgtfy.com/?q=nagios+jboss


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


Re: [Nagios-users] bgp monitoring (check_bgp_neighbors) command syntaxassistance

2009-10-06 Thread James Pratt


 -Original Message-
 From: Emily [mailto:new2nag...@gmail.com]
 Sent: Tuesday, October 06, 2009 12:32 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] bgp monitoring (check_bgp_neighbors) command
 syntaxassistance
 
 Hello, I am attempting to use this check_bgp_neighbors command which
was
 recommended however my manual execution gives this output:
 
 [r...@dns libexec]# ./check_bgp_neighbors -H Core-RTR1-MiddleT -C
public -n
 157.130.57.129 -n 65.205.26.197
 Error in packet
 Reason: (noSuchName) There is no such variable name in this MIB.
 Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.157.130.57.129.1.1
 expr: syntax error
 Error in packet
 Reason: (noSuchName) There is no such variable name in this MIB.
 Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.65.205.26.197.1.1
 expr: syntax error
 ./check_bgp_neighbors: line 107: [: -ge: unary operator expected
 Failed: status:12 prefixes: sent:1466115 received:1475079[r...@dns
libexec]#
 [r...@dns libexec]#
 
 perhaps my syntax is flawed as I don't know why I am getting this
Failed object
 error, the usage of the command is below, I would really appreciate
any help with my
 syntax for the above command:
 

I think your syntax is ok, as it's not line 107 that its actually
failing on, it's the two OID lookup(s) on the router - it's not able to
see them via snmpwalk in the script...

The shell script itself is inserting those last two neighbor IP
addresses into the snmpwalk call(s) as part of the specific OID's, so it
could definitely be a typo or something - can you try to manually run
snmpwalk against the router to troubleshoot it further? 

Cheers,
james 

--
Come build with us! The BlackBerryreg; 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#45;12, 2009. Register now#33;
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] Monitoring Open Ports

2009-10-05 Thread James Pratt
Well, look on the bright side - It's not that big of a perl script - you can 
likely modify it to suit your specific need(s).  :)

 -Original Message-
 From: Matt Baer [mailto:m...@baerconsult.com]
 Sent: Monday, October 05, 2009 2:43 PM
 To: nagios-users
 Subject: Re: [Nagios-users] Monitoring Open Ports
 
 For the most part, this works.  However, the problem is that it requires 
 that ALL
 open ports be accepted as parameters.  I want to specify the ports to check. 
  For
 example, if port 8081 is open, it may not always be open, then I get the 
 stupid
 notification.  I don't want to monitor port 8081, I want to monitor 
 25,80,110,143,
 etc.
 
 - Original Message -
 From: Marc Powell m...@ena.com
 To: Nagios-Users Mailinglist Nagios-users@lists.sourceforge.net
 Sent: Tuesday, September 29, 2009 3:27:09 PM GMT -06:00 US/Canada Central
 Subject: Re: [Nagios-users] Monitoring Open Ports
 
 
 On Sep 29, 2009, at 2:51 PM, Matt Baer wrote:
 
  Is there a way that Nagios can monitor open ports, even if there isn't
  anything listening on the destination?  I'd like to monitor my open
  ports on my firewall JUST to make sure they're open.  I would just
  specify the port with the normal Nagios command and point it at my
  public IP address, but obviously, the check will fail unless something
  is listening on the other end.  Basically I want to port scan specific
  ports.  Any ideas?
 
 A quick google for 'nagios nmap' yields this result that looks promising --
 
 http://ubermonkey.wordpress.com/2006/09/28/nagios-nmap-plugin/
 
 --
 Marc
 
 
 --
 Come build with us! The BlackBerryreg; 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#45;12, 2009. Register now#33; 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 BlackBerryreg; 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#45;12, 2009. Register now#33;
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] Using Nagios to Scan a Network for Rogue AP's

2009-09-30 Thread James Pratt


 -Original Message-
 From: Kevin Holleran [mailto:kdaw...@gmail.com]
 Sent: Wednesday, September 30, 2009 10:37 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Using Nagios to Scan a Network for Rogue
AP's
 
 On Wed, Sep 30, 2009 at 10:21 AM, Hari Sekhon
hpsek...@googlemail.com
 wrote:
  Kevin Holleran wrote:
 
  Have you tried monitoringexchange.org? I'm not sure anything we
could hack
  up would be as good as Air Defense though..
 
  -h
 
  --
  Hari Sekhon
  http://www.linkedin.com/in/harisekhon
 
 
 
 Thanks for the response.  I was thinking of maybe some kind of plugin
 to interface with NMap and NMap modules.  Does anything like that
 exist?
 
 Thanks.
 
 Kevin

Yes - strangely enough, Marc Powell and I both suggested this same
plugin/site just yesterday on another thread:

http://ubermonkey.wordpress.com/2006/09/28/nagios-nmap-plugin/

regards,
James

--
Come build with us! The BlackBerryreg; 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#45;12, 2009. Register now#33;
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] Monitoring Open Ports

2009-09-29 Thread James Pratt


 -Original Message-
 From: Matt Baer [mailto:m...@baerconsult.com]
 Sent: Tuesday, September 29, 2009 3:51 PM
 To: Nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Monitoring Open Ports
 
 Is there a way that Nagios can monitor open ports, even if there isn't 
 anything
 listening on the destination?  I'd like to monitor my open ports on my 
 firewall JUST to
 make sure they're open.  I would just specify the port with the normal Nagios
 command and point it at my public IP address, but obviously, the check will 
 fail unless
 something is listening on the other end.  Basically I want to port scan 
 specific ports.
 Any ideas?

Sure, just google for nagios nmap - I found this one, looks like it may work 
for you, but may need some modification -


http://ubermonkey.wordpress.com/2006/09/28/nagios-nmap-plugin/


regards,
James
--
Come build with us! The BlackBerryreg; 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#45;12, 2009. Register now#33;
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] Nagios-plugins and nrpe for platform 64 bits

2009-09-08 Thread James Pratt

 -Original Message-
 From: Esteban Torres Rodriguez [mailto:etor...@dap.es]
 Sent: Tuesday, September 08, 2009 8:38 AM
 To: nagios-user Mailinglist
 Subject: [Nagios-users] Nagios-plugins and nrpe for platform 64 bits
 
 That's packages are valid for platform 64 bits?
 
 nagios-plugins-1.4.13.tar.gz

http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugin
s-
 1.4.13.tar.gz
 nrpe-2.12.tar.gz

http://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
 


Yes. Configure should notice you are running 64-bit and adjust as
appropriate.

--
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] My apache is slow

2009-08-04 Thread James Pratt

 -Original Message-
 From: keshav murthy [mailto:nkesha...@gmail.com]
 Sent: Tuesday, August 04, 2009 6:36 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] My apache is slow
 
 Hi guys,
 
 I have Nagios 3.0.6 running on RHEL 4. Nagios by itself is running
perfect. What we
 are seeing here is apache is loading slow, searches are slow and most
of the time
 status.cgi runs on the top.
 
 Is there a way where we can fine tune apache? If so please provide me
the
 steps/documents.
 
 If you need the conf files I can provide you them.
 
 Cheers
 Keshav

Please, no conf files - this is not the Apache mailing list! ;)

http://lmgtfy.com/?q=apache+tuning

(My other advice is check memory load on your nagios box, as well as
swap usage - you may just need more RAM).

Cheers,
jamie


--
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] Static linked libraries

2009-07-27 Thread James Pratt


 -Original Message-
 From: Matthew Tice [mailto:mjt...@gmail.com]
 Sent: Monday, July 27, 2009 10:29 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Static linked libraries
 
 Hello, I'd like to compile Nagios and the Nagios plugins with static
linked libraries.  Is
 this possible?  I couldn't find any documentation regarding it and my
understanding
 of gcc is shoddy at best.  If it is possible then a few examples
would be appreciated.
 
 Thanks,
 Matt

Sure, try:

./configure --disable-shared --whatever-here-etc

Cheers,
jamie

--
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] Static linked libraries

2009-07-27 Thread James Pratt


 -Original Message-
 From: James Pratt [mailto:jpr...@norwich.edu]
 Sent: Monday, July 27, 2009 10:41 PM
 To: Matthew Tice; nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Static linked libraries
 
 
 
  -Original Message-
  From: Matthew Tice [mailto:mjt...@gmail.com]
  Sent: Monday, July 27, 2009 10:29 PM
  To: nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] Static linked libraries
 
  Hello, I'd like to compile Nagios and the Nagios plugins with
static
 linked libraries.  Is
  this possible?  I couldn't find any documentation regarding it and
my
 understanding
  of gcc is shoddy at best.  If it is possible then a few examples
 would be appreciated.
 
  Thanks,
  Matt
 
 Sure, try:
 
 ./configure --disable-shared --whatever-here-etc
 
 Cheers,
 Jamie

Ok, sorry, but before I send anyone who is admitting shoddy knowledge
of GCC down this road, just be aware of (among other things):

* Because linked external programs are built into the executable
files, these files become larger.
* You cannot change the behavior of executable files without
relinking them.
* External called programs cannot be shared. Therefore, if more than
one calling program needs to access the called programs, duplicate
copies of the called programs must be loaded in memory.

Ps - run ./configure --help to see all of the available nagios-plugin
compile options... 

Cheers,, x2
Jamie


--
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] Plugin problem

2009-07-13 Thread James Pratt
Hello Natalie.

The reason you may not be able to execute these is likely due to permissions.. 
try a chmod 755 on these files so it changes the perm bits from

-r-xr-x---

To 

-rwxr-xr-x 

(Otherwise, only the nagios user has access to execute them)...

As for your SNMP issue, try using :

yum search net-snmp 

to find the packages you want/need... Despite the fact that you have snmpd 
running, you will likely need other packages. For example, on our Centos5 
(RHEL5) machine, we have:

net-snmp-perl
net-snmp-libs
net-snmp
net-snmp-utils
net-snmp-devel



Regards,
Jamie

-Original Message-
From: Natalie Aloi [mailto:na...@experisdatacenters.com] 
Sent: Monday, July 13, 2009 11:49 AM
To: Nagios Users Mail-list
Subject: [Nagios-users] Plugin problem

Hello, I am trying to get to nagios 3.0.6 running with plugins v1.4.13 - my old 
installation on another server also had a plugins.d directory with a bunch of 
checK_xxx.cfg files in it (I've tried to incorporate those, so I wouldn't have 
to completely rewrite oid queries, etc) so not sure if that is a part of my 
trouble: - but check out this output, should I be able to run a check_xxx from 
the command line?
 
drwxr-xr-x 8 nagios nagios   4096 2009-07-09 15:37 ..
drwxrwxr-x 2 nagios nagios   4096 2009-07-09 10:13 .
-r-sr-x--- 1 root   nagios  77549 2009-07-09 10:13 check_dhcp
-r-sr-x--- 1 root   nagios  82964 2009-07-09 10:13 check_icmp
-r-xr-x--- 1 nagios nagios   3143 2009-07-09 10:13 check_file_age
-r-xr-x--- 1 nagios nagios  15310 2009-07-09 10:13 check_ifoperstatus
-r-xr-x--- 1 nagios nagios  12853 2009-07-09 10:13 check_ifstatus
-r-xr-x--- 1 nagios nagios  20367 2009-07-09 10:13 check_mailq
-r-xr-x--- 1 nagios nagios   9707 2009-07-09 10:13 check_rpc
-r-xr-x--- 1 nagios nagios   1176 2009-07-09 10:13 check_sensors
-r-xr-x--- 1 nagios nagios   3019 2009-07-09 10:13 check_wave
-r-xr-x--- 1 nagios nagios   2053 2009-07-09 10:13 utils.pm
-r-xr-x--- 1 nagios nagios862 2009-07-09 10:13 utils.sh
-r-xr-x--- 1 nagios nagios   2265 2009-07-09 10:13 check_breeze
lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_clamd - check_tcp
-r-xr-x--- 1 nagios nagios   8163 2009-07-09 10:13 check_disk_smb
-r-xr-x--- 1 nagios nagios   6395 2009-07-09 10:13 check_flexlm
lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_ftp - check_tcp
lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_imap - check_tcp
-r-xr-x--- 1 nagios nagios   7429 2009-07-09 10:13 check_ircd
-r-xr-x--- 1 nagios nagios   6062 2009-07-09 10:13 check_log
lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_nntp - check_tcp
-r-xr-x--- 1 nagios nagios  74784 2009-07-09 10:13 check_nt
-r-xr-x--- 1 nagios nagios   8366 2009-07-09 10:13 check_oracle
lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_pop - check_tcp
lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_udp - check_tcp
-r-xr-x--- 1 nagios nagios  79726 2009-07-09 10:13 check_by_ssh
-r-xr-x--- 1 nagios nagios  75190 2009-07-09 10:13 check_dig
-r-xr-x--- 1 nagios nagios  81691 2009-07-09 10:13 check_dns
-r-xr-x--- 1 nagios nagios  62246 2009-07-09 10:13 check_nagios
-r-xr-x--- 1 nagios nagios  83198 2009-07-09 10:13 check_procs
-r-xr-x--- 1 nagios nagios  64279 2009-07-09 10:13 check_swap
-r-xr-x--- 1 nagios nagios  50065 2009-07-09 10:13 check_ide_smart
-r-xr-x--- 1 nagios nagios  69260 2009-07-09 10:13 check_ntp_time
-r-xr-x--- 1 nagios nagios  69297 2009-07-09 10:13 check_ups
-r-xr-x--- 1 nagios nagios  59154 2009-07-09 10:13 check_users
-r-xr-x--- 1 nagios nagios  62436 2009-07-09 10:13 negate
-r-xr-x--- 1 nagios nagios  58567 2009-07-09 10:13 urlize
-r-xr-x--- 1 nagios nagios  84165 2009-07-09 10:13 check_ping
-r-xr-x--- 1 nagios nagios  60601 2009-07-09 10:13 check_real
-r-xr-x--- 1 nagios nagios  85400 2009-07-09 10:13 check_smtp
-r-xr-x--- 1 nagios nagios  58171 2009-07-09 10:13 check_ssh
-r-xr-x--- 1 nagios nagios  71905 2009-07-09 10:13 check_tcp
-r-xr-x--- 1 nagios nagios  60179 2009-07-09 10:13 check_time
-r-xr-x--- 1 nagios nagios  48688 2009-07-09 10:13 check_mrtgtraf
-r-xr-x--- 1 nagios nagios  78674 2009-07-09 10:13 check_ntp
-r-xr-x--- 1 nagios nagios  72638 2009-07-09 10:13 check_ntp_peer
-r-xr-x--- 1 nagios nagios  93506 2009-07-09 10:13 check_nwstat
-r-xr-x--- 1 nagios nagios  63258 2009-07-09 10:13 check_overcr
-r-xr-x--- 1 nagios nagios  43928 2009-07-09 10:13 check_cluster
-r-xr-x--- 1 nagios nagios 102640 2009-07-09 10:13 check_disk
-r-xr-x--- 1 nagios nagios  39490 2009-07-09 10:13 check_dummy
-r-xr-x--- 1 nagios nagios 129089 2009-07-09 10:13 check_http
-r-xr-x--- 1 nagios nagios  62067 2009-07-09 10:13 check_load
-r-xr-x--- 1 nagios nagios  49117 2009-07-09 10:13 check_mrtg
-r-xr-x--- 1 nagios nagios  67505 2009-07-09 10:13 check_apt

[r...@dns libexec]# ./check_ifoperstatus

Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec 
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 
/usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi 

Re: [Nagios-users] Plugin problem

2009-07-13 Thread James Pratt
Thanks - My bad! - Even I learn something new every day! (I'm the only
user here, so I've never run into issues!) :\ 

-Original Message-
From: Michael Friedrich [mailto:michael.friedr...@univie.ac.at] 
Sent: Monday, July 13, 2009 1:06 PM
To: Natalie Aloi
Cc: Nagios Users Mail-list
Subject: Re: [Nagios-users] Plugin problem

Permissions are correct, do not change them! Other users than nagios 
shouldn't be allowed to execute the plugins.
and from the output, the shell is root, so don't care about execute
rights.

James Pratt wrote the following on 13.07.2009 18:18:
 Hello Natalie.

 The reason you may not be able to execute these is likely due to
permissions.. try a chmod 755 on these files so it changes the perm bits
from

 -r-xr-x---

 To 

 -rwxr-xr-x 

 (Otherwise, only the nagios user has access to execute them)...

 As for your SNMP issue, try using :

 yum search net-snmp 

 to find the packages you want/need... Despite the fact that you have
snmpd running, you will likely need other packages. For example, on our
Centos5 (RHEL5) machine, we have:

 net-snmp-perl
 net-snmp-libs
 net-snmp
 net-snmp-utils
 net-snmp-devel



 Regards,
 Jamie

 -Original Message-
 From: Natalie Aloi [mailto:na...@experisdatacenters.com] 
 Sent: Monday, July 13, 2009 11:49 AM
 To: Nagios Users Mail-list
 Subject: [Nagios-users] Plugin problem

 Hello, I am trying to get to nagios 3.0.6 running with plugins v1.4.13
- my old installation on another server also had a plugins.d directory
with a bunch of checK_xxx.cfg files in it (I've tried to incorporate
those, so I wouldn't have to completely rewrite oid queries, etc) so not
sure if that is a part of my trouble: - but check out this output,
should I be able to run a check_xxx from the command line?
  
 drwxr-xr-x 8 nagios nagios   4096 2009-07-09 15:37 ..
 drwxrwxr-x 2 nagios nagios   4096 2009-07-09 10:13 .
 -r-sr-x--- 1 root   nagios  77549 2009-07-09 10:13 check_dhcp
 -r-sr-x--- 1 root   nagios  82964 2009-07-09 10:13 check_icmp
 -r-xr-x--- 1 nagios nagios   3143 2009-07-09 10:13 check_file_age
 -r-xr-x--- 1 nagios nagios  15310 2009-07-09 10:13 check_ifoperstatus
 -r-xr-x--- 1 nagios nagios  12853 2009-07-09 10:13 check_ifstatus
 -r-xr-x--- 1 nagios nagios  20367 2009-07-09 10:13 check_mailq
 -r-xr-x--- 1 nagios nagios   9707 2009-07-09 10:13 check_rpc
 -r-xr-x--- 1 nagios nagios   1176 2009-07-09 10:13 check_sensors
 -r-xr-x--- 1 nagios nagios   3019 2009-07-09 10:13 check_wave
 -r-xr-x--- 1 nagios nagios   2053 2009-07-09 10:13 utils.pm
 -r-xr-x--- 1 nagios nagios862 2009-07-09 10:13 utils.sh
 -r-xr-x--- 1 nagios nagios   2265 2009-07-09 10:13 check_breeze
 lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_clamd -
check_tcp
 -r-xr-x--- 1 nagios nagios   8163 2009-07-09 10:13 check_disk_smb
 -r-xr-x--- 1 nagios nagios   6395 2009-07-09 10:13 check_flexlm
 lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_ftp -
check_tcp
 lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_imap -
check_tcp
 -r-xr-x--- 1 nagios nagios   7429 2009-07-09 10:13 check_ircd
 -r-xr-x--- 1 nagios nagios   6062 2009-07-09 10:13 check_log
 lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_nntp -
check_tcp
 -r-xr-x--- 1 nagios nagios  74784 2009-07-09 10:13 check_nt
 -r-xr-x--- 1 nagios nagios   8366 2009-07-09 10:13 check_oracle
 lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_pop -
check_tcp
 lrwxrwxrwx 1 root   root9 2009-07-09 10:13 check_udp -
check_tcp
 -r-xr-x--- 1 nagios nagios  79726 2009-07-09 10:13 check_by_ssh
 -r-xr-x--- 1 nagios nagios  75190 2009-07-09 10:13 check_dig
 -r-xr-x--- 1 nagios nagios  81691 2009-07-09 10:13 check_dns
 -r-xr-x--- 1 nagios nagios  62246 2009-07-09 10:13 check_nagios
 -r-xr-x--- 1 nagios nagios  83198 2009-07-09 10:13 check_procs
 -r-xr-x--- 1 nagios nagios  64279 2009-07-09 10:13 check_swap
 -r-xr-x--- 1 nagios nagios  50065 2009-07-09 10:13 check_ide_smart
 -r-xr-x--- 1 nagios nagios  69260 2009-07-09 10:13 check_ntp_time
 -r-xr-x--- 1 nagios nagios  69297 2009-07-09 10:13 check_ups
 -r-xr-x--- 1 nagios nagios  59154 2009-07-09 10:13 check_users
 -r-xr-x--- 1 nagios nagios  62436 2009-07-09 10:13 negate
 -r-xr-x--- 1 nagios nagios  58567 2009-07-09 10:13 urlize
 -r-xr-x--- 1 nagios nagios  84165 2009-07-09 10:13 check_ping
 -r-xr-x--- 1 nagios nagios  60601 2009-07-09 10:13 check_real
 -r-xr-x--- 1 nagios nagios  85400 2009-07-09 10:13 check_smtp
 -r-xr-x--- 1 nagios nagios  58171 2009-07-09 10:13 check_ssh
 -r-xr-x--- 1 nagios nagios  71905 2009-07-09 10:13 check_tcp
 -r-xr-x--- 1 nagios nagios  60179 2009-07-09 10:13 check_time
 -r-xr-x--- 1 nagios nagios  48688 2009-07-09 10:13 check_mrtgtraf
 -r-xr-x--- 1 nagios nagios  78674 2009-07-09 10:13 check_ntp
 -r-xr-x--- 1 nagios nagios  72638 2009-07-09 10:13 check_ntp_peer
 -r-xr-x--- 1 nagios nagios  93506 2009-07-09 10:13 check_nwstat
 -r-xr-x--- 1 nagios nagios  63258 2009-07-09 10:13 check_overcr
 -r-xr-x--- 1 nagios nagios  43928 2009-07

Re: [Nagios-users] How often does Nagios need restarting? (Quiscustodiet ipsos custodes?)

2009-06-19 Thread James Pratt
Hi Tom, I've tried to answer your questions to the best of my own
personal knowledge -I have replaced any  of your original * symbols
with my own on all my comments/thoughts below, since my MS outlook
client apparently just sucks, so this appears more readable.

Regards,
jamie

-Original Message-
From: Kustner, Tom [mailto:tom.kust...@retirementpartner.com] 
Sent: Friday, June 19, 2009 5:35 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How often does Nagios need restarting?
(Quiscustodiet ipsos custodes?)

I am a Nagios user, not the administrator.  We are running Nagios 2.9 on
RHEL 4 or 5.  Overall, 200+ hosts with 3000 services being monitored. I
have access for monitoring a smaller number of hosts.

* ok, understood...

In another posting, I alluded to an issue where a host had gone down but
no alert was sent out.   The issue surfaced again today and as was done
the other time, Nagios was restarted to fix the problem.   I am
naturally concerned about the unreliability.  

* did you get any on-list or off-list replies at all? You have not
mentioned if you had it resolved or not, but it sound like the answer is
no to possibly both(?)

Any thoughts on this problem?Specifically:

What are best practices for making sure Nagios does not fall down on
the job?   Is there something not set right?

* Understanding your setup and the way nagios works is how you ensure it
stands up... a mis-config sounds likely, but who knows...

Are other Nagios administrators restarting Nagios on a weekly or
nightly basis to keep it on the job?

* Heck no! That's why we run it on Linux or Solaris! :)

Is this an issue specific to Nagios 2.9?  Was 2.9 a spotty version?

*Not to my knowledge - all stable releases have worked very reliably
here, especially 2.9 now that I look back...

For a given host, why would active checks be enabled, yet N/A
appears in the Next Active Check field?

* RTM - host checks are not always performed unless service checks fail,
and since I've been a manual-slacker myself, that may not even be the
true correct answer (Marc? :)

Thanks for any help.

-Tom Kustner-

* Not to sound negative/condescending or anything like that, but your
install will truly only work as well as you have maintained
it/understand it. You should really look at your current config files
and read the manual on 2.9, or upgrade to 3.x and again rtm...  Also,
you have not sent anything specific related to your problematic
config(s) for anyone on this list to even guess either way whether or
not something is mis-configured. If you are concerned about posting your
configs/setup, change stuff properly to hide what you need to on-list.
(I apologize if I have missed your earlier posting. Many here try our
best to help people here when possible, but sometimes we are all busy at
the same time, who knows!?).

Cheers,
Jamie

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Restarting the Nagios server from the webpage

2009-06-18 Thread James Pratt


-Original Message-
From: Brian O'Mahony [mailto:brian.omah...@curamsoftware.com] 
Sent: Thursday, June 18, 2009 6:49 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Restarting the Nagios server from the webpage

Is this possible to do rather than logging in via ssh, and using
service restart nagios?

--

Yes, in the GUI, goto Configuration - Process - Restart nagios process

Cheers,
jamie

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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] Restrict Access

2009-06-10 Thread James Pratt
Hi, if the answer below is not applicable, please check out the nagios config 
file named cgi.cfg - it has options to allow your users to see/do what you 
specify only. 

Hth,
Cheers,
Jamie

-Original Message-
From: MAD [mailto:sri.lu...@free.fr] 
Sent: Wednesday, June 10, 2009 9:31 AM
To: Eduardo Barreto
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Restrict Access

Did you mean on the Nagios web interface ? If yes it is possible by adding 
users in the file htpassdw.users having the same name as contacts in your 
nagios hosts' defintions...

See the Nagios documentation about CGI configuration for more details.

Marc-André

- Mail Original -
De: Eduardo Barreto lec...@gmail.com
À: nagios-users@lists.sourceforge.net
Envoyé: Mercredi 10 Juin 2009 15h13:46 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [Nagios-users] Restrict Access


Are there a way to restrict the view of some hosts? The reason is that nagios 
is checking all the hosts from the company, but I would like to restrict the 
view of all and let the hosts be viewed by departament which they belongs to, 
do you know what I mean? At the moment only have one user (nagiosadmin), should 
I create another user and set it? If it's possible, how can I do it? 


Thanks in advance 

Eduardo Barreto 

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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] monitoring F5

2009-06-03 Thread James Pratt


-Original Message-
From: Rick Garland [mailto:rick.garl...@quantum.com] 
Sent: Wednesday, June 03, 2009 11:16 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitoring F5


Got some additional information. These are F5 BigIP load balancers.
Does this help or is more info needed?


---

Yes - Google is your friend... :) 

http://www.google.com/search?source=ighl=enrlz==q=nagios+big-ipbtnG
=Google+Searchaq=foq= 


regards,
jamie

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
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 [spam?] memory on windows

2009-05-20 Thread James Pratt
Hmm.. is RamDisk a mount point on a *nix machine, or  ?

-Original Message-
From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] 
Sent: Wednesday, May 20, 2009 8:38 AM
To: James Pratt
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RE [spam?] memory on windows


Hi

actually I tried this also

./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90%
Unknown storage : RamDisk : ERROR

regards

--- On Mon, 18/5/09, James Pratt jpr...@norwich.edu wrote:

 From: James Pratt jpr...@norwich.edu
 Subject: RE: [Nagios-users] RE [spam?]  memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Monday, 18 May, 2009, 6:39 PM
 http://nagios.manubulon.com/
 
 
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: Monday, May 18, 2009 11:15 AM
 To: frank.bourd...@dga.defense.gouv.fr
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] RE [spam?] memory on windows
 
 
 maybe I was not clear enough
 I need to use snmp
 
 
 thanks
 
 --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
 wrote:
 
  From: frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
  Subject: RE [spam?] [Nagios-users] memory on windows
  To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
  Cc: nagios-users@lists.sourceforge.net
  Date: Monday, 18 May, 2009, 6:00 PM
  
  
  Hi Melanie,
  
  
  
  NSCLIENT++ is the Nagios
  client for
  Windows 2003, 2000, 2008. You can download it at
  http://nsclient++.org/nscp/.
  Follow the documentation on the web site. 
  
  
  
  [ENVOYE PAR INTERNET]
  
  
  
  
  
  frank.bourd...@dga.defense.gouv.fr
  
  
  
  
  
  
  
  
  Melanie
  Pfefer melanie_pfe...@yahoo.co.uk
  
  18/05/2009 16:51
  
  
  
  
  A
  nagiosplug-h...@lists.sourceforge.net
  
  
  cc
  nagios-users@lists.sourceforge.net
  
  
  Objet
  [spam?] [Nagios-users]
  memory on windows
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  hi
  
  
  
  I have a windows 2003 and want to monitor its memory
 usage
  
  
  
  can you please pass me the plugin that can notify me
 if
  memory usage reached
  X GB?
  
  
  
  thank you
  
  
  
  
  
        
  
  
  
 
 --
  
  Crystal Reports - New Free Runtime and 30 Day Trial
  
  Check out the new simplified licensing 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
  
  
  
  
 
 
       
 
 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing 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
 


  

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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] FW: RE [spam?] memory on windows

2009-05-20 Thread James Pratt
Ok, I got it:

Try this:

First, determine what is visible via snmp for storage on windows system:

$ ./check_snmp_storage -H 10.14.1.83 -C public -m zzz -w 80% -c 90% -v
V1 login : public
OID : .1.3.6.1.2.1.25.2.3.1.3.1 : C:\ Label:  Serial Number e0153914
OID : .1.3.6.1.2.1.25.2.3.1.3.2 : D:\ Label:  Serial Number e8a58f58
OID : .1.3.6.1.2.1.25.2.3.1.3.3 : E:\
OID : .1.3.6.1.2.1.25.2.3.1.3.4 : Virtual Memory
OID : .1.3.6.1.2.1.25.2.3.1.3.5 : Physical Memory
Found : 0 match : 0 OID queries
ERROR : Unknown storage zzz

Next, choose your victim:
 
$ ./check_snmp_storage -H 10.14.1.83 -C nagi0s -m Physical Memory -w 80% -c 
90%
OK : Physical Memory: 8%used(695MB/8190MB)  :  80 %  | 'Physical 
Memory'=695MB;6551;7370;0;8189

Hth, regards,
james

-Original Message-
From: James Pratt [mailto:jpr...@norwich.edu] 
Sent: Wednesday, May 20, 2009 8:45 AM
To: Melanie Pfefer
Cc: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] FW: RE [spam?] memory on windows

Sorry - I see what you are doing now. 

Try a -q instead of -m, and change it to Ram and let us know how that works - 
You can also snmpwalk the host to see if the RamDisk entry (Index entries use 
the -m) shows up in the output anywhere. (Chances are, it does not, which would 
explain the ERROR)

Thanks,
James

-Original Message-
From: James Pratt 
Sent: Wednesday, May 20, 2009 8:40 AM
To: 'Melanie Pfefer'
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RE [spam?] memory on windows

Hmm.. is RamDisk a mount point on a *nix machine, or  ?

-Original Message-
From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] 
Sent: Wednesday, May 20, 2009 8:38 AM
To: James Pratt
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] RE [spam?] memory on windows


Hi

actually I tried this also

./check_snmp_storage.pl -H myhost -C public -m RamDisk -s -w 80% -c 90%
Unknown storage : RamDisk : ERROR

regards

--- On Mon, 18/5/09, James Pratt jpr...@norwich.edu wrote:

 From: James Pratt jpr...@norwich.edu
 Subject: RE: [Nagios-users] RE [spam?]  memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Monday, 18 May, 2009, 6:39 PM
 http://nagios.manubulon.com/
 
 
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: Monday, May 18, 2009 11:15 AM
 To: frank.bourd...@dga.defense.gouv.fr
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] RE [spam?] memory on windows
 
 
 maybe I was not clear enough
 I need to use snmp
 
 
 thanks
 
 --- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
 wrote:
 
  From: frank.bourd...@dga.defense.gouv.fr
 frank.bourd...@dga.defense.gouv.fr
  Subject: RE [spam?] [Nagios-users] memory on windows
  To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
  Cc: nagios-users@lists.sourceforge.net
  Date: Monday, 18 May, 2009, 6:00 PM
  
  
  Hi Melanie,
  
  
  
  NSCLIENT++ is the Nagios
  client for
  Windows 2003, 2000, 2008. You can download it at
  http://nsclient++.org/nscp/.
  Follow the documentation on the web site. 
  
  
  
  [ENVOYE PAR INTERNET]
  
  
  
  
  
  frank.bourd...@dga.defense.gouv.fr
  
  
  
  
  
  
  
  
  Melanie
  Pfefer melanie_pfe...@yahoo.co.uk
  
  18/05/2009 16:51
  
  
  
  
  A
  nagiosplug-h...@lists.sourceforge.net
  
  
  cc
  nagios-users@lists.sourceforge.net
  
  
  Objet
  [spam?] [Nagios-users]
  memory on windows
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  hi
  
  
  
  I have a windows 2003 and want to monitor its memory
 usage
  
  
  
  can you please pass me the plugin that can notify me
 if
  memory usage reached
  X GB?
  
  
  
  thank you
  
  
  
  
  
        
  
  
  
 
 --
  
  Crystal Reports - New Free Runtime and 30 Day Trial
  
  Check out the new simplified licensing 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
  
  
  
  
 
 
       
 
 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing 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

Re: [Nagios-users] Monitoring clustered resources with Windows...

2009-05-20 Thread James Pratt
Seems there is a new resource for this since The Fork...

http://www.monitoringexchange.org/cgi-bin/page.cgi?d=1

hth,
regards
Jamie

-Original Message-
From: Andrew Davis [mailto:ncc...@gmail.com] 
Sent: Wednesday, May 20, 2009 1:19 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitoring clustered resources with Windows...

One of our admins is actively migrating us from Server 2003 to Server
2008 and using the built-in clustering capabilities of '08 to enable
service-level failover. So far, he's done so with Exchange, print server
services, and SQL. I'm wondering how to best monitor shares resources on
Windows hosts from Nagios. At present, we use nsclient++ to watch the
physical servers. This is good for basic checks of load average, memory,
local disk consumption, etc. I can even monitor services that are
running. No, I know I can monitor anything that's accessible from an IP
and port, but I'm somwhat stumped on other resources...

For example, we have two physical Exchange servers. They're in a cluster
and the various Exchange services are only active on one node at a time.
I can watch OWA as its accessible from an IP and port, but the Exchange
services themselves will stop on one server and start on the other if a
server fails. Nagios can't dynamically adjust to watch this service on
the new node. It will only yell that's its down on the failed node.

Clustered file storage is another example. Again, I can watch the local
CPU, memory, and local C: drive, etc. But let's say its sharing a large
volume as drive F:. I can watch this fine on the primary node, but if it
fails over, its no longer accessible from that node as its being shared
on the new active node.

I'm curious if any Nagios users are using clustered resources on the
Windows side and how you handle service failover of services that aren't
necessarily accessible by IP and port...

-- 


  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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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] RE [spam?] memory on windows

2009-05-18 Thread James Pratt
http://nagios.manubulon.com/



-Original Message-
From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] 
Sent: Monday, May 18, 2009 11:15 AM
To: frank.bourd...@dga.defense.gouv.fr
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] RE [spam?] memory on windows


maybe I was not clear enough
I need to use snmp


thanks

--- On Mon, 18/5/09, frank.bourd...@dga.defense.gouv.fr 
frank.bourd...@dga.defense.gouv.fr wrote:

 From: frank.bourd...@dga.defense.gouv.fr frank.bourd...@dga.defense.gouv.fr
 Subject: RE [spam?] [Nagios-users] memory on windows
 To: Melanie Pfefer melanie_pfe...@yahoo.co.uk
 Cc: nagios-users@lists.sourceforge.net
 Date: Monday, 18 May, 2009, 6:00 PM
 
 
 Hi Melanie,
 
 
 
 NSCLIENT++ is the Nagios
 client for
 Windows 2003, 2000, 2008. You can download it at
 http://nsclient++.org/nscp/.
 Follow the documentation on the web site. 
 
 
 
 [ENVOYE PAR INTERNET]
 
 
 
 
 
 frank.bourd...@dga.defense.gouv.fr
 
 
 
 
 
 
 
 
 Melanie
 Pfefer melanie_pfe...@yahoo.co.uk
 
 18/05/2009 16:51
 
 
 
 
 A
 nagiosplug-h...@lists.sourceforge.net
 
 
 cc
 nagios-users@lists.sourceforge.net
 
 
 Objet
 [spam?] [Nagios-users]
 memory on windows
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 hi
 
 
 
 I have a windows 2003 and want to monitor its memory usage
 
 
 
 can you please pass me the plugin that can notify me if
 memory usage reached
 X GB?
 
 
 
 thank you
 
 
 
 
 
       
 
 
 
 --
 
 Crystal Reports - New Free Runtime and 30 Day Trial
 
 Check out the new simplified licensing 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
 
 
 
 


  

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus

2009-05-18 Thread James Pratt
I absolutely agree with Frank - you can *really* mess up an RPM-based
distro by using CPAN if you are not VERY careful what you do, so do so
at your own risk! :\

(if you *must* use packages required by CPAN - instead, try and figure
out how to add 3rd party repos such as rpmforge etc, as there is almost
always an RPM pre-built by Dag Wiers or other package maintainers that
you can use and keep your system sane instead). 

Cheers,
Jamie

-Original Message-
From: frank [mailto:ra...@they.org] 
Sent: Monday, May 18, 2009 5:09 PM
To: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When
Running check_ifstatus

# yum install perl-Net-SNMP

CPAN can sometimes be useful, but if you're on an RPM system and there's
an RPM available for the perl package you want I would highly recommend
going the RPM route. It's too bad cpan isn't easier to turn into an rpm
(besides cpan2rpm which I often find to be less useful than it's name
would imply.)

-f

On Mon, 18 May 2009, Andrew Davis wrote:

 Date: Mon, 18 May 2009 16:14:50 -0400
 From: Andrew Davis ncc...@gmail.com
 To: Nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When
Running
 check_ifstatus


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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] 404 error

2009-05-15 Thread James Pratt


-Original Message-
From: Pete Forde [mailto:pete.fo...@aardman.com] 
Sent: Friday, May 15, 2009 5:58 AM
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] 404 error

Hi 

 

I am trying to test Nagios software, so thought I would install on my
laptop running Fedora 10.  All seems to install ok and runs without
errors, but when I try to access the web front end I get the  404 error,
nagios not found on this server.  Obviously it something to do with the
http.conf file.  Can anyone shed any light on this please

 

P
--

Hello - Please include the relevant portion of your apache's httpd.conf
that has to do with the nagios install, and perhaps we can help more.
Also, your version of nagios would be helpful. 

(Usually, you can examine the quickstart apache part of the
installation on Nagios.org, and adjust the httpd.conf section
accordingly to match your installation)

Regards,
jamie

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing 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] Upgrade from 1.3 version to 3+

2009-05-13 Thread James Pratt


-Original Message-
From: venu_vustipa...@readersdigest.com
[mailto:venu_vustipa...@readersdigest.com] 
Sent: Wednesday, May 13, 2009 4:33 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Upgrade from 1.3 version to 3+


Anyone please let me know what is the best way to proceed for a beginner
to upgrade Nagios 1.3 version on Linux to the 3+ 

Thanks, 
Venu

---


First, I'd rebuild a new linux server to run it on and get the latest
version running, even if it's only checking localhost and emailing me.

Examine very closely *all* old config files, figure out your old
installation and what checks will replace (if necessary) the older ones
from nagios-plugins standard programs, or if you  may need custom
plugins from nagiosexchange.org

Slowly rebuild the old configuration into the new, testing (and
improving/learning) as you go.

(that's just me though). ;)

Cheers,
jamie

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

2009-05-12 Thread James Pratt


-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



--
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] Required RPMs for Nagios 2.5

2009-05-11 Thread James Pratt


-Original Message-
From: Karen Tsai [mailto:hyt...@stanford.edu] 
Sent: Monday, May 11, 2009 6:05 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Required RPMs for Nagios 2.5

Hi,

We are running Nagios 2.5 on Linux x86. We would like to get a list 
of RPMs required for Nagios if there are any. We are trying to get 
this information in preparation for the Linux up2date patching, in 
order to evaluate if the up2date patching would possibly impact the 
Nagios. Does anyone know if there are any required RPMs?

Thanks,
Karen

---

Hi

Not knowing exactly what distribution you are talking about (I assume
RHEL3 or 4, since 4 is the last one to use up2date), you can likely run 

rpm -qa | grep nag |sort

to get a sorted list of the RPMS you currently have related to nagios
(not counting whatever custom stuff  you do?), and go from there. 

As it is (to the best of my knowledge?) you must add 3rd party repos to
RHEL5 to get the nagios RPMs, however it's been awhile so I  may be
wrong.

As always, update -u  of *all* packages could be problematic if it bombs
in the middle, (compared to yum anyhow), so I understand your
hesitation, but from my knowledge, I would think a  large up2date -u
would not impact your current nagios, if that is the kind of answer you
are looking for... (again, any dependencies would depend on your
checks/environment, as always)... 

Hth, Cheers

jamie

--
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] nagios to graph ethernet traffic.. can it ?

2009-04-28 Thread James Pratt
Hi Lance,

I could be wrong, but I think most use either nagiosgraph or pnp4nagios
http://www.pnp4nagios.org/pnp/start for graphing w/rrdtool... (I'm
getting there someday, cacti works for now, let us know how it goes
though!)

Cheers!
jamie

 -Original Message-
 From: lance raymond [mailto:lraym...@weatherflow.com]
 Sent: Tuesday, April 28, 2009 5:04 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] nagios to graph ethernet traffic.. can it ?
 
 
 ok, I now have (thanks to the group) my server up and currently just
 watching one box... many more to be added.  We also run cacti for
 ethernet traffic, etc. and wondering can this be done as well.
 
 I am looking on the nagios exchange site and don't see anything that
can
 take that type of data, then graph it.
 
 If it is possible, what requirements do I need (and should I have
 already).  I still need to install nagios graph and thought I would
just
 start with my 1st simple machine, then add some ethernet traffic
in/out
 to him and once he is checking everything I can simply add other
hosts...
 
 Thanks as always..
 
 


--
 
 Register Now  Save for Velocity, the Web Performance  Operations
 Conference from O'Reilly Media. Velocity features a full day of
 expert-led, hands-on workshops and two days of sessions from industry
 leaders in dedicated Performance  Operations tracks. Use code
vel09scf
 and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
 ___
 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

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
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] What are the reasons to use NRPE?

2009-04-27 Thread James Pratt


 -Original Message-
 From: Roy Sigurd Karlsbakk [mailto:r...@karlsbakk.net]
 Sent: Monday, April 27, 2009 10:03 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] What are the reasons to use NRPE?
 
 Hi all
 
 I just wonder what the reasons are to use NRPE in favour of checks
 over ssh with ssh keys. To me, NRPE seems just one more piece of
 software that may potentioally be broken and more hassle with
 firewalls. Why do people still use it when ssh checks are just as
 simple and (in my opinion) far more secure?
 
 Best regards
 
 roy
 --
 Roy Sigurd Karlsbakk
 (+47) 97542685 / 98013356
 r...@karlsbakk.net
 --


Hi there are many many, different reasons one may wish to utilize nrpe
over ssh - many sites do not even run ssh, or if they do, may not allow
privileges needed, or may not even allow Public key auth in their
configs. It really depends on the site. 



Thanks,
Jamie

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;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] Multiple host service detail on one page

2009-04-23 Thread James Pratt


 -Original Message-
 From: Kevin Keane [mailto:subscript...@kkeane.com]
 Sent: Thursday, April 23, 2009 1:23 PM
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Multiple host service detail on one page
 
 Klaus Umbach wrote:
  On 23/04/09 09:50, Nick Millen wrote:
 
  Hi All,
 
  I was wondering if anybody had anything place to see multiple hosts
  services on one page. For example I'm monitoring 3 individual
exchange
  servers. I can add these to a hostgroup then check each
individually :
 
  http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAMEstyle=detail
 
  http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME2style=detail
 
  http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME3style=detail
 
  Is there any way to have 3 different host details such as the above
but
  on one page ? So I can have a quick glance of exchange 1, 2 and 3
 
 
  yes, put them in a group :
 
  http://SERVER/nagios/cgi-
 bin/status.cgi?hostgroup=EXCHANGESERVERSstyle=detail
 
 I don't know about Nick's needs, but I would be interested in
something
 extremely similar. However, hostgroups wouldn't do it for me because I
 am not really interest in the host status, but rather would like to
see
 just one status per host. For instance, to borrow Nick's example:
 
 HOSTNAME1, HOSTNAME2 and HOSTNAME3 may each have services MEMORY, CPU,
 EXCHANGEQUEUELENGTH. What I would be interested in is a page that
shows
 only EXCHANGEQUEUELENGTH for all three hosts, omitting MEMORY and CPU.
 
 Is this possible?
 
 --
 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

How about servicegroups?

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#servicegro
up

hth,
jamie



--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;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] Monitor Postfix with Nagios 3

2009-04-22 Thread James Pratt
It appears there are more than one:

http://www.nagiosexchange.org/cgi-bin/search.cgi?query=postfixGo=Go

hth
jamie

 -Original Message-
 From: Kenneth Holter [mailto:kenneho@gmail.com]
 Sent: Wednesday, April 22, 2009 10:22 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Monitor Postfix with Nagios 3
 
 Hi.
 
 
 I'm using Postfix on a few of our RHEL 5 64-bit servers, and would
like to
 monitor that this process is running well. I'm using Nagios 3.
 
 What is the recommened way of monitoring Postfix?
 
 
 Regards,
 kenneho
 

--
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] Monitor Postfix with Nagios 3

2009-04-22 Thread James Pratt
Yes you are right things do not appear to work properly - I've cc'ed the
webmaster, not sure who else runs/maintains the site, so pls fwd as
necessary 

Thanks,
jamie 

 -Original Message-
 From: Kenneth Holter [mailto:kenneho@gmail.com]
 Sent: Wednesday, April 22, 2009 10:57 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Monitor Postfix with Nagios 3
 
 Thanks for you reply.
 
 When I click the links I get this message project_id is required!.
 What's that all about? I'm new to nagiosexchange...
 
 
 On 4/22/09, James Pratt jpr...@norwich.edu wrote:
 
   It appears there are more than one:
 

http://www.nagiosexchange.org/cgi-bin/search.cgi?query=postfixGo=Go
 
   hth
   jamie
 
-Original Message-
From: Kenneth Holter [mailto:kenneho@gmail.com]
Sent: Wednesday, April 22, 2009 10:22 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitor Postfix with Nagios 3
   
Hi.
   
   
I'm using Postfix on a few of our RHEL 5 64-bit servers, and
would
   like to
monitor that this process is running well. I'm using Nagios 3.
   
What is the recommened way of monitoring Postfix?
   
   
Regards,
kenneho
   
 
 


--
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] check_snmp_storage plugin - 126 return code

2009-04-20 Thread James Pratt


 -Original Message-
 From: lance raymond [mailto:lraym...@weatherflow.com]
 Sent: Monday, April 20, 2009 3:42 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] check_snmp_storage plugin - 126 return code
 
 Not sure what's wrong, seems simple enough.  I am using the following
as
 a guide on this plugin
 (http://nagios.manubulon.com/index_commands.html#storage)
  From the command line on the nagios server I can get it to work;
 
 perl check_snmp_storage.pl -H x.x.x.x -C community -m / -w 90 -c 95 -r
 /: 67%used(99233MB/147706MB) (90%) : OK
 
 
 I have the following 2 things setup.. in commands.cfg;
 define command{
command_name check_snmp_storage
command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -m
$ARG1$
 -w $ARG2$ -c $ARG3$ $ARG4$
 }
 
 
 And the server has the following;
 define service{
 use local-service
 host_name cs0
 service_description   Root / partition
 check_command   check_snmp_storage!/!90!95!-r
 }
 
 

Just a shot in the dark, but you are missing the -C community in your
command definition above in commands.cfg. Could that be your issue?

Also, try running the same check as the nagios user via :

su - nagios -c command to test here

and see if you get the same result/126 return code...

hth,

jamie

--
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] Fwd: Apache Server configuration for Nagios 3.0

2009-04-13 Thread James Pratt
Hi - sounds like your issue is that the generic make install in nagios
src tries to drop a file called nagios.conf into httpd's (usually the
default) location, /etc/httpd/conf.d/, which, appears does not exist on
your server...

If you can find what directory your apache uses for /etc/httpd/conf.d/
you can manually copy and paste whatever is in nagios.conf (the one
trying to be installed from nagios src dir) into your
/etc/httpd/conf/httpd.conf (You can likely disregard the
apache2.conf stuff - sounds like they used their own file naming, as
the default is normally httpd.conf)  - Apache itself is very flexible,
there are many ways to configure it - nagios simply guesses you are
using redhat, so it tries to drop it's httpd config into
/etc/httpd/conf.d)

HTH ... 

Regards,
jamie

 -Original Message-
 From: Jimmyboy [mailto:jimmyjose2...@gmail.com]
 Sent: Monday, April 13, 2009 2:25 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Fwd: Apache Server configuration for Nagios
3.0
 
 Hi,
 
 On reading https://help.ubuntu.com/8.10/serverguide/C/httpd.html, I
 understand that /etc/apache2/apache2.conf is the most important file.
 Though I have installed Apache in /etc/apache2 location, I do not have
 apache2.conf file as mentioned in the site.
 
 However, when I stop/start the Apache service using the command
 '/etc/apache2/bin/apachectl -k stop/start' respectively, and check
 http://127.0.0.1 http://127.0.0.1/  and ps -A | grep httpd, the
results
 are OK.
 
 Thanks,
 Jim
 
 =-=-=-=-=
 
 
 -- Forwarded message --
 From: Jimmyboy jimmyjose2...@gmail.com
 Date: Mon, Apr 13, 2009 at 11:49 PM
 Subject: Apache Server configuration for Nagios 3.0
 To: nagios-users@lists.sourceforge.net
 
 
 
 Hi All,
 
 I am following the Quickstart Guide for installing NAGIOS using
 http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html.
 
 One of the prerequisites is Apache2, which I installed, and was
successful
 in getting It Works!! for http://127.0.0.1 http://127.0.0.1/ .
 
 However, I am stuck at point 5) Configure the Web Interface, make
install-
 webconf.
 
 When this command is issued, this is what I get.
 /usr/bin/install -c -m 644 sample-config/httpd.conf
 /etc/httpd/conf.d/nagios.conf
 /usr/bin/install: cannot create regular file
 '/etc/httpd/conf.d/nagios.conf': No such file or directory
 make: *** [install-webconf] Error 1
 
 Prefix for Apache: /etc/apache2
 
 I believe the httpd.conf file and a few others also need to be edited
for
 Nagios. Can some please guide me through this?
 
 
 Thanks,
 Jim
 
 


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] upgrading nagios

2009-04-10 Thread James Pratt


 -Original Message-
 From: Anirudh Srinivasan [mailto:srianir...@gmail.com]
 Sent: Friday, April 10, 2009 3:16 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] upgrading nagios
 
 has anyone done upgrage from 2.x to 3.x
 the previous guy  who has installed 2.8 had specified different
 directories , instead of /usr/local/nagios. I almost figured it out
what
 the directories are.
 
 Now should i specify them in ./configure
 
 --bindir=/usr/bin
 --sbindir=/usr/lib/nagios/cgi
 --datadir=/usr/share/nagios
 --sysconfdir=/etc/nagios
 --localstatedir=/var/log/nagios
 
 What is --prefix will do, and is there any thing else that is left
over?
 Can any one guide me through proper direction
 
 
 --
 Anirudh Srinivasan
 


--prefix=/usr/local/nagios would install all files in:
/usr/local/nagios/ . (i.e /usr/local/nagios/bin ,/usr/local/nagios/etc
[]

In other words, it would put the whole nagios install under
/usr/local/nagios, the default location if you do not specify an
alternate prefix.

Personally, if I were you, I would _not_ rebuild it in a non-standard
way like you mention above unless you have very good reason to do so -
Yes, there may be more work involved, but the end result will be worth
it.

(The guy who takes over your job down the road will also be grateful,
and you won't have to hunt over the whole system to find the stuff you
need!)

Cheers,
Jamie

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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-04-09 Thread James Pratt


 -Original Message-
 From: Christopher McAtackney [mailto:crist...@gmail.com]
 Sent: Thursday, April 09, 2009 8:59 AM
 To: Nagios Users
 Subject: [Nagios-users] Centreon
 
 Hi all,
 
 Does anyone have any experience using Centreon?
http://www.centreon.com/
 
 It seems like a really nice front-end to Nagios, but I'd like to hear
 of other people's experiences using it before installing and setting
 it up.
 
 Cheers,
 Chris
 

Hi, if you search the archives, this was actually discussed fairly
recently:


http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24257.
html

 
regards,
jamie

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] NRPE_NT Checks on Mapped Network Drive

2009-04-09 Thread James Pratt


 -Original Message-
 From: Michael McCoy [mailto:mmc...@cedarville.edu]
 Sent: Thursday, April 09, 2009 12:21 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] NRPE_NT Checks on Mapped Network Drive
 
 For off let me say this is my first mailing list, so I'm new at this,
so
 please excuse any mailing list etiquette that I violate :-)
 
 I am attempting to monitor the file count of a directory on a remote
 Windows XP machine.  I have installed NRPE_NT on the remote box and
 check_nrpe on my Nagios machine.  The two are talking to one another
fine.
 The problem is that the directory that I need to monitor is on a
mapped
 network drives.  Here is the command I am running...
 
 command[directory_file_count]=c:\WINDOWS\system32\cscript.exe //NoLogo
 //T:30 c:\temp\nagioschecks\file_count.wsf g: \folder1\folder2\ 0 10
 
 Basically if run this command from the DOS command line on the XP
machine
 it works fine.  Once I try to run the command from check_nrpe on the
 Nagios host it gives me the following error...
 
 c:\temp\nagioschecks\file_count.wsf(123, 2) Microsoft VBScript runtime
 error: Path not found
 

Hello Michael - Just a quick stab in the dark here, but in your command
def above, you have a space character after your g: - is that correct,
or could it be causing your issue?

Also, are your drives mapped as persistent, as I'm not positive the user
running the script would see them either way if not logged on
interactively. 

Can you use UNC pathing instead? Ie \\machine\share$ ? That should work
if the user has rights, and you won't have to deal with the mapped drive
issue(s) .

HTH,

Regards,
jamie

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios with snmp

2009-03-24 Thread James Pratt


 -Original Message-
 From: Anirudh Srinivasan [mailto:srianir...@gmail.com]
 Sent: Tuesday, March 24, 2009 11:18 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Nagios with snmp
 
 Hey Folks,
 
 I want to test a Switch to be monitored using snmp plugin in nagios.
Right now i am
 just monitoring the ping but i need to find out , what other parameter
can be
 monitored on a switch using snmp. Also i have a windows server with
NC_net installed
 , and i need to test using check_nt as well as check_snmp plugin the
parameters . I
 am looking forward to some help with this. Can i get some link or some
tutorials to
 start up with this please .
 
 I have snmpd running on my linux , i need to know what changes i need
to make for
 my snmpd.conf file
 
 Thanks
 
 --
 Anirudh Srinivasan
 

There are generally two ways to utilize SNMP with nagios - either you
set up your nagios server to catch SNMP traps (the SNMP trapsink
server), 

http://www.nagios.org/faqs/viewfaq.php?faq_id=29
http://www.nagios.org/faqs/viewfaq.php?faq_id=28

or you poll the host/snmpd service for whatever info you like from the
client/nagios side using SNMP - Therefore, unless you are polling your
own server via nagios, tweaking/changing your local snmpd.conf will not
do much good...

Either way, check out http://manubulon.nagios.org - these will fill the
gaps in check_snmp, for either *nix or windows systems.

Another good starting point is :
http://conshell.net/wiki/index.php/Using_Nagios_with_SNMP

Regards,
jamie



--
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] ../include/config.h:315:18: error: ltdl.h: No suchfile or directory

2009-03-06 Thread James Pratt


 -Original Message-
 From: alexus [mailto:ale...@gmail.com]
 Sent: Friday, March 06, 2009 2:08 PM
 To: nagios-user Mailinglist
 Subject: [Nagios-users] ../include/config.h:315:18: error: ltdl.h: No
suchfile or
 directory
 
 r...@lama /usr/local/src/nagios-3.0.6 586$ ./configure
 LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
 checking for a BSD-compatible install... /usr/bin/install -c
 checking build system type... x86_64-unknown-freebsd7.1
 checking host system type... x86_64-unknown-freebsd7.1
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
a whole lot of worthless trash snipped

Err.. you can just send us the error instead of the whole configure
script output... 

 ... Google is your friend:

http://www.google.com/search?hl=enq=ltdl.h%3A+No+such+file+or+directory
+%22nagios%22btnG=Search


regards,
jamie

--
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 Plugin question

2009-03-06 Thread James Pratt


 -Original Message-
 From: syed jafar [mailto:syed_ja...@hotmail.com]
 Sent: Friday, March 06, 2009 2:16 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Nagios Plugin question
 
 I am installing Nagios 1.4.1  plugin on a Solaris 10 box and when I
run make or make
 all I this get error message. Any ideas
 
 Thanks,
 Syed Jafar
 
 # make
 


It appears you are missing mysql-devel pkg, or whatever it is named on
sunfreeware.com these days...


Regards,
Jamie

--
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] ESX server monitroing

2009-03-04 Thread James Pratt
 -Original Message-
 From: Satish Patel [mailto:sat...@linuxbug.org]
 Sent: Wednesday, March 04, 2009 8:02 PM
 To: nagios Users Mailinglist
 Subject: [Nagios-users] ESX server monitroing
 
 anyone using SNMP base ESX monitoring with nagios, i have tried few
plugins but i
 want advance one so i can fully monitor my ESX boxes.
 
 Thansk!
 satish

Hi - 

I found
http://www.op5.com/support/documentation/how-to/400-monitoring-vmware-es
x-3x-and-vmware-esxi to be very useful for our setup. 
 
The other good one I've found is
http://www.steveshipway.org/forum/viewforum.php?f=28sid=b46c3d67d13167c
7298c51bfaf32a7ab


Cheers,
jamie

--
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] E-mail notifications

2009-02-25 Thread James Pratt


 -Original Message-
 From: Hart, Harry M. CTR USJFCOM JTCI
[mailto:harry.hart@jfcom.mil]
 Sent: Wednesday, February 25, 2009 9:53 AM
 To: Nagios Users Mailinglist
 Subject: [Nagios-users] E-mail notifications
 
 Hello All,
 
 I have set up my server on Linux and now want to set up e-mail
notifications. When I
 enable sendmail I get hundreds of mails telling me about the same
problem. I have
 looked through the documentation and can't find where to set the
parameter
 correctly.
 
 Any help?
 
 Harry
 
 Harry M. Hart Systems integrator
 SAIC
 USJFCOM JIOC DCGS-A
 (757) 203-7422
 DSN 668-7422
 harry.h...@intel.jwfc.jfcom.smil.mil
 harry.h...@jwfc.ic.gov


Hello Harry - take a look at notification_interval setting in either
your host, or the service definition - this is how many minutes between
notifications/emails.

Hth,

Regards,
jamie


--
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] 1st post to the group, basic q ... I think

2009-02-24 Thread James Pratt


 -Original Message-
 From: Lance Raymond [mailto:lraym...@weatherflow.com]
 Sent: Tuesday, February 24, 2009 4:41 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] 1st post to the group, basic q ... I think
 
 ok, I am closer, but still unclear on the check_command and the define
service part (I
 will try to read more 2nt) but I can run in manually as nagios from
the cli;
 
 ./check_snmp_load.pl -H 1.1.1.1 -C community -w 3,3,2 -c 4,4,3 -T
netsl Load : 4.37
 4.27 4.20 : 4.37  4 : CRITICAL 4.27  4 : CRITICAL 4.20  3 :
CRITICAL
 
 so that works.  Now in the command.cfg I have the following;
 
 define command{
command_name check_snmp_load_v1
command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T
 $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ -C community }
 
 and the server.cfg I have;
 
 define service{
 use local-service ; Name
of service$
 host_name   bigbird
 service_description Current Load via SNMP
 check_command
check_snmp_load_v1!netsl!3,3,2!4,4,3
  }
 
 I have played numerous times, that is the latest, I am trying to
understand where the
 $ARG variables are defined (and how).  I assume the $HOSTADDRESS is
just by the
 server.cfg file, but not sure on $USER7$ as well as push the other
$ARG$ one's,
 becuase as you see from the cli hand entering the info it works!
 

Yes, $HOSTADDRESS$ that is used by commands.cfg is defined in the
service definition as 'host_name' 

$ARG1$, $ARG2$, etc are just that - in your definition above, $ARG1$ =
netsl , $ARG2$ = 3,3,2 $ARG3$ = 4,4,3 (and so on)..

(Not sure why you cannot execute it via nagios but can do so by hand -
try running it as the nagios user using su - nagios -c command here

Hth..

Regards,
Jamie

--
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] NRPE

2009-02-20 Thread James Pratt


 -Original Message-
 From: Martyn [mailto:mar...@chetnet.co.uk]
 Sent: Friday, February 20, 2009 12:41 PM
 To: 'Nagios Users'
 Subject: [Nagios-users] NRPE
 
 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


If you plan to call any of the check_* commands in
/usr/local/nagios/libexec on the remote box, yes you will need
nagios-plugins and nrpe on the remote box...

Cheers,
Jamie

--
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] ESXi Check

2009-02-17 Thread James Pratt


 -Original Message-
 From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
 Sent: Tuesday, February 17, 2009 3:29 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] ESXi Check
 
 I am trying to implement the check_esx_wbem.py from nagiosexchange and
 from the cli I get a response so its setup correctly but my
implementation
 in Nagios seems to be not working as it returns null.
 
 In resource.cfg I have:
 $USER13$=/usr/lib/nagios/plugins/contrib
 $USER14$=username
 $USER15$=password
 
 In commands.cfg I have:
 define command{
 command_namecheck-esxi-host
 command_line$USER13$/check_esx_wbem.py
http://$HOSTADDRESS$:5989
 $USER14$ $USER15$
 }
 
 In my template I have:
 define service{
 use generic-service
 host_name   host.example.com
 service_description ESXi Health
 check_command   check-esxi-host
 }
 
 Any ideas what could be wrong?
 Thanks!
 jl

Hi Joseph -

Check that nagios user can execute it at the command line like this:

su - nagios -c /full/path/to/check_command -and -parms -go -here

if it returns nothing, check the perms on the check_esx_wbem.py file ,
if they are 755 or better, I would look at why nagios can't run
python(?)... 


regards,
Jamie

--
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] CPU Critical

2009-02-12 Thread James Pratt


 -Original Message-
 From: Martyn [mailto:mar...@chetnet.co.uk]
 Sent: Thursday, February 12, 2009 7:55 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] CPU Critical
 
 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


Hello Martyn,

You would really have to monitor *all* possible processes to do what you
speak of (AFAIK). I would pick the ones that are the most likely to go
awry, and focus on monitors for them.

You can always write bat files to check for process (or lack of one) via
nrpe - the nrpe_nt windows stuff had some good examples last time I
checked - they are not that complicated and quite flexible, you just
have to ensure you send nrpe_nt the proper exit code based on the
problem/symptom... (This is assuming you meant processes, and not
processors , as that would be hardware).. ;)

Cheers,
Jamie

--
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] Centreon

2009-02-06 Thread James Pratt

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Friday, February 06, 2009 11: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 
---


I installed it and had it working a year or so ago - I found it to be
quite invasive and it changed/messed up my cfg's as well, and then was
a total nightmare to uninstall... I had to do a find / | grep centreon
and then piped it out to xargs rm -rf  so it would delete everything
with centreon in it found... 

(Maybe it's better now, but it doesn't sound it!)...  :|

Cheers 
jamie

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


  1   2   >