Re: [Nagios-users] Monitoring a HP-UX system

2009-04-29 Thread Palle L Jensen
Thanks everyone, the check_ssh plugin worked great!

Thanks,
PJ

> -Original Message-
> From: Palle L Jensen [mailto:pall...@gmail.com]
> Sent: Tuesday, April 28, 2009 3:06 PM
> To: 'Marc Powell'; 'nagios-users Mailinglist'
> Subject: Re: [Nagios-users] Monitoring a HP-UX system
> 
> Unfortunately, SNMP is disabled and can not be enabled.
> I will look at the check_ssh plugin.
> 
> Thanks
> 
> 
> > -Original Message-
> > From: Marc Powell [mailto:m...@ena.com]
> > Sent: Tuesday, April 28, 2009 2:50 PM
> > To: nagios-users Mailinglist
> > Subject: Re: [Nagios-users] Monitoring a HP-UX system
> >
> >
> > On Apr 28, 2009, at 12:52 PM, Palle L Jensen wrote:
> >
> > > Hey List,
> > >
> > > I was wondering if anyone would know if it is possible to monitor a
> > > few things on a HP-UX system without installing anything on the
> > > server? We are unable to install anything, plugins, apps etc on the
> > > server, it's a production server. Below is a description of the
> > > general requirements.
> > >
> > > The general requirements:
> > > - Cannot install anything on the system - it's a validated
> > > production system.
> > > - It runs a SSH server daemon that we'd like to monitor.
> > > - What I'd like to see is some way to have it connect to the
> > > specified port, read the banner and then just abort the connection.
> > > The purpose of this is that perhaps the Nagios system could read the
> > > banner response it gets, and if it is not what it's expected, or
> > > fails to receive a banner/login prompt, send an alert.
> >
> > check_ssh does exactly this.
> >
> > > I know that monitoring the ping is workable, but how about anything
> > > else, see above. Any help is much appreciated.
> >
> > There are plugins to check just about every kind of externally exposed
> > service, both in the standard plugins and on nagiosexchange.org. This
> > is perhaps the most straightforward kind of monitoring that can be
> > done outside of check_ping, and isn't really any different. Just
> > identify the external services exposed (ssh, http, etc), and use the
> > plugins designed to check them.
> >
> > SNMP, if enabled on the system, can be used to check things that
> > wouldn't normally be exposed externally, but I don't know if your
> > company considers an snmp daemon to be something 'installed'.
> >
> > --
> > Marc


--
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] Monitoring a HP-UX system

2009-04-28 Thread Palle L Jensen
Unfortunately, SNMP is disabled and can not be enabled.
I will look at the check_ssh plugin.

Thanks


> -Original Message-
> From: Marc Powell [mailto:m...@ena.com]
> Sent: Tuesday, April 28, 2009 2:50 PM
> To: nagios-users Mailinglist
> Subject: Re: [Nagios-users] Monitoring a HP-UX system
> 
> 
> On Apr 28, 2009, at 12:52 PM, Palle L Jensen wrote:
> 
> > Hey List,
> >
> > I was wondering if anyone would know if it is possible to monitor a
> > few things on a HP-UX system without installing anything on the
> > server? We are unable to install anything, plugins, apps etc on the
> > server, it's a production server. Below is a description of the
> > general requirements.
> >
> > The general requirements:
> > - Cannot install anything on the system - it's a validated
> > production system.
> > - It runs a SSH server daemon that we'd like to monitor.
> > - What I'd like to see is some way to have it connect to the
> > specified port, read the banner and then just abort the connection.
> > The purpose of this is that perhaps the Nagios system could read the
> > banner response it gets, and if it is not what it's expected, or
> > fails to receive a banner/login prompt, send an alert.
> 
> check_ssh does exactly this.
> 
> > I know that monitoring the ping is workable, but how about anything
> > else, see above. Any help is much appreciated.
> 
> There are plugins to check just about every kind of externally exposed
> service, both in the standard plugins and on nagiosexchange.org. This
> is perhaps the most straightforward kind of monitoring that can be
> done outside of check_ping, and isn't really any different. Just
> identify the external services exposed (ssh, http, etc), and use the
> plugins designed to check them.
> 
> SNMP, if enabled on the system, can be used to check things that
> wouldn't normally be exposed externally, but I don't know if your
> company considers an snmp daemon to be something 'installed'.
> 
> --
> Marc
> 
> 
> --
> 
> 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


[Nagios-users] Monitoring a HP-UX system

2009-04-28 Thread Palle L Jensen
Hey List,

 

I was wondering if anyone would know if it is possible to monitor a few
things on a HP-UX system without installing anything on the server? We are
unable to install anything, plugins, apps etc on the server, it's a
production server. Below is a description of the general requirements.

 

The general requirements:

- Cannot install anything on the system - it's a validated production
system.

- It runs a SSH server daemon that we'd like to monitor.

- What I'd like to see is some way to have it connect to the specified port,
read the banner and then just abort the connection. The purpose of this is
that perhaps the Nagios system could read the banner response it gets, and
if it is not what it's expected, or fails to receive a banner/login prompt,
send an alert.

 

I know that monitoring the ping is workable, but how about anything else,
see above. Any help is much appreciated.

 

Thanks,

PJ

 

Nagios box running:  openSUSE 10.3 / Nagios v3.0.1. / Nagios Webinterface
3.0.1. / Nagios Nuvola 1.0.3. / Nagios Plugins 1.4.11. / Nagios Plugins
Extra 1.4.11. / Nagios Grapher 1.6.1-rc5. 

 

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

[Nagios-users] contactgroups assgined to service groups

2009-04-18 Thread Palle L Jensen
Hello,

 

Been searching the manual to see if it possible to assign a contact group to
a service group, but not been able to find that it's possible.

 

Kinda like this:

 

Define Servicegroup (

Servicegroup_name   uptime

Alias   Host uptime

Contactgroupacontactgroupname

)

 

Thanks,

PJ

--
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] HP Network Printer

2009-02-02 Thread Palle L Jensen
Martyn,

 

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

 

Thanks,

PJ

 

  _  

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

 

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

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

./check_snmp -H 192.168.3.252 -C public 

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

Hope you can help 

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

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

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

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

Where would I get hold of the two files as described 

Thanks for your continued support 

Martyn 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Monitor Disk Drive

2009-02-02 Thread Palle L Jensen
Martyn,

 

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

 

Example C and F: drives:

 

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

 

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

define command{

command_name  check_diskc

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

   }

 

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

define command{

command_name  check_diskf

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

   }

 

In services.cfg I define the checks:

 

# Monitoring Disk Usage C:\

define service {

use  generic-service

host_namehostname

service_description  Disk-C

servicegroupsdisks

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

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

   }

 

# Monitoring Disk Usage F:\

define service {

use  generic-service

host_namehostname

service_description  Disk-F

servicegroupsdisks

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

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

}

 

 

Hope that helps!

 

Thanks,

PJ

 

 

 

 

  _  

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

 

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

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

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

 

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

Thanks 

Martyn 

 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Acknowledged by user + Service action url

2009-01-16 Thread Palle L Jensen

That worked great, thanks much for your help!

PJ

