Re: [Nagios-users] mibs HP LaserJet

2006-02-23 Thread Subhendu Ghosh

On Thu, 23 Feb 2006, Richard Gliebe wrote:


Hi,

I want to monitor the Toner capacity (% of Life Remaining) from our HP
LaserJet 4100 Series, like the Webinterface show me.

Is there a mib available.
I can't any on mibdepot.com / hp.com

thanks
Richard




standard mib - PRINT-MIB


--



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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] Important Message from the Accredo Health Email Gateway

2006-02-23 Thread Ethan Galstad
On 23 Feb 2006 at 23:41, Hugo van der Kooij wrote:

> On Thu, 23 Feb 2006 [EMAIL PROTECTED] wrote:
> 
> > In order to protect our employees, patients, partners and computer
> > systems, Accredo Health, Inc. places restrictions on email passing
> > between our network and the Internet.
> 
> Listmaster: Please remove this person from the mailinglist.
> 
[snip]

Done.


Ethan Galstad,
Nagios Developer
---
Email: [EMAIL PROTECTED]
Website: http://www.nagios.org



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Important Message from the Accredo Health Email Gateway

2006-02-23 Thread thomas . edwards
In order to protect our employees, patients, partners and computer
systems, Accredo Health, Inc. places restrictions on email passing
between our network and the Internet.

In compliance with that policy, a message addressed to you has been
automatically blocked by the gateway due to decomposition errors.

The message details are as follows:

   From: "Mrutyunjaya Dash" <[EMAIL PROTECTED]>
 To: <[EMAIL PROTECTED]>
Subject: Re: [Nagios-users] Monitoring solaris server without installing
any plugin
   Date: 02/23/06, 15:46:55

The message is currently being held in a quarantine area, and may be
released for delivery provided there is a legitimate business need. In
order to ensure that the message is appropriate for delivery, the Email
Gateway admin staff will need to open and manually inspect the message
and any associated attachments.

To request that the message be released, please reply to this message,
include this notice, and explain why you need the email to be released
to you.

Please send any questions or comments to
[EMAIL PROTECTED]

---
Message ID: 6FE0F2CD25C13475-01
---



RE: [Nagios-users] nagios not notifying by email

2006-02-23 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Dave Stern
> Sent: Thursday, February 23, 2006 9:49 AM
> To: Mrutyunjaya Dash
> Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] nagios not notifying by email
> 

[chop]

> 
> I just tried disabling all state_retention (was previously on) and
bounced
> nagios and finally got a message.   so perhaps state retention was set
> incorrectly. What I'd like to do is have it retain state when I bounce

The 'Retention Notes' at
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html will provide
insight into how retention works.

> nagios st I don't get msgs about those I know are down on restart.
Here's
> what I have:
> 
> nagios.cfg:
> log_initial_states=0
> retain_state_information=0
> state_retention_file=/usr/local/stow/nagios/var/status.sav
> use_retained_program_state=0
> 
> host.cfg:
>  retain_status_information   0
>  retain_nonstatus_information0
> 
> services.cfg:
>   retain_status_information   0
>   retain_nonstatus_information0

We use --

nagios.cfg -
retain_state_information=1
use_retained_program_state=0
state_retention_file=/usr/local/nagios/var/status.sav

host template -

retain_status_information   1
retain_nonstatus_information1

service template -

retain_status_information   1
retain_nonstatus_information1

Notifications are not sent out on restart.

--
Marc



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
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] Status Information: was not set

2006-02-23 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Rusty Hall
> Sent: Thursday, February 23, 2006 2:47 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Status Information: was not set
> 
> I have nagios installed on a new server running fedora core 2 with
> nagios 2.0 installed.  I have run into an issue I cant figure out in
> regards to the host status. some hosts on the same network segemnt
show up
> and others show down due to the following info, and the longer this
server
> runs  the more hosts that change to the errored state
> 
> host status information shows:  was not set
> 
> I use the check-host-alive  for all servers  half show  up  others
show
> down w ith the error  was not set
> 
> Host Status: DOWN
> Status Information:was not set

I'll bet if you view source of the page you'll see more information --

plugins/check_ping.c:   printf (_(" was not set\n"));
plugins/check_ping.c:   printf (_(" was not set\n"));
plugins/check_ping.c:   printf (_(" was not set\n"));
plugins/check_ping.c:   printf (_(" was not set\n"));

One of the above is not set in your command definition for the affected
hosts.

--
Marc


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
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 + solaris problems

2006-02-23 Thread Tom Healy
Nope, they match.On Feb 23, 2006, at 12:20 PM, Toto Capuccino wrote:my 2 cents: check that the IP of the host in hosts.cfg is the good one.2006/2/23, Tom Healy <[EMAIL PROTECTED]>: I can't seem to get nrpe to work correctly, the web interface reportsconnection refused, but if I run it via the command line it getsresults.  Example below:On remote solaris 9 box:# ./nrpe -n -c nrpe.cfg   -d# ps -ef|grep nrp   nagios  1125 1  0 11:51:51 ?0:00 ./nrpe -n -c nrpe.cfg -d# ./check_nrpe -n -H 127.0.0.1 -c check_usersUSERS OK - 26 users currently logged in |users=26;75;100;0 On nagios server (solaris 9) as user nagios:---# ./check_nrpe -n -H xxx.foobar.com -c check_usersUSERS OK - 26 users currently logged in |users=26;75;100;0 On same nagios server, but the web interface:-check_users.process CRITICAL02-23-2006 11:52:31  0d 0h 59m1s   3/3 Connection refused by host Config entry for this host:---define service{ host_name   xxx.foobar.com service_description check_users.process  check_command   check_nrpe!check_users max_check_attempts3 normal_check_interval 5 retry_check_interval  1 check_period  24x7 notification_interval 5  notification_period   24x7 notification_options  c,r contact_groupshealy}Check commands entry for the server:-# Check NRPE Daemon define command{ command_namecheck_nrpe command_line/usr/local/nagios/libexec/check_nrpe -H$HOSTADDRESS$ -c $ARG1$ }nrpe 2.4 compiled from source, both boxes solaris 9.  Running nagios Nagios 2.0b4 (upgrading soon).  Is this a bug in the 2.0b4 branch oram I just being dense & missing something obvious?-Tom

[Nagios-users] Status Information: was not set

2006-02-23 Thread Rusty Hall




    I have 
nagios installed on a new server running fedora core 2 with nagios 2.0 
installed.  I have run into an issue I cant figure out in regards to the 
host status. some hosts on the same network segemnt show up and others show down 
due to the following info, and the longer this 
server runs  the more hosts that change to the errored 
state
 
host status information 
shows:  was not set 
 
I use the 
check-host-alive  for all servers  half show  up  others 
show down w ith the error  was not set
 


  
  
Host Status:

    DOWN
  
Status Information:
was not set
  
Performance Data:

  
Current Attempt:
1/5
  
State Type:
HARD
  
Last Check Type:
ACTIVE
  
Last Check Time:
02-22-2006 10:39:42
  
Status Data Age:
0d 0h 3m 9s
  
Next Scheduled Active 
  Check:  
N/A
  
Latency:
0.000 seconds
  
Check Duration:
0.021 seconds
  
Last State Change:
02-18-2006 23:26:10
  
Current State Duration:
3d 11h 16m 41s
  
Last Host Notification:
N/A
  
Current Notification 
  Number:  
0  
  
Is This Host Flapping?
N/A
  
Percent State Change:
N/A
  
In Scheduled Downtime?

    NO  
  
Last Update:
02-22-2006 
10:42:37
 
nagios log shows the 
following:
 
[1140622370] INITIAL 
SERVICE STATE: servera;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.24 
ms[1140622370] INITIAL SERVICE STATE: serverb;PING;OK;HARD;1;PING OK - 
Packet loss = 0%, RTA = 0.23 ms[1140622370] INITIAL SERVICE STATE: 
serverc;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.21 ms[1140622370] 
INITIAL SERVICE STATE: serverd;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 
0.24 ms[1140622370] INITIAL SERVICE STATE: serverf;PING;OK;HARD;1;PING OK - 
Packet loss = 0%, RTA = 0.24 ms
 
 
 
 