> -Original Message-
> From: Marc Powell [mailto:m...@ena.com]
> Sent: Thursday, January 15, 2009 2:53 PM
> To: nagios-users Mailinglist
> Subject: Re: [Nagios-users] Acknowledged by user + Service action url
> 
> 
> On Jan 15, 2009, at 12:51 PM, Palle L Jensen wrote:
> 
> > Marc,
> >
> > Thanks for you help!! I am half way there :=)
> 
> Good deal.
> 
> > You are right I have been unable to add the action url in the service
> > definition, due to I have several hostnames for the specific service
> > check.
> >
> > For example the below DiskE check I have several hosts defined for
> > that
> > check, how would I go by to replace "johndoehost" so the link will be
> > correct?
> >
> > http://1xx.xx.xxx.xxx/nagios/cgi-
> bin/extinfo.cgi?type=2&host=johndoehost&ser
> > vice=DiskE
> 
> 
> http://nagios.sourceforge.net/docs/3_0/macros.html
> 
> "Macro Substitution - How Macros Work
> 
> Before Nagios executes a command, it will replace any macros it finds
> in the command definition with their corresponding values. This macro
> substitution occurs for all types of commands that Nagios executes -
> host and service checks, notifications, event handlers, etc.
> 
> Certain macros may themselves contain other macros. These include the
> $HOSTNOTES$, $HOSTNOTESURL$, $HOSTACTIONURL$, $SERVICENOTES$,
> $SERVICENOTESURL$, and $SERVICEACTIONURL$ macros. "
> 
> In your case, I expect the following should work --
> 
> define service {
> ...
> action_urlhttp://1xxx.xx.xxx.xxx/nagios/cgi-
> bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=DiskE
> ...
> }
> 
> --
> Marc
> 
> --
> 
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Acknowledged by user + Service action url{Fraud?}

2009-01-15 Thread Palle L Jensen
Marc,

Thanks for you help!! I am half way there :=)

1.
> http://nagios.sourceforge.net/docs/3_0/configcgi.html
> 
> Lock Author Names
> 
> Format:   lock_author_names=[0/1]
> Example:  lock_author_names=1

That worked great, Recently was looking for something like this in the
cgi.cfg but never found the commands. I guess I should have looked closer in
the manual (http://nagios.sourceforge.net/docs/3_0/configcgi.html) cause
that made all sense. Adding that to the cgi.cfg worked perfect.

2.
> It does look like you're using the correct(ly spelled) macro. Are you
> sure that the service definition has action_url specified? Can you
> post it? I'd also enable debug mode in nagios.cfg and see if anything
> interesting showed up.

You are right I have been unable to add the action url in the service
definition, due to I have several hostnames for the specific service check.

For example the below DiskE check I have several hosts defined for that
check, how would I go by to replace "johndoehost" so the link will be
correct?
 
http://1xx.xx.xxx.xxx/nagios/cgi-bin/extinfo.cgi?type=2&host=johndoehost&ser
vice=DiskE


Thanks,
PJ


> -Original Message-
> From: Marc Powell [mailto:m...@ena.com]
> Sent: Thursday, January 15, 2009 10:38 AM
> To: nagios-users Mailinglist
> Subject: Re: [Nagios-users] Acknowledged by user + Service action
> url{Fraud?}
> 
> 
> On Jan 15, 2009, at 8:28 AM, Palle L Jensen wrote:
> 
> > Hello,
> >
> > I have 2 problems that I am currently working on.
> >
> > 1. In Nagios Web-interface and when someone acknowledges a problem,
> > the Author (your name) it is pre-populated with "Nagios" and cannot
> > be changed. We would like to be able to populate that with operators
> > that acknowledge the problem.
> > - I have looked around on settings and permissions but can't find
> > any solution.
> 
> http://nagios.sourceforge.net/docs/3_0/configcgi.html
> 
> Lock Author Names
> 
> Format:   lock_author_names=[0/1]
> Example:  lock_author_names=1
> 
> This option allows you to restrict users from changing the author name
> when submitting comments, acknowledgements, and scheduled downtime
> from the web interface. If this option is enabled, users will be
> unable to change the author name associated with the command request.
> 
>  * 0 = Allow users to change author names when submitting commands
>  * 1 = Prevent users from changing author names (default)
> 
> > 2. I wanted to have service action url in the acknowledge notes
> > being sent to operators from Nagios. The host action url works fine,
> > but for the service it does not populate the url in the notes.
> > - Below is how my commands look.
> 
> >
> > -- For service - this does not work with action url: ---
> > notify-service-by-email /usr/bin/printf "%b" "* CCO Nagios
> > Monitoring 3.0.1 *\n\nNotification Type: $NOTIFICATIONTYPE$\n
> > \nDate/Time: $LONGDATETIME$\n\nService: $SERVICEDESC$\nHost:
> > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n
> > \nOperator: $SERVICEACKAUTHOR$\nComment: $SERVICEACKCOMMENT$\nUrl:
> > $SERVICEACTIONURL$\nInfo:\n$SERVICEOUTPUT$" | /usr/bin/mail -s "**
> > $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is
> > $SERVICESTATE$ **" $CONTACTEMAIL$
> 
> It does look like you're using the correct(ly spelled) macro. Are you
> sure that the service definition has action_url specified? Can you
> post it? I'd also enable debug mode in nagios.cfg and see if anything
> interesting showed up.
> 
> --
> Marc
> 
> 
> --
> 
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Acknowledged by user + Service action url

2009-01-15 Thread Palle L Jensen
Hello,

 

I have 2 problems that I am currently working on.

 

1. In Nagios Web-interface and when someone acknowledges a problem, the
Author (your name) it is pre-populated with "Nagios" and cannot be changed.
We would like to be able to populate that with operators that acknowledge
the problem.

- I have looked around on settings and permissions but can't find any
solution.

 

2. I wanted to have service action url in the acknowledge notes being sent
to operators from Nagios. The host action url works fine, but for the
service it does not populate the url in the notes.

- Below is how my commands look.

 

In commands.cfg it looks like this:

 

-- For host - and this works with action url: --

notify-host-by-email /usr/bin/printf "%b" "* Nagios Monitoring 3.0.1
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nDate/Time:
$LONGDATETIME$\n\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress:
$HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nOperator: $HOSTACKAUTHOR$\nComment:
$HOSTACKCOMMENT$\nUrl: $HOSTACTIONURL$" | /usr/bin/mail -s "**
$NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$

 

Acknowledge note looks like this:

 

* Nagios Monitoring 3.0.1 *

Notification Type: ACKNOWLEDGEMENT

Date/Time: Wed Jan 14 06:58:12 EST 2009

Host: hostname

State: DOWN

Address: 1xx.xx.xxx.xxx

Info: CRITICAL - Host Unreachable (1xx.xx.xxx.xxx)

Operator: nagios

Comment: Server was Microsoft patched and rebooted

Url: http://1xx.xx.xxx.xxx/nagios/cgi-bin/extinfo.cgi?type=1

&host=hostname

 

 

-- For service - this does not work with action url: ---

notify-service-by-email /usr/bin/printf "%b" "* CCO Nagios Monitoring
3.0.1 *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nDate/Time:
$LONGDATETIME$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nOperator:
$SERVICEACKAUTHOR$\nComment: $SERVICEACKCOMMENT$\nUrl:
$SERVICEACTIONURL$\nInfo:\n$SERVICEOUTPUT$" | /usr/bin/mail -s "**
$NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is
$SERVICESTATE$ **" $CONTACTEMAIL$ 

 

Acknowledge note looks like this:

 

* Nagios Monitoring 3.0.1 *

Notification Type: ACKNOWLEDGEMENT

Date/Time: Tue Jan 13 07:38:43 EST 2009

Service: Disk-C

Host: hostname

Address: 1xx.xx.xxx.xxx

State: WARNING

Operator: nagios

Comment: Need to free up space, forwarding to operator x.

Url: 

Info: c:\ - total: 9.77 Gb - used: 9.28 Gb (95%) - free 0.48 Gb (5%)

-

 

 

If anyone has any suggestions for changes that would make the 2 above
problems working it would be greatly appreciated.

 

 

Thanks,

PJ

 

<.|.>  OS:openSUSE 10.3 - Nagios:3.01 - Plugin 3.11  <.|.>

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] USB Disconnect check?

2008-11-07 Thread Palle L Jensen
Hey Nagios Users,

 

Here's probably a very unusual question, but does anyone know if it is
possible (using NSCLient++) to monitor USB port(s).

What we would need to see (get alert) is when the device (headset) is being
unplugged/plugged in.

 

This is a call center and we are using VOIP, the agents found out that they
can get some extra slack by unplugging the headset and drop the call. This
monitoring would take place on workstation(s) running Win XP Pro. We are
using NSCLient++ for our monitoring here.

 

I've googled and checked forums and found nada.

 

Thanks,

Palle

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Alerting on 100% cpu for a period of time

2008-08-05 Thread Palle L Jensen
Lars,

I am not sure if this is what you are looking for.
We use NSclient++ to monitor windows hosts and this is our setup for
monitoring the Cpu Load on windows hosts.

#Command Definition for CPU Load (were $USER7 is a macro for the pwd to
#access the windows host):

define command{
command_namecheck_nt_cpu
command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v
CPULOAD -l $ARG1$ -s $USER7$
}


#This service definition will generate a critical alert if the 10-minute CPU
#load is 90% or more or a warning alert if the 10-minute load is 80% or
#greater. Just change the 10,80,90 as you please to fit your monitoring.

Service definition:
define service {
use generic-service
host_name   thehost001
service_description Cpu
servicegroups   cpu-load
check_command   check_nt_cpu!10,80,90

Hope it helps.

Thanks,
Palle



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Richard Quintin
> Sent: Tuesday, August 05, 2008 8:23 AM
> To: Lars Jørgensen
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Alerting on 100% cpu for a period of time
> 
> Anything is _possible_. :)
> 
> The smart folks on this list can probably suggest something better,
> but one option would be to have a sar process logging cpu usage to a
> file and then an NRPE check to look at the values in that file.
> 
> On Tue, Aug 5, 2008 at 4:19 AM, Lars Jørgensen <[EMAIL PROTECTED]> wrote:
> > Hi.
> >
> > Is it possible to alert when a windows host has been running af 100% cpu
> for, say 20 minutes?
> >
> >
> > --
> > Lars
> >
> >
> > 
> -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
> 
> 
> 
> --
> Richard Quintin, DBA
> Database & Application Administration
> Virginia Tech
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] EventDB addon

2008-07-17 Thread Palle L Jensen
About a week ago netways announce the new Nagios forge and Nagios wiki
websites. I found an addon (EventDB) on the Nagioswiki that I would like to
try. Following the instructions on
http://www.nagioswiki.org/wiki/Addon:EventDb

I was not able to get anywhere due to there seemed to be missing files
(syslog-ng2mysql.pl and the init script) in the package/archive. Has anyone
done this setup? I may be in the wrong user list, if so can anyone lead me
in the right directions?

Thanks,
Palle


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Url in the notification?

2008-05-16 Thread Palle L Jensen
I just love Nagios; it does so much great work for you! 

As you work with it though sometimes thoughts comes up, can it do more?

 

Here is my thought.

 

For example Nagios sends out an alert on high CPU load, would it be possible
to add the URL to the graph for the CPU load?

So it would look like this:

 

 

* Nagios Monitoring 3.0.1 *

 

Notification Type: PROBLEM

 

Service: Cpu

Host: Server001

Address: 000.000.000.000

State: WARNING

Date/Time: Fri May 16 13:36:06 EDT 2008

Url:
http://000.000.000.000/nagios/cgi-bin/graphs.cgi?host=Server01&service=Cpu

 

Additional Info:

 

CPU Load 80% (5 min average)

 

 

This would be very cool cause then you could click on the link and
immediately get to the overview of the graphing of the CPU load.

Does anyone know if this would be possible?

 

Thanks,

Palle

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Nagiosgrapher showing different values over time

2008-05-15 Thread Palle L Jensen
Thanks Marc, very good explanation. The link
http://oss.oetiker.ch/rrdtool/tut/index.en.html was good stuff too. 

Thanks,
Palle

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Marc Powell
> Sent: Wednesday, May 14, 2008 5:31 PM
> To: Nagios Users
> Subject: Re: [Nagios-users] Nagiosgrapher showing different values over
> time
> 
> 
> On May 14, 2008, at 3:48 PM, Palle L Jensen wrote:
> 
> > Thanks for you response. I understand, but The question I had is why
> > are the
> > peaks that are showing on the daily and weekly graphs not appearing
> > on the
> > monthly and yearly graphs?
> 
> The RRD stores and graphs 1 point for every 5 minutes for the daily
> RRA. You see every data point on the graph, including the peaks.
> 
> 1 10 20 5 6 8 ...
> 
> Weekly RRA/graph shows 1 data point for every 30 minutes. The data
> must be normalized based on a Consolidation function. Typically that's
> Average so the above 5 minute intervals would result in a single data
> point of 8.3 graphed and stored in the weekly RRA.
> 
> 'Monthly' RRA/graph shows 1 data point for every 2 hours. The 30
> minute data points above are once again averaged (or whatever the
> Consolidation function is) over the 2 hour interval and used to
> generate the monthly RRA and graph.
> 
> 'Yearly' RRA/graph shows 1 data point for every day.  The 2 hour
> intervals above are consolidated into one data point for the entire day.
> 
> As you've discovered, there are other consolidation functions which
> are available but the RRD file must be told which will be used at
> creation time. Looks like the PNP guys included MAX for at least some
> of the RRA's.
> 
> Alex Van Den Bogaerdt has written an excellent RRD Tutorial that
> covers this and much more at
> http://oss.oetiker.ch/RRDtool/tut/RRDtutorial.en.html
> .
> 
> --
> Marc
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: 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: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Nagiosgrapher showing different values over time

2008-05-14 Thread Palle L Jensen
Duh..   on the graph site if I set the Type to "Max Value" it will show the
peaks on all graphs. 

Thanks for your help anyway.