Re: [Nagios-users] nrpe + solaris problems

2006-02-23 Thread Toto Capuccino
my 2 cents: check that the IP of the host in hosts.cfg is the good one.2006/2/23, Tom Healy <[EMAIL PROTECTED]>:
I can't seem to get nrpe to work correctly, the web interface reportsconnection refused, but if I run it via the command line it getsresults.  Example below:On remote solaris 9 box:# ./nrpe -n -c nrpe.cfg
  -d# ps -ef|grep nrp   nagios  1125 1  0 11:51:51 ?0:00 ./nrpe -n -c nrpe.cfg -d# ./check_nrpe -n -H 127.0.0.1 -c check_usersUSERS OK - 26 users currently logged in |users=26;75;100;0
On nagios server (solaris 9) as user nagios:---# ./check_nrpe -n -H xxx.foobar.com -c check_usersUSERS OK - 26 users currently logged in |users=26;75;100;0
On same nagios server, but the web interface:-check_users.process CRITICAL02-23-2006 11:52:31  0d 0h 59m1s   3/3 Connection refused by host
Config entry for this host:---define service{ host_name   xxx.foobar.com service_description check_users.process
 check_command   check_nrpe!check_users max_check_attempts3 normal_check_interval 5 retry_check_interval  1 check_period  24x7 notification_interval 5
 notification_period   24x7 notification_options  c,r contact_groupshealy}Check commands entry for the server:-# Check NRPE Daemon
define command{ command_namecheck_nrpe command_line/usr/local/nagios/libexec/check_nrpe -H$HOSTADDRESS$ -c $ARG1$ }nrpe 2.4 compiled from source, both boxes solaris 9.  Running nagios
Nagios 2.0b4 (upgrading soon).  Is this a bug in the 2.0b4 branch oram I just being dense & missing something obvious?-Tom---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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-- 
Le bon sens est la chose du monde la mieux partagée.


[Nagios-users] nrpe + solaris problems

2006-02-23 Thread Tom Healy
I can't seem to get nrpe to work correctly, the web interface reports  
connection refused, but if I run it via the command line it gets  
results.  Example below:



On remote solaris 9 box:
# ./nrpe -n -c nrpe.cfg  -d

# ps -ef|grep nrp
  nagios  1125 1  0 11:51:51 ?0:00 ./nrpe -n -c nrpe.cfg -d

# ./check_nrpe -n -H 127.0.0.1 -c check_users
USERS OK - 26 users currently logged in |users=26;75;100;0


On nagios server (solaris 9) as user nagios:
---
# ./check_nrpe -n -H xxx.foobar.com -c check_users
USERS OK - 26 users currently logged in |users=26;75;100;0


On same nagios server, but the web interface:
-
check_users.process CRITICAL02-23-2006 11:52:31  0d 0h 59m  
1s   3/3 Connection refused by host




Config entry for this host:
---

define service{
host_name   xxx.foobar.com
service_description check_users.process
check_command   check_nrpe!check_users
max_check_attempts3
normal_check_interval 5
retry_check_interval  1
check_period  24x7
notification_interval 5
notification_period   24x7
notification_options  c,r
contact_groupshealy
}


Check commands entry for the server:
-
# Check NRPE Daemon
define command{
command_namecheck_nrpe
command_line/usr/local/nagios/libexec/check_nrpe -H  
$HOSTADDRESS$ -c $ARG1$

}


nrpe 2.4 compiled from source, both boxes solaris 9.  Running nagios  
Nagios 2.0b4 (upgrading soon).  Is this a bug in the 2.0b4 branch or  
am I just being dense & missing something obvious?


-Tom




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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 solaris server without installing any plugin

2006-02-23 Thread Aaron Carr
Have you considered check_by_ssh?

IMO, far easier to configure, and just as effective.

Aaron

On 2/23/06, Luc I. Suryo <[EMAIL PROTECTED]> wrote:
>
>
> > Hi i have a similar problem where no matter how i try and compile on
> > either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,
> > openssl etc etc), i just cannot get NRPE ssl handshakes to work via
> > inetd... I've tried everything, and triple-checked everything countless
> > times, but always get the "Failed to complete ssl handshake" message..
> >
> > Can anyone give me any insight, or has seen this issue before? ...I
> > would use snmp instead, but i'm pretty clueless on snmp and it's not set
> > up in nagios (yet), and i have no clue what mibs or whatever i would
> > need etc... Any help/pointers there are appreciated as well on the snmp
> > stuff - i see there are countless ways to do snmp on nagios.org - what
> > works best for most out there etc?
> >
> I have mine work just fine, sparc 8, 9 & 10. But I do use an older
> version of nrpe
>
> ./check_nrpe_ssl  -h
>
> NRPE Plugin for Nagios
> Copyright (c) 1999-2003 Ethan Galstad ([EMAIL PROTECTED])
> Version: 2.0
> Last Modified: 09-08-2003
> License: GPL with exemptions (-l for more info)
> SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
>
>
> The thing is to generate your own cert. unless you want to use the one
> that came with teh sources..
>
> my inetd.conf (i have ssl nrpe and none ssl nrpe configured)
> if you have tcp-wrapper remember to configure hosts.allow
>
> # Nagios agent
> nrpestream  tcp nowait  sys /usr/sbin/tcpd /usr/local/sbin/nrpe 
> -i -c /usr/local/etc/nagios/nrpe.cfg
> snrpe   stream  tcp nowait  sys /usr/sbin/tcpd 
> /usr/local/sbin/nrpe_ssl -i -c /usr/local/etc/nagios/nrpe.cfg
>
> 5711 = none ssl
> 5712 = ssl
>
> ./check_nrpe_ssl -H localhost -p 5711 -c check_root_disk
> CHECK_NRPE: Socket timeout after 10 seconds.
>
> now to the ssl port
>
>  ./check_nrpe_ssl -H localhost -p 5712 -c check_root_disk
> DISK OK [3945564 kB (65%) free on /]
>
>
> as you can see it works...
>
> I can sent you th ebinary if you want to but it does depends on the
> correct openssl libraries!
>
>
> hope this may help a bit :)
>
> -ls
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> 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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
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 solaris server without installing any plugin

2006-02-23 Thread Luc I. Suryo


> Hi i have a similar problem where no matter how i try and compile on
> either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,
> openssl etc etc), i just cannot get NRPE ssl handshakes to work via
> inetd... I've tried everything, and triple-checked everything countless
> times, but always get the "Failed to complete ssl handshake" message..
> 
> Can anyone give me any insight, or has seen this issue before? ...I
> would use snmp instead, but i'm pretty clueless on snmp and it's not set
> up in nagios (yet), and i have no clue what mibs or whatever i would
> need etc... Any help/pointers there are appreciated as well on the snmp
> stuff - i see there are countless ways to do snmp on nagios.org - what
> works best for most out there etc?
> 
I have mine work just fine, sparc 8, 9 & 10. But I do use an older
version of nrpe 

./check_nrpe_ssl  -h

NRPE Plugin for Nagios
Copyright (c) 1999-2003 Ethan Galstad ([EMAIL PROTECTED])
Version: 2.0
Last Modified: 09-08-2003
License: GPL with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required


The thing is to generate your own cert. unless you want to use the one
that came with teh sources..

my inetd.conf (i have ssl nrpe and none ssl nrpe configured)
if you have tcp-wrapper remember to configure hosts.allow

# Nagios agent
nrpestream  tcp nowait  sys /usr/sbin/tcpd /usr/local/sbin/nrpe -i 
-c /usr/local/etc/nagios/nrpe.cfg
snrpe   stream  tcp nowait  sys /usr/sbin/tcpd /usr/local/sbin/nrpe_ssl 
-i -c /usr/local/etc/nagios/nrpe.cfg