> -Original Message-
> From: Palle L Jensen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 14, 2008 4:48 PM
> To: 'Patrick Morris'
> Cc: 'Nagios Users'
> Subject: RE: [Nagios-users] Nagiosgrapher showing different values over
> time
> 
> Thanks for you response. I understand, but The question I had is why are
> the peaks that are showing on the daily and weekly graphs not appearing on
> the monthly and yearly graphs?
> 
> > -Original Message-
> > From: Patrick Morris [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 14, 2008 1:30 PM
> > To: Palle L Jensen
> > Cc: Nagios Users
> > Subject: Re: [Nagios-users] Nagiosgrapher showing different values over
> > time
> >
> > On Wed, 14 May 2008, Palle L Jensen wrote:
> >
> > >
> > > I have noticed that in the graphs for ping and also Cpu load that the
> > graphs are changing as you look at the different graphs.
> > > For example the ping daily/graph shows at 11:00 14ms, then when you
> look
> > at the weekly/graph it shows for the same day and time only 10ms, if you
> > look at the monthly it?s gone down to 10.5 ms for the same day.
> Shouldn?t
> > it be consistent showing the same value on the daily/weekly, monthly and
> > yearly graph if you are looking at the same day and time on all the
> > different graphs? Does anyone have an explanation on this?
> >
> > No, they should not be the same.  Each graph shows an average over a
> > different time period, depending on the scale of the graph.


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 reboot XP

2008-05-13 Thread Palle L Jensen
Sorry about the late response, been assigned other tasks here. Thanks for
the replies. Getting back to Nagios and slowly getting a hang of this, I
will try this.

Thanks,
PJ

> -Original Message-
> From: Hari Sekhon [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 08, 2008 7:38 AM
> To: Palle L Jensen
> Cc: 'Valdinger, Stephen (DOV, MSX)'; 'Anthony Montibello'; 'Jon Terry';
> nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] nagios reboot XP
> 
> Palle L Jensen wrote:
> >
> > I guess I should have been more specific, sorry about that.
> >
> > I am running Nagios 3.0.1 on openSUSE 10.3, and I am only monitoring
> > windows hosts. On the windows hosts I am running NSClient++. That
> > seems to work good and I would prefer not to change to any other client.
> >
> > I have read about the event handlers in the Nagios documentation, but
> > the samples there only refers to nrpe and scripts on the server. I
> > understand how to define the service in Nagios, but I am not sure how
> > to create the script that executes the batch file on the windows host?
> > Maybe I am not getting the point and understanding on the documentation.
> >
> > Lets say I created a batch file that will start or restart a service,
> > this batch file is located in c:\NSclient++\scripts folder. And then
> > defined the service and command in Nagios:
> >
> > define service{
> > host_name  somehost
> > service_descriptionsql-service
> > max_check_attempts 4
> > event_handler  restart-sqlagent
> > }
> >
> > define command{
> > command_name   restart-sqlagent
> > command_line   what do I add here?? It has to be something that
> can be sent to the Nsclient++/windows host and execute the batch script in
> c:\NSclient++\scripts folder
> > }
> >
> > The command line on the eventhandler documentation shows a path to a
> > local script and local command "/etc/rc.d/init.d/httpd restart"
> >
> > So creating and event handler for services or others on the box where
> > Nagios is running, I understand. But not how to do it remotely to a
> > windows host.
> >
> > If you could shed some more light over this I would very much
> > appreciate it.
> >
> > Thanks,
> >
> > PJ
> >
> You need a Unix-side script to execute and handle the condition
> appropriately, for example to only call the restart when the service is
> in hard failure. A sample Bash script is given in the docs to get you
> started.
> 
> If using Bash (which I recommend) the Bash script should check the state
> and perform the logic control, calling the batch or script on the
> windows side though an NRPE call to nsclient++ to execute the script on
> the windows host.
> 
> -h
> 
> --
> Hari Sekhon


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 reboot XP

2008-05-07 Thread Palle L Jensen
I guess I should have been more specific, sorry about that.

I am running Nagios 3.0.1 on openSUSE 10.3, and I am only monitoring windows
hosts. On the windows hosts I am running NSClient++. That seems to work good
and I would prefer not to change to any other client.

 

I have read about the event handlers in the Nagios documentation, but the
samples there only refers to nrpe and scripts on the server. I understand
how to define the service in Nagios, but I am not sure how to create the
script that executes the batch file on the windows host? Maybe I am not
getting the point and understanding on the documentation.

 

Lets say I created a batch file that will start or restart a service, this
batch file is located in c:\NSclient++\scripts folder. And then defined the
service and command in Nagios:

 

define service{
host_name  somehost
service_descriptionsql-service
max_check_attempts 4
event_handler  restart-sqlagent
}

 

define command{
command_name   restart-sqlagent
command_line   what do I add here?? It has to be something that can
be sent to the Nsclient++/windows host and execute the batch script in
c:\NSclient++\scripts folder
}

 

The command line on the eventhandler documentation shows a path to a local
script and local command "/etc/rc.d/init.d/httpd restart" 

 

So creating and event handler for services or others on the box where Nagios
is running, I understand. But not how to do it remotely to a windows host.

 

If you could shed some more light over this I would very much appreciate it.

 

Thanks,

PJ

 

 

 

  _  

From: Valdinger, Stephen (DOV, MSX) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 07, 2008 8:40 AM
To: Palle L Jensen; Anthony Montibello; Jon Terry
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] nagios reboot XP

 

You need to read the documentation on event handlers. I would recommend
using NC_Net, but that is personal preference. The documentation can be
found at either of these 2 places, as you have not specified your Nagios
version ;) 

 

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

http://nagios.sourceforge.net/docs/2_0/eventhandlers.html 

 

 

Stephen Valdinger

MIS Helpdesk Coordinator

330.365.3622 -O

740.491.0958 - C

[EMAIL PROTECTED]

 

"Nobody move...I dropped me brain!"

- Cap'n Jack Sparrow, Pirates:At Word's End

 

  _  

From: Palle L Jensen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 07, 2008 8:35 AM
To: 'Anthony Montibello'; 'Jon Terry'
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] nagios reboot XP

 

 

Writing a batch that restart/start /stop etc. is np, but how would you call
the batch/script file from Nagios? 

 

Thanks,

PJ

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Montibello
Sent: Tuesday, May 06, 2008 6:41 PM
To: Jon Terry
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] nagios reboot XP

 

NC_Net and NRPE also can provide the ability to run scripts on the windows
Host.

 

to restart a service the net start/stop command works well in windows

 

 

You can also setup the services on the windows box to automatically restart
through the windows service manager

Tony (author of NC_Net)


 

On Tue, May 6, 2008 at 8:26 AM, Jon Terry <[EMAIL PROTECTED]> wrote:

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Ange AMBEMOU
> Sent: Tuesday, May 06, 2008 4:49 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] nagios reboot XP
>
> hello all,
>
> i have two questions
>
> 1- Is possible to nagios to reboot et midcrosft box  or one
> service on this boxif there are a  mistake  ?

 As Sebastian indicated, you could use NSClient++ in order to execute
psshutdown and or psservice from Sysinternals as part of an
eventhandler.

http://trac.nakednuns.org/nscp/wiki/CheckExternalScripts

http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx



> 2- nagios can accepte the trap snmp only and dont do the get snmp ?
>

 I'm not sure I understand.  Have you looked at the check_snmp plugin?

Jon


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 reboot XP

2008-05-07 Thread Palle L Jensen
 

Writing a batch that restart/start /stop etc. is np, but how would you call
the batch/script file from Nagios? 

 

Thanks,

PJ

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Montibello
Sent: Tuesday, May 06, 2008 6:41 PM
To: Jon Terry
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] nagios reboot XP

 