5711 = none ssl
5712 = ssl

./check_nrpe_ssl -H localhost -p 5711 -c check_root_disk 
CHECK_NRPE: Socket timeout after 10 seconds.

now to the ssl port

 ./check_nrpe_ssl -H localhost -p 5712 -c check_root_disk 
DISK OK [3945564 kB (65%) free on /]


as you can see it works...

I can sent you th ebinary if you want to but it does depends on the
correct openssl libraries!


hope this may help a bit :)

-ls


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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 solaris server without installing any plugin

2006-02-23 Thread Mrutyunjaya Dash
Hi All,

I was having same problem, I just compiled with-ssl on the both nagios and 
monitered host and removed the entry -n option for the check_nrpe command from 
checkcommands.cfg file. Might be this is what happening with your end. Check if 
this would help you.

Regards,
Dash
--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: James E. Pratt <[EMAIL PROTECTED]>
CC: nagios-users@lists.sourceforge.net 
Sent: Thu Feb 23 08:40:25 2006
Subject: Re: [Nagios-users] Monitoring solaris server without installing any 
plugin

Same problem here, i just compiled with --without-ssl i belive and run it 
unencrypted over our management network.

Ben


On 2/23/06, James E. Pratt <[EMAIL PROTECTED]> wrote:

Hi i have a similar problem where no matter how i try and compile on 
either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,
openssl etc etc), i just cannot get NRPE ssl handshakes to work via
inetd... I've tried everything, and triple-checked everything countless
times, but always get the "Failed to complete ssl handshake" message..

Can anyone give me any insight, or has seen this issue before? ...I
would use snmp instead, but i'm pretty clueless on snmp and it's not 
set 
up in nagios (yet), and i have no clue what mibs or whatever i would
need etc... Any help/pointers there are appreciated as well on the snmp
stuff - i see there are countless ways to do snmp on nagios.org 
  - what
works best for most out there etc?

thanks,
Jamie



-Original Message-
From: [EMAIL PROTECTED]  
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Hajime Lanning
Sent: Thursday, February 23, 2006 11:12 AM
To: nagios-users@lists.sourceforge.net 
 
Subject: Re: [Nagios-users] Monitoring solaris server without installing
any plugin



> Hi List,
>
> I want to monitor few of the Solaris machines, but those all are 
> production servers and they don't have any compiler installed on it.
> Is there any way to monitor the services without installing any
> software on the machine? If any of you have come across of the same 
> kind of situation and found the solution for this, then please provide

> the information regarding this?

If you just have an issue with using a compiling environment, you can
install openssl and net-snmp packages from http://www.sunfreeware.com/.

We do system health monitoring and checking for processes via SNMP
polls.  You get raw data from SNMP and have all the plugin logic running
on the Nagios server.

--
And, did Guloka think the Ulus were too ugly to save?
 -Centauri



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding 
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___ 
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 xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory! 
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
___ 
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





-- 
"A Scientist will earn a living by taking a really difficult problem and spends 
many years solv

Re: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James E. Pratt wrote:
> Hi i have a similar problem where no matter how i try and compile on
> either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,
> openssl etc etc), i just cannot get NRPE ssl handshakes to work via
> inetd... I've tried everything, and triple-checked everything countless
> times, but always get the "Failed to complete ssl handshake" message..
> 
> Can anyone give me any insight, or has seen this issue before?


I've seen this in a couple of different cases:

1)  trust relationship between the nagios user on the monitoring
host and the monitored host is not set up.

To do this you need to generate a pair of ssh keys.  I always (and I
forget why) generate both a dsa key and an rsa key.  To do this is
pretty simple:
a) log in as the user nagios on your monitoring host.
b) run ssh-keygen -t rsa  ;  and answer the questions/prompts accordingly.
c) run ssh-keygen -t dsa ;   and do the same as (b)
d) cd ~/.ssh
e) cat *.pub > exported-keys.txt
f) scp exported-keys.txt [EMAIL PROTECTED]:
  (note the trailing colon (:) above)
g) log on as nagios on the monitored host.
f) cat exported-keys.txt >> .ssh/authorized_keys
g) cat exported-keys.txt >> .ssh/authorized_keys2


Now, having said all that one of the shortcuts I have on some of my
systems is authorized_keys and authorized_keys2 are the same file with
one of them being a sym-link to the other.

2) no SSH on the monitored host at all

Well.. put it there and and then follow the steps above.

3) nrpe is not being started from inetd (xinetd) AND is not
running as a daemon.

Then you need to either configure inetd (xinted) accordingly or enable
nrpe to be started up from init during system reboot. (or start it
manually... whatever floats your boat.)

Clear as mud?



- --

Peter L. Berghold [EMAIL PROTECTED]
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawgYahoo IM: blue_cowdawg  ICQ: 11455958
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFD/eWPUM9/01RIhaARAvMzAJ9m01XznSLrU8ZLoEXsZxcKGrAm0gCfch6J
hlNIo7ZI9dw6usurIkonkJA=
=dEf8
-END PGP SIGNATURE-
begin:vcard
fn:Peter  L. Berghold
n:Berghold;Peter 
org:IBM;GSD
email;internet:[EMAIL PROTECTED]
title:Unix Specialist
x-mozilla-html:FALSE
url:http://www.berghold.net
version:2.1
end:vcard



Re: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Ben O'Hara
Same problem here, i just compiled with --without-ssl i belive and run it unencrypted over our management network.BenOn 2/23/06, James E. Pratt
 <[EMAIL PROTECTED]> wrote:Hi i have a similar problem where no matter how i try and compile on
either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,openssl etc etc), i just cannot get NRPE ssl handshakes to work viainetd... I've tried everything, and triple-checked everything countless
times, but always get the "Failed to complete ssl handshake" message..Can anyone give me any insight, or has seen this issue before? ...Iwould use snmp instead, but i'm pretty clueless on snmp and it's not set
up in nagios (yet), and i have no clue what mibs or whatever i wouldneed etc... Any help/pointers there are appreciated as well on the snmpstuff - i see there are countless ways to do snmp on 
nagios.org - whatworks best for most out there etc?thanks,Jamie-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of RobertHajime LanningSent: Thursday, February 23, 2006 11:12 AMTo: 
nagios-users@lists.sourceforge.netSubject: Re: [Nagios-users] Monitoring solaris server without installingany plugin> Hi List,>> I want to monitor few of the Solaris machines, but those all are
> production servers and they don't have any compiler installed on it.> Is there any way to monitor the services without installing any> software on the machine? If any of you have come across of the same
> kind of situation and found the solution for this, then please provide> the information regarding this?If you just have an issue with using a compiling environment, you caninstall openssl and net-snmp packages from 
http://www.sunfreeware.com/.We do system health monitoring and checking for processes via SNMPpolls.  You get raw data from SNMP and have all the plugin logic running
on the Nagios server.--And, did Guloka think the Ulus were too ugly to save? -Centauri---This 
SF.Net email is sponsored by xPML, a groundbreaking scriptinglanguagethat extends applications into web and mobile media. Attend the livewebcastand join the prime developer group breaking into this new coding
territory!http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS whenreporting any issue.::: Messages without supporting info will risk being sent to /dev/null---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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-- 
"A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them"


AW: AW: [Nagios-users] Monitoring solaris server without installi ng any plugin

2006-02-23 Thread Thomas . Zimmer
A possible check_by_ssh command:

define command {
command_name   check_by_ssh
command_line   $USER4$/check_by_ssh -H
$HOSTADDRESS$ -t 300 -4 -C "./plugins/$ARG1$ $ARG2$"
}

Where the $ARG1$ is the path+name of the plugin to use on the remote
machine, and $ARG2$ is used to defin all parameters and their values like
this:

define service {
host_name  
service_descriptionPROCS-bla
check_command  check_by_ssh!check_procs!-w
1:1 -c 1:1 -C /opt/dir/process
 -a proc_args
usePROCS-TEMPLATE
check_period   24x7
notification_period24x7
notification_options   w,u,c
notifications_enabled  1
contact_groups masters_of_the_universe
}

Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main
Telefon: +49 69 7134 5192
Internet: http://www.oppenheim.de
E-Mail: [EMAIL PROTECTED]



-Ursprüngliche Nachricht-
Von: Mrutyunjaya Dash [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 23. Februar 2006 16:09
An: [EMAIL PROTECTED]; Zimmer, Thomas (BB) Frankfurt/M.
Cc: nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


Hi Joseph,

Thank you very much. As far as the check_by_ssh is concerned how can I use
this. Do I need create any configuration file in the nagios server for
check_cy_ssh to work? And for ssh authentication how can the nagios server
communicate with remote host? If you can point me to some information for
utilizing check_by_ssh command.

Regards,
Dash
--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
CC: nagios-users@lists.sourceforge.net ;
[EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Sent: Thu Feb 23 06:28:50 2006
Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


I will post them tonight. I am at a client where I cannot connect to my
server so I cannot get them until tonight. Look at the check_by_ssh plugin
it is also a way to do this 

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443




[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:56 AM 

To
nagios-users@lists.sourceforge.net 
cc

Subject
AW: [Nagios-users] Monitoring solaris server without installing
any plugin






Hi Joseph, 
  
would you share these plugins? 
  
Greetz, Thomas. 

Thomas Zimmer 
Produktservice & Betrieb 
Betrieb & Support 
Sal. Oppenheim jr. & Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de   
E-Mail: [EMAIL PROTECTED] 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Februar 2006 14:24
An: Mrutyunjaya Dash
Cc: nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: [Nagios-users] Monitoring solaris server without installing any
plugin


I wrote a lot of my plugins to run commands through an RSA ssh connection
from my Nagios machine to other machines. This way there is no code on the
monitored machine. 
Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443



"Mrutyunjaya Dash" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:18 AM 

To
 
cc

Subject
[Nagios-users] Monitoring solaris server without installing  any
plugin








Hi List, 

I want to monitor few of the Solaris machines, but those all are production
servers and they don't have any compiler installed on it. Is there any way
to monitor the services without installing any software on the machine? If
any of you have come across of the same kind of situation and found the
solution for this, then please provide the information regarding this. 

Regards, 

Mrutyunjaya Dash 

IT Engineer 

Juniper Networks Pvt Ltd. 

Bangalore 
ForwardSourceID:NTC1E6 
ForwardSourceID:NTC232 




Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


RE: [Nagios-users] Check_http with size and regex conditions ignoring size check.

2006-02-23 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Andrew Laden
> Sent: Thursday, February 23, 2006 9:40 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Check_http with size and regex conditions
ignoring
> size check.
> 
> I want to check a web page, and check both for a regex and for a
minimum
> size.
> 
> However, it appears that the regex requirement overides the size. Eg.
> (names changes to protect the innocent)
> check_http (nagios-plugins 1.4.1) 1.81
> 
> [EMAIL PROTECTED]> check_http -H servername -p 8080 -u "uri" -r "REGEX
CHECK"  -
> m 60:100
> HTTP OK HTTP/1.1 200 OK - 0.420 second response time
> |time=0.419695s;;;0.00 size=2405B;60;0;0
> 
> [EMAIL PROTECTED]> check_http -H servername -p 8080 -u "uri"  -m 60:100
> HTTP WARNING: page size 2405 too large|size=2405B;60;0;0
> 
> Is this a bug in check_http?

Technically no it's not a bug, the command line arguments are not
compatible. Looking around line 1030 and forward of check_http.c, the
regex tests and size tests are not progressive. The order (from there
forward) is header checks, regex checks then size checks. Each will exit
the program based on *success* or failure of the check. I would call it
a feature request to have checks be progressive. On success, continue to
the next test...  You might want to bounce this over to the
nagiosplug-devel list for their consideration.

--
Marc


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
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 solaris server without installing any plugin

2006-02-23 Thread James E. Pratt
Hi i have a similar problem where no matter how i try and compile on
either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,
openssl etc etc), i just cannot get NRPE ssl handshakes to work via
inetd... I've tried everything, and triple-checked everything countless
times, but always get the "Failed to complete ssl handshake" message..

Can anyone give me any insight, or has seen this issue before? ...I
would use snmp instead, but i'm pretty clueless on snmp and it's not set
up in nagios (yet), and i have no clue what mibs or whatever i would
need etc... Any help/pointers there are appreciated as well on the snmp
stuff - i see there are countless ways to do snmp on nagios.org - what
works best for most out there etc?

thanks,
Jamie 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Hajime Lanning
Sent: Thursday, February 23, 2006 11:12 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring solaris server without installing
any plugin



> Hi List,
>
> I want to monitor few of the Solaris machines, but those all are 
> production servers and they don't have any compiler installed on it. 
> Is there any way to monitor the services without installing any 
> software on the machine? If any of you have come across of the same 
> kind of situation and found the solution for this, then please provide

> the information regarding this?

If you just have an issue with using a compiling environment, you can
install openssl and net-snmp packages from http://www.sunfreeware.com/.

We do system health monitoring and checking for processes via SNMP
polls.  You get raw data from SNMP and have all the plugin logic running
on the Nagios server.

--
And, did Guloka think the Ulus were too ugly to save?
 -Centauri



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
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 solaris server without installing any plugin

2006-02-23 Thread Robert Hajime Lanning


> Hi List,
>
> I want to monitor few of the Solaris machines, but those all are
> production servers and they don't have any compiler installed on
> it. Is there any way to monitor the services without installing
> any software on the machine? If any of you have come across of
> the same kind of situation and found the solution for this, then
> please provide the information regarding this?

If you just have an issue with using a compiling environment,
you can install openssl and net-snmp packages from
http://www.sunfreeware.com/.

We do system health monitoring and checking for processes via SNMP
polls.  You get raw data from SNMP and have all the plugin logic
running on the Nagios server.

-- 
And, did Guloka think the Ulus were too ugly to save?
 -Centauri



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Cecil Williams/STS/AUTOZONE is out of the office.

2006-02-23 Thread cecil . williams

I will be out of the office starting  02/23/2006 and will not return until
03/06/2006.

Please send all requests/problems to IT AIX SUPPORT via lotus notes.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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 not notifying by email

2006-02-23 Thread Dave Stern

On Thu, 23 Feb 2006, Mrutyunjaya Dash wrote:


Hi,

You can check you services.cfg file to verify you have notifications_options to 
w c u r. This might be one of the reason if you had copied services.cfg file 
from the sample config file.



services.cfg has notification options currently set to w,u,c. I added 
"recover".


One hint, on the webpage for a host availability, it says in the upper
left corner "Notifications are disabled"

This is in contrast to the fact that 
enable_notifications=1

is set in nagios.cfg
(and cgi.cfg says main_config_file=/some/path/nagios.cfg)

I just tried disabling all state_retention (was previously on) and bounced
nagios and finally got a message.   so perhaps state retention was set
incorrectly. What I'd like to do is have it retain state when I bounce
nagios st I don't get msgs about those I know are down on restart. Here's
what I have:

nagios.cfg:
log_initial_states=0
retain_state_information=0
state_retention_file=/usr/local/stow/nagios/var/status.sav
use_retained_program_state=0

host.cfg:
retain_status_information   0
retain_nonstatus_information0

services.cfg:
 retain_status_information   0
 retain_nonstatus_information0

 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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


AW: AW: [Nagios-users] Monitoring solaris server without installi ng any plugin

2006-02-23 Thread Thomas . Zimmer
Hi Dash, you still need plugins on your solaris machines even if you use the
check_by_ssh cmd. A sample check_command should be included within the
sample-config. You simply execute a plugin remotely with check_by_ssh. The
option -C "..." is used to pass the command and options for the plugin. But
you can use all shell-script-plugins and perl-plugins, uf a perl-interpreter
is installed on your production machines.
For generating a private/public key pair for authentication without typing a
password, there exist a lot of howtos on the internet.
I hope that helps.
Ah, generally i think it´s no good idea to execute commands via ssh. I
didn´t do any real performance checks on this, but i expect executing a
check via ssh utilizes the cpu and network a lot more than using nrpe or
nsca. Perhaps someone can give a more exact statement in this issue?
However, my system is running about 100 checks via ssh in very short
intervals without abnormal CPU- or network-utilization.
If you like to, I could try to send a package of my compiled plugins for a
solaris 9 system, but I may have probs to pass the firewall...

Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main
Telefon: +49 69 7134 5192
Internet: http://www.oppenheim.de
E-Mail: [EMAIL PROTECTED]



-Ursprüngliche Nachricht-
Von: Mrutyunjaya Dash [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 23. Februar 2006 16:09
An: [EMAIL PROTECTED]; Zimmer, Thomas (BB) Frankfurt/M.
Cc: nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


Hi Joseph,

Thank you very much. As far as the check_by_ssh is concerned how can I use
this. Do I need create any configuration file in the nagios server for
check_cy_ssh to work? And for ssh authentication how can the nagios server
communicate with remote host? If you can point me to some information for
utilizing check_by_ssh command.

Regards,
Dash
--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
CC: nagios-users@lists.sourceforge.net ;
[EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Sent: Thu Feb 23 06:28:50 2006
Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


I will post them tonight. I am at a client where I cannot connect to my
server so I cannot get them until tonight. Look at the check_by_ssh plugin
it is also a way to do this 

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443




[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:56 AM 

To
nagios-users@lists.sourceforge.net 
cc

Subject
AW: [Nagios-users] Monitoring solaris server without installing
any plugin






Hi Joseph, 
  
would you share these plugins? 
  
Greetz, Thomas. 

Thomas Zimmer 
Produktservice & Betrieb 
Betrieb & Support 
Sal. Oppenheim jr. & Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de   
E-Mail: [EMAIL PROTECTED] 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Februar 2006 14:24
An: Mrutyunjaya Dash
Cc: nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: [Nagios-users] Monitoring solaris server without installing any
plugin


I wrote a lot of my plugins to run commands through an RSA ssh connection
from my Nagios machine to other machines. This way there is no code on the
monitored machine. 
Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443



"Mrutyunjaya Dash" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:18 AM 

To
 
cc

Subject
[Nagios-users] Monitoring solaris server without installing  any
plugin








Hi List, 

I want to monitor few of the Solaris machines, but those all are production
servers and they don't have any compiler installed on it. Is there any way
to monitor the services without installing any software on the machine? If
any of you have come across of the same kind of situation and found the
solution for this, then please provide the information regarding this. 

Regards, 

Mrutyunjaya Dash 

IT Engineer 

Juniper Networks Pvt Ltd. 

Bangalore 
ForwardSourceID:NTC1E6 
ForwardSourceID:NTC232 




Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


[Nagios-users] Check_http with size and regex conditions ignoring size check.

2006-02-23 Thread Andrew Laden
Title: Check_http with size and regex conditions ignoring size check.





I want to check a web page, and check both for a regex and for a minimum size.


However, it appears that the regex requirement overides the size. Eg. (names changes to protect the innocent)
check_http (nagios-plugins 1.4.1) 1.81


[EMAIL PROTECTED]> check_http -H servername -p 8080 -u "uri" -r "REGEX CHECK"  -m 60:100
HTTP OK HTTP/1.1 200 OK - 0.420 second response time |time=0.419695s;;;0.00 size=2405B;60;0;0


[EMAIL PROTECTED]> check_http -H servername -p 8080 -u "uri"  -m 60:100
HTTP WARNING: page size 2405 too large|size=2405B;60;0;0


Is this a bug in check_http?


-Andrew





[Nagios-users] Important Message from the Accredo Health Email Gateway

2006-02-23 Thread thomas . edwards
In order to protect our employees, patients, partners and computer
systems, Accredo Health, Inc. places restrictions on email passing
between our network and the Internet.

In compliance with that policy, a message addressed to you has been
automatically blocked by the gateway due to decomposition errors.

The message details are as follows:

   From: "Mrutyunjaya Dash" <[EMAIL PROTECTED]>
 To: <[EMAIL PROTECTED]>
Subject: Re: AW: [Nagios-users] Monitoring solaris server without
installing any plugin
   Date: 02/23/06, 09:10:18

The message is currently being held in a quarantine area, and may be
released for delivery provided there is a legitimate business need. In
order to ensure that the message is appropriate for delivery, the Email
Gateway admin staff will need to open and manually inspect the message
and any associated attachments.

To request that the message be released, please reply to this message,
include this notice, and explain why you need the email to be released
to you.

Please send any questions or comments to
[EMAIL PROTECTED]

---
Message ID: 6FE30FD922W5646877-01
---



Re: AW: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Mrutyunjaya Dash
Hi Joseph,

Thank you very much. As far as the check_by_ssh is concerned how can I use 
this. Do I need create any configuration file in the nagios server for 
check_cy_ssh to work? And for ssh authentication how can the nagios server 
communicate with remote host?
If you can point me to some information for utilizing check_by_ssh command.

Regards,
Dash
--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
CC: nagios-users@lists.sourceforge.net ; 
[EMAIL PROTECTED] <[EMAIL PROTECTED]>
Sent: Thu Feb 23 06:28:50 2006
Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


I will post them tonight. I am at a client where I cannot connect to my server 
so I cannot get them until tonight. Look at the check_by_ssh plugin it is also 
a way to do this 

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443




[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:56 AM 

To
nagios-users@lists.sourceforge.net 
cc

Subject
AW: [Nagios-users] Monitoring solaris server without installing 
 any plugin






Hi Joseph, 
  
would you share these plugins? 
  
Greetz, Thomas. 

Thomas Zimmer 
Produktservice & Betrieb 
Betrieb & Support 
Sal. Oppenheim jr. & Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de   
E-Mail: [EMAIL PROTECTED] 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL 
PROTECTED]
Gesendet: Donnerstag, 23. Februar 2006 14:24
An: Mrutyunjaya Dash
Cc: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]
Betreff: Re: [Nagios-users] Monitoring solaris server without installing any 
plugin


I wrote a lot of my plugins to run commands through an RSA ssh connection from 
my Nagios machine to other machines. This way there is no code on the monitored 
machine. 
Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443



"Mrutyunjaya Dash" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:18 AM 

To
 
cc

Subject
[Nagios-users] Monitoring solaris server without installing  any
 plugin








Hi List, 

I want to monitor few of the Solaris machines, but those all are production 
servers and they don't have any compiler installed on it. Is there any way to 
monitor the services without installing any software on the machine? If any of 
you have come across of the same kind of situation and found the solution for 
this, then please provide the information regarding this. 

Regards, 

Mrutyunjaya Dash 

IT Engineer 

Juniper Networks Pvt Ltd. 

Bangalore 
ForwardSourceID:NTC1E6 
ForwardSourceID:NTC232 



[Nagios-users] Important Message from the Accredo Health Email Gateway

2006-02-23 Thread thomas . edwards
In order to protect our employees, patients, partners and computer
systems, Accredo Health, Inc. places restrictions on email passing
between our network and the Internet.

In compliance with that policy, a message addressed to you has been
automatically blocked by the gateway due to decomposition errors.

The message details are as follows:

   From: "Mrutyunjaya Dash" <[EMAIL PROTECTED]>
 To: <[EMAIL PROTECTED]>
Subject: Re: [Nagios-users] nagios not notifying by email
   Date: 02/23/06, 08:59:36

The message is currently being held in a quarantine area, and may be
released for delivery provided there is a legitimate business need. In
order to ensure that the message is appropriate for delivery, the Email
Gateway admin staff will need to open and manually inspect the message
and any associated attachments.

To request that the message be released, please reply to this message,
include this notice, and explain why you need the email to be released
to you.

Please send any questions or comments to
[EMAIL PROTECTED]

---
Message ID: 6FE3120822W5640897-01
---



Re: [Nagios-users] nagios not notifying by email

2006-02-23 Thread Mrutyunjaya Dash
Hi,

You can check you services.cfg file to verify you have notifications_options to 
w c u r. This might be one of the reason if you had copied services.cfg file 
from the sample config file.

Regards,
Dash

--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: nagios-users@lists.sourceforge.net 
Sent: Thu Feb 23 06:27:03 2006
Subject: Re: [Nagios-users] nagios not notifying by email


Hi,

Did you check the timeperiods.cfg file as you are using workhours notification 
for services, you wont receive notification out of this period.

2006/2/23, Dave Stern < [EMAIL PROTECTED]  >:

Continuing with the problem of nagios not sending email notifications, 

miscommands.cfg uses the default commands for 
host/service-notify-by-email
and the paths to mail are correct. I tested the command, and it works.
I replaced it with echo ... params>>/tmp/somefile but this is not being 
activated so it must be one of the config params:

contacts.cfg:
# 'others' contact definition
define contact{
 contact_nameothers
 alias   Undefined hosts 
 service_notification_period workhours
 host_notification_periodworkhours
 service_notification_optionsw,u,c
 host_notification_options   d,u
 service_notification_commands   notify-by-email 
 host_notification_commands  host-notify-by-email
 email   [EMAIL PROTECTED]

 }
..
hosts.cfg :
# Generic host definition template
 define host{
 namegeneric-host
 notifications_enabled   1
 event_handler_enabled   1
 flap_detection_enabled  1
 process_perf_data   1 
 retain_status_information   1
 retain_nonstatus_information1
 register0
 }

# 'host1' host definition
define host{
 use generic-host 
 host_name   host1
 alias   host1
 address  10.8.122.129
 check_command   check-host-alive 
 max_check_attempts  10
 notification_interval   1
 notification_period 24x7
 notification_period 24x7
 notification_optionsd,u 
 }
...

nagios.cfg includes
log_notifications=1
notification_timeout=30
enable_notifications=1


services.cfg:
# Generic service definition template
define service{
 namegeneric-service
 active_checks_enabled   1
 passive_checks_enabled  1
 parallelize_check   1
 obsess_over_service 1
 check_freshness 1 
 notifications_enabled   1
 event_handler_enabled   1
 flap_detection_enabled  1
 process_perf_data   1
 retain_status_information   1
 retain_nonstatus_information1 
 register0
 }

# Service definition
define service{
   use generic-service
   host_name   host1
   service_description AVAILABLE 
   is_volatile 0
   check_period24x7
   max_check_attempts  3
   normal_check_interval   10
   retry_check_interval1
   contact_groups   others 
   notification_interval   11
   notification_period 24x7
   notification_optionsw,u,c
  check_command   check-host-alive
   }


Can anyone see where notification by email may have been turned off 
or have any other ideas on diagnosing?
TIA


  =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
  David SternUniversity of Maryland
Institute for Advanced Computer Studies 


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that exte

Re: [Nagios-users] nagios not notifying by email

2006-02-23 Thread Dave Stern

On Thu, 23 Feb 2006, Toto Capuccino wrote:


Hi,

Did you check the timeperiods.cfg file as you are using workhours
notification for services, you wont receive notification out of this period.
2006/2/23, Dave Stern <[EMAIL PROTECTED]>:


I didn't include timeperiods.cfg because this was the generic one. 
We're using workhours and 24x7 for all hosts.
Basically, notification_period is 24x7 for all, 
{service|host_notification_period} is either 24x7 or workhours.

I presume it's not a problem if a host is set to notification_period=work
in contacts but 24x7 in hosts.cfg and services.cfg

 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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


AW: AW: [Nagios-users] Monitoring solaris server without installi ng any plugin

2006-02-23 Thread Thomas . Zimmer
Title: Nachricht



A yes 
sir, I know, but i didn´t want to script all your plugins by myself ;) I wrote 
some for solaris, too. But mostly they´re specialized logfile check, or as bad 
documented, that I think it would not be a good idea to share them. I even did 
not follow the specifications for the output strings
Perhaps yours specification-conform and well 
structured?
Gree3tz, Thomas.
P.S.: 
Perhaps it would be a good idea to share them at NAgios 
Exchange?
Thomas Zimmer 
Produktservice & 
Betrieb Betrieb & 
Support Sal. Oppenheim 
jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de 
E-Mail: 
[EMAIL PROTECTED] 

  
  -Ursprüngliche Nachricht-Von: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Gesendet: Donnerstag, 23. Februar 2006 15:29An: Zimmer, 
  Thomas (BB) Frankfurt/M.Cc: nagios-users@lists.sourceforge.net; 
  [EMAIL PROTECTED]Betreff: Re: AW: 
  [Nagios-users] Monitoring solaris server without installing any 
  pluginI will post them 
  tonight. I am at a client where I cannot connect to my server so I cannot get 
  them until tonight. Look at the check_by_ssh plugin it is also a way to do 
  this Joe Petrucci Office: 
  704-383-6089Cell : 724-462-0443
  


  [EMAIL PROTECTED] Sent by: 
[EMAIL PROTECTED] 
02/23/2006 08:56 AM 
  

  
  

  To
nagios-users@lists.sourceforge.net 
  

  cc

  

  Subject
AW: [Nagios-users] 
  Monitoring solaris server without installing       
     any plugin

  
  

Hi Joseph,   would you share these plugins?   Greetz, 
  Thomas. 
  Thomas Zimmer 
  Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., 
  Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: [EMAIL PROTECTED] 
  
  -Ursprüngliche Nachricht-Von: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  [EMAIL PROTECTED]Gesendet: Donnerstag, 23. Februar 
  2006 14:24An: Mrutyunjaya DashCc: 
  nagios-users@lists.sourceforge.net; 
  [EMAIL PROTECTED]Betreff: Re: [Nagios-users] 
  Monitoring solaris server without installing any pluginI wrote a lot of my plugins to run commands through 
  an RSA ssh connection from my Nagios machine to other machines. This way there 
  is no code on the monitored machine. Joe Petrucci Office: 704-383-6089Cell : 
  724-462-0443
  


  "Mrutyunjaya Dash" 
<[EMAIL PROTECTED]> Sent by: 
[EMAIL PROTECTED] 
02/23/2006 08:18 AM 

  

  
  

  To
 
  

  cc

  

  Subject
[Nagios-users] 
  Monitoring solaris server without installing  any   
        plugin

  
  

Hi List, 
  I want to monitor few of the 
  Solaris machines, but those all are production 
  servers and they don't have any compiler installed on it. 
  Is there any way 
  to monitor the services 
  without installing any software on the 
  machine? If any of you have come across of the same kind of situation 
  and found the solution for 
  this, then please provide the information regarding this. 
  
  Regards, 
  Mrutyunjaya Dash 

  IT Engineer 
  Juniper Networks Pvt Ltd. 
  
  Bangalore ForwardSourceID:NTC1E6   
    ForwardSourceID:NTC232     



Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


Re: [Nagios-users] mibs HP LaserJet

2006-02-23 Thread Bill Jacqmein
Richard,    Search the following page for 4100..http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=hp&id=92832    Turned up the mpf version which hopefully will be software similar to the 4100.  
http://www.mibdepot.com/cgi-bin/getmib3.cgi?i=1&n=LJ4100mfp-MIB&r=hp&f=lj4100mfp_beta.mib&v=v1&t=tree#consumable-statusGroup    Should give a information on how much capacity is left to the toner cartridge 
http://www.mibdepot.com/cgi-bin/getmib3.cgi?i=1&n=LJ4100mfp-MIB&r=hp&f=lj4100mfp_beta.mib&v=v1&t=sca&o=consumable-status-usage-count
    OID - 1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.10.1.1.18.0 <- from aboveHope it is helps, BillOn 2/23/06, Richard Gliebe
 <[EMAIL PROTECTED]> wrote:Hi,
I want to monitor the Toner capacity (% of Life Remaining) from our HPLaserJet 4100 Series, like the Webinterface show me.Is there a mib available.I can't any on mibdepot.com
 / hp.comthanksRichard--Richard GliebeFachhochschule Vorarlberg GmbH / University for Applied ScienceInformation Services---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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: AW: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread joseph . petrucci

I will post them tonight. I am at a
client where I cannot connect to my server so I cannot get them until tonight.
Look at the check_by_ssh plugin it is also a way to do this

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443






[EMAIL PROTECTED]

Sent by: [EMAIL PROTECTED]
02/23/2006 08:56 AM





To
nagios-users@lists.sourceforge.net


cc



Subject
AW: [Nagios-users] Monitoring
solaris server without installing          any
plugin








Hi Joseph,
 
would you share these plugins?
 
Greetz, Thomas.
Thomas Zimmer 
Produktservice & Betrieb 
Betrieb & Support 
Sal. Oppenheim jr. & Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de

E-Mail: [EMAIL PROTECTED] 
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Im Auftrag von [EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Februar 2006 14:24
An: Mrutyunjaya Dash
Cc: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]
Betreff: Re: [Nagios-users] Monitoring solaris server without installing
any plugin


I wrote a lot of my plugins to run commands through an RSA ssh connection
from my Nagios machine to other machines. This way there is no code on
the monitored machine. 
Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443





"Mrutyunjaya Dash"
<[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 
02/23/2006 08:18 AM






To




cc



Subject
[Nagios-users] Monitoring
solaris server without installing  any        
plugin










Hi List, 
I want to monitor few of the
Solaris machines, but those all are production
servers and they don't have any compiler installed on it.
Is there any way
to monitor the services
without installing any software on the
machine? If any of you have come across of the same kind of situation and
found the solution for this, then please
provide the information regarding this. 
Regards, 
Mrutyunjaya Dash

IT Engineer 
Juniper Networks Pvt Ltd.

Bangalore 
ForwardSourceID:NTC1E6     
ForwardSourceID:NTC232
   


Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


Re: [Nagios-users] nagios not notifying by email

2006-02-23 Thread Dave Stern

On Thu, 23 Feb 2006, jeff vier wrote:


Did you test it as the nagios user?



yup


 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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 not notifying by email

2006-02-23 Thread Toto Capuccino
Hi,Did you check the timeperiods.cfg file as you are using workhours notification for services, you wont receive notification out of this period.2006/2/23, Dave Stern <
[EMAIL PROTECTED]>:Continuing with the problem of nagios not sending email notifications,
miscommands.cfg uses the default commands for host/service-notify-by-emailand the paths to mail are correct. I tested the command, and it works.I replaced it with echo ... params>>/tmp/somefile but this is not being
activated so it must be one of the config params:contacts.cfg:# 'others' contact definitiondefine contact{ contact_nameothers alias   Undefined hosts
 service_notification_period workhours host_notification_periodworkhours service_notification_optionsw,u,c host_notification_options   d,u service_notification_commands   notify-by-email
 host_notification_commands  host-notify-by-email email   [EMAIL PROTECTED] }..hosts.cfg
:# Generic host definition template define host{ namegeneric-host notifications_enabled   1 event_handler_enabled   1 flap_detection_enabled  1 process_perf_data   1
 retain_status_information   1 retain_nonstatus_information1 register0 }# 'host1' host definitiondefine host{ use generic-host
 host_name   host1 alias   host1 address  10.8.122.129 check_command   check-host-alive
 max_check_attempts  10 notification_interval   1 notification_period 24x7 notification_period 24x7 notification_optionsd,u
 }...nagios.cfg includeslog_notifications=1notification_timeout=30enable_notifications=1services.cfg:# Generic service definition templatedefine service{
 namegeneric-service active_checks_enabled   1 passive_checks_enabled  1 parallelize_check   1 obsess_over_service 1 check_freshness 1
 notifications_enabled   1 event_handler_enabled   1 flap_detection_enabled  1 process_perf_data   1 retain_status_information   1 retain_nonstatus_information1
 register0 }# Service definitiondefine service{   use generic-service   host_name   host1   service_description AVAILABLE
   is_volatile 0   check_period24x7   max_check_attempts  3   normal_check_interval   10   retry_check_interval1   contact_groups   others
   notification_interval   11   notification_period 24x7   notification_optionsw,u,c  check_command   check-host-alive   }Can anyone see where notification by email may have been turned off