NC_Net and NRPE also can provide the ability to run scripts on the windows
Host.

 

to restart a service the net start/stop command works well in windows

 

 

You can also setup the services on the windows box to automatically restart
through the windows service manager

Tony (author of NC_Net)


 

On Tue, May 6, 2008 at 8:26 AM, Jon Terry <[EMAIL PROTECTED]> wrote:

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Ange AMBEMOU
> Sent: Tuesday, May 06, 2008 4:49 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] nagios reboot XP
>
> hello all,
>
> i have two questions
>
> 1- Is possible to nagios to reboot et midcrosft box  or one
> service on this boxif there are a  mistake  ?

 As Sebastian indicated, you could use NSClient++ in order to execute
psshutdown and or psservice from Sysinternals as part of an
eventhandler.

http://trac.nakednuns.org/nscp/wiki/CheckExternalScripts

http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx



> 2- nagios can accepte the trap snmp only and dont do the get snmp ?
>

 I'm not sure I understand.  Have you looked at the check_snmp plugin?

Jon


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Threshold for processes

2008-02-04 Thread Palle L Jensen
Very good explanation, that cleared all questions.

Thanks,
Palle

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Marc Powell
> Sent: Monday, February 04, 2008 10:51 AM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Threshold for processes
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Palle L Jensen
> > Sent: Monday, February 04, 2008 9:09 AM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] Threshold for processes
> >
> 
> 
> >
> > When I check the CPU/Ram/Network utilization it shows very low on both
> > CPU's (2-5%) and below half of the Ram utilization, and only 1/10th of
> the
> > swap file. Network traffic is low as well.
> >
> >
> >
> > Here is my question:
> >
> >
> >
> > If the CPU and Ram is not overloaded, what is the critical part with
> > processes? And what is really the maximum processes that can be run,
> when
> > the CPU show no overload (not even close)? Also is the default
> threshold
> 
> It is entirely possible to have hundreds, thousands or 10's of thousands
> of processes 'running' but in a sleep or otherwise idle state with no
> system impact if you have enough memory to support them. The critical
> part would be the number of processes ready to run but waiting on
> processor time. This is generally indicated by the system's load numbers
> but even that is not a hard-and-fast measure. For example, I have a quad
> processor system with an average load of around 20. That means that
> there are 5 processes per processor running, or waiting to run at any
> given time (or waiting to access IO systems). Because this is not a
> real-time system, it's a mail scanning machine, the few seconds delay
> introduced by the number of processes waiting is acceptable. This
> probably wouldn't be acceptable on desktop or other type of more
> real-time service but even then, priorities can help a lot to maintain a
> high load but an interactively normal system.
> 
> > set in Nagios just a general threshold i.e Warning over 200 and
> Critical
> > over 250 procs. What would make the decision of the Warning/Critical
> > threshold?
> 
> The defaults seem pretty arbitrary to me. You should set them to be what
> you consider normal for the machine and the duties it's performing. For
> example, on the mail system above, it is normal and acceptable to have
> ~360 processes 'running' at any given time. I'd be interested if that
> exceeded 450-500ish. On another system, it's normal to have about 80
> processes running. I'd be concerned if that exceeded 100.
> 
> HTH,
> 
> --
> Marc
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Threshold for processes

2008-02-04 Thread Palle L Jensen
Hi All,

 

I have a question that i find interesting and that I really never thought of
before.

 

We monitor around 60 hosts and 260 services, have Nagios 2.9 installed on a
HP Compaq dc5700 Small Form Factor

Intel Pentium D 915 / 2.8 GHz Dual-Core 64-bit med 1GB DDRII Ram.

 

Monitoring the processes on the Nagios machine it sometimes a sends out a
warning or critical per passing the threshold of w:200 and c:250, it used to
give warnings and critical when I was working on the machine, testing
different things, but would go back to normal when I was done. 2 weeks ago I
added additional 30 hosts and about 150 services and now every second day
Nagios send out 1 or 2 alerts for exciding the threshold.

 

When I check the CPU/Ram/Network utilization it shows very low on both CPU's
(2-5%) and below half of the Ram utilization, and only 1/10th of the swap
file. Network traffic is low as well.

 

Here is my question:

 

If the CPU and Ram is not overloaded, what is the critical part with
processes? And what is really the maximum processes that can be run, when
the CPU show no overload (not even close)? Also is the default threshold set
in Nagios just a general threshold i.e Warning over 200 and Critical over
250 procs. What would make the decision of the Warning/Critical threshold?

 

Thanks,

Palle

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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_nt: Could not parse arguments

2008-01-31 Thread Palle L Jensen


 That worked perfect, thanks much for your help!
 Thanks,
 Palle
 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Hollick Matthew - ICT
> Systems
> > Sent: Wednesday, January 30, 2008 11:07 PM
> > To: nagios-users@lists.sourceforge.net
> > Subject: Re: [Nagios-users] check_nt: Could not parse arguments
> >
> > Hi there
> >
> > >Date: Wed, 30 Jan 2008 15:25:29 -0500
> > >From: "Palle L Jensen" <[EMAIL PROTECTED]>
> > >Subject: Re: [Nagios-users] check_nt: Could not parse arguments
> > >To: 
> > >Message-ID: <[EMAIL PROTECTED]>
> > >Content-Type: text/plain; charset="us-ascii"
> > >
> > >Thanks for the help,
> > >
> > >> the -l is not needed since it is in the check command
> > >
> > >I also tried with and without the -l
> > >
> > >
> > >
> > >Unfortunately did this not work either, any other suggestions?
> > >
> > >
> > >
> > >
> > >
> > >Thanks,
> > >
> > >Palle
> >
> > Maybe you need something like the following:
> >
> > Service Definition:
> >
> > define service{
> >use  generic-service
> >host_namehost001
> >service_description  CPU load
> >servicegroupsload
> >check_commandcheck_nt_cpu!5,80,90
> >}
> >
> > Command Definition:
> >
> > define command{
> > command_namecheck_nt_cpu
> >   command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s
> > %USER7% -v CPULOAD -l %ARG1%
> >   }
> >
> >
> > Mat.
> >
> > 
> -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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_nt: Could not parse arguments

2008-01-30 Thread Palle L Jensen
We are running NSClient++ 0.2.7 2007-03-06 on the windows servers and Nagios
2.9 on Fedora 6.

Right now we are monitoring 56 servers and 196 services, we monitor
processes, memory, disk space, and windows services. However I cannot get
the Cpu load to work.

 

Thanks,

Palle

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ennis
Ibarra
Sent: Wednesday, January 30, 2008 3:39 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_nt: Could not parse arguments

 

What's your version of nsclient installed in the windows side ?   How's your
NSC.ini configured if you're using nsclient++?



On Wed, 2008-01-30 at 15:25 -0500, Palle L Jensen wrote: 

Thanks for the help,

> the -l is not needed since it is in the check command

I also tried with and without the -l

 

Unfortunately did this not work either, any other suggestions?

 

 

Thanks,

Palle

 


  _  