or have any other ideas on diagnosing?TIA  =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=  David SternUniversity of MarylandInstitute for Advanced Computer Studies
---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___Nagios-users mailing listNagios-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
-- Le bon sens est la chose du monde la mieux partagée.


Re: [Nagios-users] nagios not notifying by email

2006-02-23 Thread Dave Stern

Continuing with the problem of nagios not sending email notifications,

miscommands.cfg uses the default commands for host/service-notify-by-email
and the paths to mail are correct. I tested the command, and it works. 
I replaced it with echo ... params>>/tmp/somefile but this is not being

activated so it must be one of the config params:

contacts.cfg:
# 'others' contact definition
define contact{
contact_nameothers
alias   Undefined hosts
service_notification_period workhours
host_notification_periodworkhours
service_notification_optionsw,u,c
host_notification_options   d,u
service_notification_commands   notify-by-email
host_notification_commands  host-notify-by-email
email   [EMAIL PROTECTED]

}
..
hosts.cfg:
# Generic host definition template
define host{
namegeneric-host
notifications_enabled   1
event_handler_enabled   1
flap_detection_enabled  1
process_perf_data   1
retain_status_information   1
retain_nonstatus_information1
register0
}

# 'host1' host definition
define host{
use generic-host
host_name   host1
alias   host1
address  10.8.122.129
check_command   check-host-alive
max_check_attempts  10
notification_interval   1
notification_period 24x7
notification_period 24x7
notification_optionsd,u
}
...

nagios.cfg includes
log_notifications=1
notification_timeout=30
enable_notifications=1


services.cfg:
# Generic service definition template
define service{
namegeneric-service
active_checks_enabled   1
passive_checks_enabled  1
parallelize_check   1
obsess_over_service 1
check_freshness 1
notifications_enabled   1
event_handler_enabled   1
flap_detection_enabled  1
process_perf_data   1
retain_status_information   1
retain_nonstatus_information1
register0
}

# Service definition
define service{
  use generic-service
  host_name   host1
  service_description AVAILABLE
  is_volatile 0
  check_period24x7
  max_check_attempts  3
  normal_check_interval   10
  retry_check_interval1
  contact_groups   others
  notification_interval   11
  notification_period 24x7
  notification_optionsw,u,c
 check_command   check-host-alive
  }


Can anyone see where notification by email may have been turned off
or have any other ideas on diagnosing?
TIA


 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] mibs HP LaserJet

2006-02-23 Thread Richard Gliebe
Hi,

I want to monitor the Toner capacity (% of Life Remaining) from our HP
LaserJet 4100 Series, like the Webinterface show me.

Is there a mib available. 
I can't any on mibdepot.com / hp.com

thanks
Richard

-- 
Richard Gliebe
Fachhochschule Vorarlberg GmbH / University for Applied Science
Information Services



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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