From:[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Montibello
Sent: Tuesday, January 29, 2008 7:36 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_nt: Could not parse arguments



 

Hi, 



 



To help clarify, -s is for the password while $ARG1$ was missing from the
orriginal command causing the missing ARGUMENT error



THe Hostname is needed since the plugin does not know what host it is
without that.



the port in this case is needed since check_nt.c compiles with the default
port of 1248



the -l is not needed since it is in the check command



 



define command{
command_namecheck_nt_cpu
$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$  $ARG1$
}



 



define service{
   use  generic-service
   host_namehost001
   service_description  CPU load
   servicegroupsload
   check_commandcheck_nt_cpu!CPULOAD!-l 5,80,90
   }



 



Tony (Author of NC_NEt)



 



 



On Jan 29, 2008 2:51 PM, <[EMAIL PROTECTED]> wrote:

 

Should your command be

 

$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l $ARG1$

 

check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$

 




  _  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Palle L
Jensen
Sent: Tuesday, January 29, 2008 10:32 PM
To: Nagios Users
Subject: [Nagios-users] check_nt: Could not parse arguments

 

Morning all,

 

I am having an issue with adding cpuload monitoring on windows machines.

I know there are no issues on the windows side since I have other services
being monitored with no problems.

Also the error message tells me the arguments that are specified are not
correct.

I have google'd, and checked the Nagios documentation and tried different
ways, but non works.

And this is were I am at now. Could anyone look this over and tell me what
is wrong?

- Error: check_nt: Could not parse arguments

 

- Check command definition:

 

define command{

command_namecheck_nt_cpu

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

 

 

- Service definition:

 

define service{

   use  generic-service

   host_namehost001

   service_description  CPU load

   servicegroupsload

   check_commandcheck_nt_cpu!CPULOAD! -l 5,80,90

   }


Thanks,

Palle

 

 




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___ Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and

Re: [Nagios-users] check_nt: Could not parse arguments

2008-01-30 Thread Palle L Jensen
Thanks for the help,

> the -l is not needed since it is in the check command

I also tried with and without the -l

 

Unfortunately did this not work either, any other suggestions?

 

 

Thanks,

Palle

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Montibello
Sent: Tuesday, January 29, 2008 7:36 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_nt: Could not parse arguments

 

Hi, 

 

To help clarify, -s is for the password while $ARG1$ was missing from the
orriginal command causing the missing ARGUMENT error

THe Hostname is needed since the plugin does not know what host it is
without that.

the port in this case is needed since check_nt.c compiles with the default
port of 1248

the -l is not needed since it is in the check command

 

define command{
command_namecheck_nt_cpu
$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$  $ARG1$
}

 

define service{
   use  generic-service
   host_namehost001
   service_description  CPU load
   servicegroupsload
   check_commandcheck_nt_cpu!CPULOAD!-l 5,80,90
   }

 

Tony (Author of NC_NEt)

 

 

On Jan 29, 2008 2:51 PM, <[EMAIL PROTECTED]> wrote:

 

Should your command be

 

$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l $ARG1$

 

check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Palle L
Jensen
Sent: Tuesday, January 29, 2008 10:32 PM
To: Nagios Users
Subject: [Nagios-users] check_nt: Could not parse arguments

 

Morning all,

 

I am having an issue with adding cpuload monitoring on windows machines.

I know there are no issues on the windows side since I have other services
being monitored with no problems.

Also the error message tells me the arguments that are specified are not
correct.

I have google'd, and checked the Nagios documentation and tried different
ways, but non works.

And this is were I am at now. Could anyone look this over and tell me what
is wrong?

- Error: check_nt: Could not parse arguments

 

- Check command definition:

 

define command{

command_namecheck_nt_cpu

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

 

 

- Service definition:

 

define service{

   use  generic-service

   host_namehost001

   service_description  CPU load

   servicegroupsload

   check_commandcheck_nt_cpu!CPULOAD! -l 5,80,90

   }


Thanks,

Palle

 

 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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_nt: Could not parse arguments

2008-01-29 Thread Palle L Jensen
If I am not mistaken you should not have to add the host address and port#
both in the command & service definition.

 

But thanks anyways :-)

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, January 29, 2008 2:51 PM
To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_nt: Could not parse arguments

 

 

Should your command be

 

$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l $ARG1$

 

check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Palle L
Jensen
Sent: Tuesday, January 29, 2008 10:32 PM
To: Nagios Users
Subject: [Nagios-users] check_nt: Could not parse arguments

 

Morning all,

 

I am having an issue with adding cpuload monitoring on windows machines.

I know there are no issues on the windows side since I have other services
being monitored with no problems.

Also the error message tells me the arguments that are specified are not
correct.

I have google'd, and checked the Nagios documentation and tried different
ways, but non works.

And this is were I am at now. Could anyone look this over and tell me what
is wrong?

- Error: check_nt: Could not parse arguments

 

- Check command definition:

 

define command{

command_namecheck_nt_cpu

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

 

 

- Service definition:

 

define service{

   use  generic-service

   host_namehost001

   service_description  CPU load

   servicegroupsload

   check_commandcheck_nt_cpu!CPULOAD! -l 5,80,90

   }


Thanks,

Palle

 

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] check_nt: Could not parse arguments

2008-01-29 Thread Palle L Jensen
 

Morning all,

 

I am having an issue with adding cpuload monitoring on windows machines.

I know there are no issues on the windows side since I have other services
being monitored with no problems.

Also the error message tells me the arguments that are specified are not
correct.

I have google'd, and checked the Nagios documentation and tried different
ways, but non works.

And this is were I am at now. Could anyone look this over and tell me what
is wrong?

- Error: check_nt: Could not parse arguments

 

- Check command definition:

 

define command{

command_namecheck_nt_cpu

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

 

 

- Service definition:

 

define service{

   use  generic-service

   host_namehost001

   service_description  CPU load

   servicegroupsload

   check_commandcheck_nt_cpu!CPULOAD! -l 5,80,90

   }


Thanks,

Palle

 

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Enabling sound

2008-01-08 Thread Palle L Jensen
Mike,

 

Take a look at this 2 links, hope that can help you.

 

http://mattwork.potsdam.edu/projects/wiki/index.php/Nagios_Tray

 

https://addons.mozilla.org/en-US/firefox/addon/3607

 

Personally I use Firefox and the Nagios checker.

 

Thanks,

Palle

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Egan
Sent: Tuesday, January 08, 2008 12:01 PM
To: Nagios Users Mailinglist
Subject: [Nagios-users] Enabling sound

 

Is there a way for Nagios to play a .wav file when an event occurs?  If so,
can the sound be played even if I view Nagios from a different computer?

 

Thanks,

Mike

 

Mike Egan
Enterprise Network Engineer 
Capital Safety 
3833 Sala Way 
Red Wing, MN 55066 
651-385-6254 Office 
651-247-5719 Cell 
 mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] 

Home of DBI-Sala and Protecta Brands.  Visit us on the web at
www.capitalsafety.com http://www.capitalsafety.com/>  

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] rrd gaps

2008-01-03 Thread Palle L Jensen

I am not using the most current version of Nagiosgrapher; I am using
Nagiosgrapher 1.6.1-rc3. How hard is it to upgrade to the newest version?

Currently I am running below versions and packages from linadd.org, on Linux
distro - Fedora Core 6.
- nagios-2.9-1.i586.rpm,
- nagios-web-2.9-1.i586.rpm,
- nagios-plugins-1.4.9-1.i586.rpm,
- nagios-plugins-extras-1.4.9-1.i586.rpm
- nagios-graph-1.6.1-rc3.i586.rpm


Thanks,
Palle

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerd Müller
Sent: Thursday, January 03, 2008 9:32 AM
To: Palle L Jensen
Cc: Nagios Users Mailinglist
Subject: Re: [Nagios-users] rrd gaps

Which version of NagiosGrapher are you using? The file interface exists
only in the newest version.

Gerd

Am Donnerstag, den 03.01.2008, 09:20 -0500 schrieb Palle L Jensen:
> Gerd,
> 
> After making below changes as you suggested, I did a "pre-flight"
> 
> # nagios -v /etc/nagios/nagios.cfg
> 
> Nagios 2.9
> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last
Modified:
> 04-10-2007
> License: GPL
> 
> Reading configuration data...
> 
> Running pre-flight check on configuration data...
> 
> Checking services...
> Checked 101 services.
> Checking hosts...
> Checked 36 hosts.
> Checking host groups...
> Checked 6 host groups.
> Checking service groups...
> Checked 5 service groups.
> Checking contacts...
> Checked 1 contacts.
> Checking contact groups...
> Checked 1 contact groups.
> Checking service escalations...
> Checked 0 service escalations.
> Checking service dependencies...
> Checked 0 service dependencies.
> Checking host escalations...
> Checked 0 host escalations.
> Checking host dependencies...
> Checked 0 host dependencies.
> Checking commands...
> Checked 61 commands.
> Checking time periods...
> Checked 3 time periods.
> Checking extended host info definitions...
> Checked 36 extended host info definitions.
> Checking extended service info definitions...
> Checked 92 extended service info definitions.
> Checking for circular paths between hosts...
> Checking for circular host and service dependencies...
> Checking global event handlers...
> Checking obsessive compulsive processor commands...
> Checking misc settings...
> 
> Total Warnings: 0
> Total Errors:   0
> 
> Things look okay - No serious problems were detected during the pre-flight
> check
> 
> And then a restart of Nagios and Nagiosgrapher, were Nagiosgrapher failed,
> 
> [EMAIL PROTECTED] /]# /etc/init.d/nagios restart
> /etc/init.d/nagios: warning: nagios is not running
> Shutting down nagios:  [  OK  ]
> Starting nagios:   [  OK  ]
> [EMAIL PROTECTED] /]# /etc/init.d/nagios restart
> Shutting down nagios:  [  OK  ]
> Starting nagios:   [  OK  ]
> [EMAIL PROTECTED] /]# /etc/init.d/ngraph restart
> Shutting down ngraph:  [  OK  ]
> Starting ngraph: Use of uninitialized value in bitwise and (&) at
> /usr/sbin/ngraph line 670.
> No such signal: SIGfileparse(): need a valid pathname at
> /usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
> fileparse(): need a valid pathname at
> /usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
>[FAILED]
> 
> Do you have any advice?
> 
> Thanks,
> Palle
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gerd
> Mueller
> Sent: Thursday, January 03, 2008 4:53 AM
> To: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] rrd gaps
> 
> Hi,
> 
> the old NagiosGrapher interfaces (network/pipe) can cause huge
> latency :-(. Thanks to a patch we got there is a new interface type
> "file". The main advantages of this new interface are:
> * no gaps any more
> * no latency caused by NagiosGrapher
> * restarting NagiosGrapher does not cause any gaps
> 
> I am sorry but the documentation totally lacks this interface. But below
> is all you need.
> 
> Cheers,
> 
> Gerd
> 
> 
> 
> 
>  
> ngraph.ncfg:
> 
> interface   file
> perffile_path   /dev/shm
> 
> nagios.cfg:
> 
> process_performance_data=1
> service_perfdata_file=/dev//shm/service-perfdata
> service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t
> $SERVICEOUTPUT$\t$SERVICEPERFDATA$\t$TIMET$
> service_perfdata_file_mode=a
>     service_perfdata_file_processing_inter

Re: [Nagios-users] rrd gaps

2008-01-03 Thread Palle L Jensen
Gerd,

After making below changes as you suggested, I did a "pre-flight"

# nagios -v /etc/nagios/nagios.cfg

Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified:
04-10-2007
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 101 services.
Checking hosts...
Checked 36 hosts.
Checking host groups...
Checked 6 host groups.
Checking service groups...
Checked 5 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 61 commands.
Checking time periods...
Checked 3 time periods.
Checking extended host info definitions...
Checked 36 extended host info definitions.
Checking extended service info definitions...
Checked 92 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight
check

And then a restart of Nagios and Nagiosgrapher, were Nagiosgrapher failed,

[EMAIL PROTECTED] /]# /etc/init.d/nagios restart
/etc/init.d/nagios: warning: nagios is not running
Shutting down nagios:  [  OK  ]
Starting nagios:   [  OK  ]
[EMAIL PROTECTED] /]# /etc/init.d/nagios restart
Shutting down nagios:  [  OK  ]
Starting nagios:   [  OK  ]
[EMAIL PROTECTED] /]# /etc/init.d/ngraph restart
Shutting down ngraph:  [  OK  ]
Starting ngraph: Use of uninitialized value in bitwise and (&) at
/usr/sbin/ngraph line 670.
No such signal: SIGfileparse(): need a valid pathname at
/usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
fileparse(): need a valid pathname at
/usr/lib/perl5/vendor_perl/NagiosGrapher.pm line 1158
   [FAILED]

Do you have any advice?

Thanks,
Palle

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerd
Mueller
Sent: Thursday, January 03, 2008 4:53 AM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] rrd gaps

Hi,

the old NagiosGrapher interfaces (network/pipe) can cause huge
latency :-(. Thanks to a patch we got there is a new interface type
"file". The main advantages of this new interface are:
* no gaps any more
* no latency caused by NagiosGrapher
* restarting NagiosGrapher does not cause any gaps

I am sorry but the documentation totally lacks this interface. But below
is all you need.

Cheers,

Gerd




 
ngraph.ncfg:

interface   file
perffile_path   /dev/shm

nagios.cfg:

process_performance_data=1
service_perfdata_file=/dev//shm/service-perfdata
service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t
$SERVICEOUTPUT$\t$SERVICEPERFDATA$\t$TIMET$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=60

service_perfdata_file_processing_command=process-service-perfdata-file


commands.cfg:
define command{
command_name process-service-perfdata-file
command_line
mv /dev/shm/service-perfdata /dev/shm/service-perfdata.$TIMET$
}



Am Mittwoch, den 02.01.2008, 13:29 -0500 schrieb Palle L Jensen:
> Lars and Gerd,
> 
> I am having a similar problem with rrd gaps.
> It was doing fine until I added 3 more hosts and 8 more services and then
> suddenly I get the rrd gaps, some graphs are even blank.
> 
> My latency are as below (they seem pretty high compared to yours?):
> 
> # nagiostats | grep -i latency
> Active Service Latency:   6.804 / 330.675 / 238.562 sec
> Active Host Latency:  0.000 / 0.000 / 0.000 sec
> 
> 
> nagiostats | grep -i total
> Used/High/Total Command Buffers:  0 / 8 / 4096
> Used/High/Total Check Result Buffers: 85 / 106 / 4096
> Total Services:   106
> Total Service State Change:   0.000 / 0.000 / 0.000 %
> Total Hosts:  36
> Total Host State Change:  0.000 / 0.000 / 0.000 %
> 
> 
> I also use the rpm package from linadd.org.
> nagios-2.9-1.i586.rpm,
> nagios-web-2.9-1.i586.rpm,
> nagios-plugins-1.4.9-1.i586.rpm,
> nagios-plugins-extras-1.4.9-1.i586.rpm
> nagios-graph-1.6.1-rc3.i586.rpm
&g

Re: [Nagios-users] rrd gaps

2008-01-02 Thread Palle L Jensen
Lars and Gerd,

I am having a similar problem with rrd gaps.
It was doing fine until I added 3 more hosts and 8 more services and then
suddenly I get the rrd gaps, some graphs are even blank.

My latency are as below (they seem pretty high compared to yours?):

# nagiostats | grep -i latency
Active Service Latency:   6.804 / 330.675 / 238.562 sec
Active Host Latency:  0.000 / 0.000 / 0.000 sec


nagiostats | grep -i total
Used/High/Total Command Buffers:  0 / 8 / 4096
Used/High/Total Check Result Buffers: 85 / 106 / 4096
Total Services:   106
Total Service State Change:   0.000 / 0.000 / 0.000 %
Total Hosts:  36
Total Host State Change:  0.000 / 0.000 / 0.000 %


I also use the rpm package from linadd.org.
nagios-2.9-1.i586.rpm,
nagios-web-2.9-1.i586.rpm,
nagios-plugins-1.4.9-1.i586.rpm,
nagios-plugins-extras-1.4.9-1.i586.rpm
nagios-graph-1.6.1-rc3.i586.rpm

If you find any solution for this I would be more than happy :)