AW: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Thomas . Zimmer
Title: Nachricht



Hi 
Joseph,
 
would 
you share these plugins?
 
Greetz, Thomas.
Thomas Zimmer 
Produktservice & 
Betrieb Betrieb & 
Support Sal. Oppenheim 
jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de 
E-Mail: 
[EMAIL PROTECTED] 

  
  -Ursprüngliche Nachricht-Von: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  [EMAIL PROTECTED]Gesendet: Donnerstag, 23. Februar 
  2006 14:24An: Mrutyunjaya DashCc: 
  nagios-users@lists.sourceforge.net; 
  [EMAIL PROTECTED]Betreff: Re: [Nagios-users] 
  Monitoring solaris server without installing any 
  pluginI wrote a lot of 
  my plugins to run commands through an RSA ssh connection from my Nagios 
  machine to other machines. This way there is no code on the monitored 
  machine. Joe Petrucci Office: 
  704-383-6089Cell : 724-462-0443
  


  "Mrutyunjaya Dash" 
<[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 
02/23/2006 08:18 AM 
  

  
  

  To
 
  

  cc

  

  Subject
[Nagios-users] 
  Monitoring solaris server without installing  any   
        plugin

  
  

Hi List, 
  I want to monitor few of the 
  Solaris machines, but those all are production 
  servers and they don't have any compiler installed on it. 
  Is there any way 
  to monitor the services 
  without installing any software on the 
  machine? If any of you have come across of the same kind of situation 
  and found the solution for 
  this, then please provide the information regarding this. 
  Regards, 
  Mrutyunjaya Dash 
  IT Engineer 
  Juniper Networks Pvt Ltd. 
  Bangalore ForwardSourceID:NTC1E6     



Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


Re: [Nagios-users] Plotter and Printer

2006-02-23 Thread Richard Gliebe
On Thu, 2006-02-23 at 14:44 +0100, Elpida Georgiadou wrote:
> Hello,

Hi,

> where can i find Plugins to monitor Plotter and Printers?

I'm using check_snmp.

Regards
Richard




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Plotter and Printer

2006-02-23 Thread Elpida Georgiadou

Hello,

where can i find Plugins to monitor Plotter and Printers?

Thanks
Elpida


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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 solaris server without installing any plugin

2006-02-23 Thread Chris Wilson
Hi Mrutyunjaya,

> I want to monitor few of the Solaris machines, but those all are
> production servers and they don’t have any compiler installed on it.
> Is there any way to monitor the services without installing any
> software on the machine? If any of you have come across of the same
> kind of situation and found the solution for this, then please provide
> the information regarding this.

You can also monitor any public service on the machine without
installing any software, using plugins running on the Nagios server.

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer ([EMAIL PROTECTED])



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
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 solaris server without installing any plugin

2006-02-23 Thread joseph . petrucci

I wrote a lot of my plugins to run commands
through an RSA ssh connection from my Nagios machine to other machines.
This way there is no code on the monitored machine.
Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443






"Mrutyunjaya Dash"
<[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
02/23/2006 08:18 AM





To



cc



Subject
[Nagios-users] Monitoring
solaris server without installing  any        
plugin








Hi List,
I want to monitor few of the
Solaris machines, but those all are production
servers and they don’t have any compiler installed on it.
Is there any way
to monitor the services
without installing any software on the
machine? If any of you have come across of the same kind of situation and
found the solution for this, then please
provide the information regarding this.
Regards,
Mrutyunjaya Dash
IT Engineer
Juniper Networks Pvt Ltd.
Bangalore
ForwardSourceID:NTC1E6
   


[Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Mrutyunjaya Dash
Title: Monitoring solaris server without installing  any plugin






Hi List,

I want to monitor few of the Solaris machines, but those all are production servers and they don’t have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this.

Regards,

Mrutyunjaya Dash

IT Engineer

Juniper Networks Pvt Ltd.

Bangalore






Re: [Nagios-users] CGI Authorization - HTTP Server authentication

2006-02-23 Thread Morten Bekkelund
did you read:
http://nagios.sourceforge.net/docs/2_0/cgiauth.html 
?


On Wed, 2006-02-22 at 16:26 -0500, Juan Mera wrote:
> Good afternoon,
> 
> I newer with nagios.
> I install with minimal config and it's working.
> I have problem with authentication. 
> At Service Detail Option appear this message:
> 
> 
> It appears as though you do not have permission to view information for
> any of the services you requested...
> 
> If you believe this is an error, check the HTTP server authentication
> requirements for accessing this CGI
> and check the authorization options in your CGI configuration file.
> 
> My cgi.cfg 
> use_authentication=1
> 
> Wich parameters into cgi.cfg or Wich cfg files must be revise?
> Can you helpme with some simple example to HTTP server authentication?
> 
> 
> 
> ---
> Gracias por su ayuda,
> Saludos
> Juan L. Mera
> Investigacion y Desarrollo
> Quito-Ecuador
> 
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> ___
> 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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] checklog.pl notifications get sent despite 'enable_notifications = 0'

2006-02-23 Thread tomvo
Hi,

We've noticed several times that notifications from matched entries in 
logfiles (via checklog.pl) are being sent hours / days after they were 
written in the logfiles, and sometimes even in a time window when we had 
disabled notifications.

example:


at 21/2/06, 22:00h, i stop nagios, change nagios.cfg with 
'enable_notifications = 0', and restart nagios
at 21/2/06, 23:00h entries are written in a monitored logfile that match 
one of our checks
at 22/2/06, 01:00h we change enable_notifications = 1 and restart nagios.

and then, surprise, at 23/2/06 07:50h we get notifications not only for 
entries that occurred between 21/2/06 22:00h and 22/2/06, 01:00h, but also 
for an event that occurred at 22/2/06, 06:30h

nagios is 2.0b2

the checklog.pl version is: checklog.pl (nagios-plugins 1.4.0alpha1) 1.1 
on solaris9 sparc.

this is the definition of the check:

define service{
use generic-service ; Name of 
service template to use
host_name   jescal
service_description chk-msg-Cluster.RG_OFFLINE
max_check_attempts  1
contact_groups  solaris-admins
notification_optionsw,u,c
check_command 
check_nrpe!check_logpl!/var/adm/messages!/var/tmp/message.Cluster!"RG_OFFLINE"
}


define service{
namegeneric-service ; The 'name' of 
this service template, referenced in other service def
active_checks_enabled   1   ; Active service checks 
are enabled
passive_checks_enabled  1   ; Passive service checks 
are enabled/accepted
parallelize_check   1   ; Active service checks 
should be parallelized (disabling this can lead to maj
obsess_over_service 1   ; We should obsess over 
this service (if necessary)
check_freshness 0   ; Default is to NOT check 
service 'freshness'
notifications_enabled   1   ; Service notifications 
are enabled
event_handler_enabled   1   ; Service event handler is 
enabled
flap_detection_enabled  1   ; Flap detection is 
enabled
process_perf_data   1   ; Process performance data
retain_status_information   1   ; Retain status 
information across program restarts
retain_nonstatus_information1   ; Retain non-status 
information across program restarts
is_volatile 0
check_period24x7
max_check_attempts  3
normal_check_interval   5
retry_check_interval1
notification_interval   0
notification_period 24x7
notification_optionsw,u,c,r

register0   ; DONT REGISTER THIS 
DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
}

any ideas ?

tom.





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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 solaris

2006-02-23 Thread Greg Cope
On Wed, 2006-02-22 at 12:10 -0800, Guy B. Purcell wrote:
> On Feb 22, 2006, at 07:11, Greg Cope wrote:
> 
> > Has anyone got any recommendations for packages choices for solaris
> > (2.6, 8 and 9).
> >
> > I need to use packages as most/none of these hosts do not have a
> > complier suite.
> 
> Certainly you must have hosts in some development environment running  
> those OS versions with compilers on them.  You can't seriously be  
> running hosts in production you can't build software for.

These are not my hosts, but some do not have all the tools required or
the right versions.

I was hopeing to leverage some packages to save the hassel of installing
what is required on old solaris 2.6 hosts that have system disks which
are very, very small!

> If you truly can't compile anything for those systems, I'll see if I  
> can release my packages.

That might be very handy.

Greg


> -Guy
> 
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> ___
> 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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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_http - user+password - string required

2006-02-23 Thread Tom Brown



The URL you're checking is returning a 302 REDIRECT. There is no HTML to
look at. You'll probably want to add '--onredirect=follow' and either a
-s, -R or -e string check based on your needs.


ah ha! thanks - it was the --onredirect=follow that i was missing



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
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