Thanks,
- Palle

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lars
Stavholm
Sent: Wednesday, January 02, 2008 7:06 AM
To: Mad Unix
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] rrd gaps

Mad Unix wrote:
> Can you tell me how did you implement graph beside the nagios

Let's keep this on the list, shall we?

I used rpm packages from linadd.org.

> Thanks

You're welcome.
/L

> On Jan 2, 2008 12:01 PM, Lars Stavholm <[EMAIL PROTECTED]> wrote:
>> Gerd Mueller wrote:
>>> Hi Lars,
>>>
>>> which interface are you using? And how big is your nagios' latency?
>> I don't quite understand the first question there?
>> We use the Nagios web interface with the nuvola theme?
>>
>> We have only a few hosts and around a hundred service checks,
>> i.e. no heavy load here:
>>
>> # nagiostats | grep -i latency
>> Active Service Latency: 0.000 / 0.335 / 0.135 sec
>> Passive Service Latency:0.000 / 0.000 / 0.000 sec
>> Active Host Latency:0.000 / 0.284 / 0.152 sec
>> Passive Host Latency:   0.000 / 0.000 / 0.000 sec
>>
>> # nagiostats | grep -i total
>> Used/High/Total Command Buffers:0 / 1 / 4096
>> Total Services: 114
>> Total Service State Change: 0.000 / 12.110 / 0.106 %
>> Total Hosts:19
>> Total Host State Change:0.000 / 0.000 / 0.000 %
>>
>> /L
>>
>>
>>> Am Mittwoch, den 02.01.2008, 10:13 +0100 schrieb Lars Stavholm:
 Hi All,

 we use latest nagios-3 and latest NagiosGrapher-1.6.1-rc5.

 It all works very well, except for one annoying problem:
 I get gaps in the graphs, and I don't understand why.

 Any ideas appreciated, sample graph attached.

 R
 /Lars

-
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___ Nagios-users mailing
list Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-u

[Nagios-users] Nagiosgrapher limits?

2007-11-21 Thread Palle L Jensen
Are there any limitations to Nagiosgrapher like how many hosts/services it
is capable of to produce graphs for?

As soon as I get to a certain limit of hosts/services (passed around 34
hosts and/or around 100 services), the graphs acts "weird", the Icon graphs
becomes white and if you click them to see the actual graph, it shows no
data there. Has anyone run into this scenario before? We are monitoring 36
Hosts and 103 services, where 100 services are being graphed.



Thanks,

- Palle

 

 

System(s):

Linux Fedora Core 6 - Nagios 2.9 - Nagios web  2.9 - Nagios plugins 1.4.9-1
- Nagiosgrapher 1.6.1-rc3

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Authentication question

2007-11-14 Thread Palle L Jensen
Thanks Marc, Working fine now. The authorized_for_* settings was what I had
missed out on.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell
Sent: Wednesday, November 14, 2007 9:59 AM
To: Nagios Users
Subject: Re: [Nagios-users] Authentication question



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Palle L Jensen
> Sent: Wednesday, November 14, 2007 8:42 AM
> To: Nagios Users
> Subject: Re: [Nagios-users] Authentication question
> 
> Thanks Marc for your quick response,
> 
> I've tried a few variations and the result is
> I don't get the logon window (which Is good, we don't want the logon
> window), but I can still not execute the cgi commands.
> 
> I changed these sections in the cgi.cfg
> use_authentication=0 (tried both 0 and 1)

This should be 1.

> default_user_name=guest (enabled)

This is fine.

> authorized_for _system_command=* (tried both * and root,nagios,guest)

This only says that anyone can shutdown or restart nagios or change it
from active to standby. You want more than that. You'll want to look at
all the authorized_for_* settings in cgi.cfg, but specifically --

authorized_for_all_services
authorized_for_all_hosts
authorized_for_all_service_commands
authorized_for_all_host_commands

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Authentication question

2007-11-14 Thread Palle L Jensen
Thanks Marc for your quick response,

I've tried a few variations and the result is
I don't get the logon window (which Is good, we don't want the logon
window), but I can still not execute the cgi commands.

I changed these sections in the cgi.cfg
use_authentication=0 (tried both 0 and 1)
default_user_name=guest (enabled)
authorized_for _system_command=* (tried both * and root,nagios,guest)


nagios.conf looks like this:

ScriptAlias /nagios/cgi-bin /usr/share/nagios/cgi 
   Options ExecCGI
   AllowOverride None
   Order allow,deny
   Allow from all


Alias /nagios /usr/share/nagios

   Options None
   AllowOverride None
   Order allow,deny
   Allow from all


This is what we are trying to achieve:
- No userlogon.
- Able to use all cgi commands in Nagios. (full admin rights, views, execute
commands)

Thanks,
Palle


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Palle L Jensen
> Sent: Tuesday, November 13, 2007 3:11 PM
> To: Nagios Users
> Subject: [Nagios-users] Authentication question
> 
> Hi All,
> 
> 
> 
> We have it setup to use login name and password in order to see Nagios
Web
> interface, and I want to remove that and then still be able to execute
the
> cgi commands.
> 
> Is it possible to remove the authentication and still be able to use
the
> Cgi commands in Nagios?

See the default_user_name directive in cgi.cfg.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Authentication question

2007-11-13 Thread Palle L Jensen
Hi All,

 

We have it setup to use login name and password in order to see Nagios Web
interface, and I want to remove that and then still be able to execute the
cgi commands.

Is it possible to remove the authentication and still be able to use the Cgi
commands in Nagios?

I have read the manual, but it doesn't seem to work.

I am running Nagios 2.9 on Fedora Core 6.

 

Thanks,

Palle

 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null