[Nagios-users] check_snmp syntax question

2013-02-05 Thread Kaplan, Andrew H.
Hello --

I am testing out check_snmp on our printers, and I have been successful using 
the following syntax:

./check_snmp -H ip adddress -C public -o sysDescr.0

which has provided the following output:

SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM 
R.25.57,CIDATE 05/02/2006 |

What I am trying to do now is get the status of the printer with the goal of 
generating output that would
indicate if toner is low, or if other components are in need of service. What 
would be the correct syntax
to use to accomplish this?

Thanks.





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_snmp syntax question

2013-02-05 Thread Kaplan, Andrew H.
Hello --

I did try the check_hpjd plugin. While it did provide some information 
concerning 
an issue with a test printer, it did not go in-depth as to what was the actual 
error
condition. I want to see what check_snmp would provide, and compare that to the 
output
generated by the check_hpjd plugin.



-Original Message-
From: Steven Carr [mailto:sjc...@gmail.com] 
Sent: Tuesday, February 05, 2013 1:02 PM
To: Nagios Users List
Subject: Re: [Nagios-users] check_snmp syntax question

Have you tried the actual HP JetDirect plugin instead of trying to
reinvent the wheel? check_hpjd?
http://nagiosplugins.org/man/check_hpjd

Steve


On 5 February 2013 16:22, Kaplan, Andrew H. ahkap...@partners.org wrote:
 Hello --

 I am testing out check_snmp on our printers, and I have been successful
 using the following syntax:

 ./check_snmp -H ip adddress -C public -o sysDescr.0

 which has provided the following output:

 SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM
 R.25.57,CIDATE 05/02/2006 |

 What I am trying to do now is get the status of the printer with the goal of
 generating output that would
 indicate if toner is low, or if other components are in need of service.
 What would be the correct syntax
 to use to accomplish this?

 Thanks.




 The information in this e-mail is intended only for the person to whom it is
 addressed. If you believe this e-mail was sent to you in error and the
 e-mail
 contains patient information, please contact the Partners Compliance
 HelpLine at
 http://www.partners.org/complianceline . If the e-mail was sent to you in
 error
 but does not contain patient information, please contact the sender and
 properly
 dispose of the e-mail.


 --
 Free Next-Gen Firewall Hardware Offer
 Buy your Sophos next-gen firewall before the end March 2013
 and get the hardware for free! Learn more.
 http://p.sf.net/sfu/sophos-d2d-feb
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Installing the opmon agent or nrpe client on a virtual host

2012-03-26 Thread Kaplan, Andrew H.
Hello --

We run a series of virtual servers on a variety of Linux and Windows hosts. I 
wanted to get feedback from the group
on the merits, if any, of installing the nrpe and opmon agent clients on the 
virtual hosts respective operating systems.

What are the group members' thoughts on this?

Thanks.



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Installing the opmon agent or nrpe client on a virtual host

2012-03-26 Thread Kaplan, Andrew H.
Hello --

The hypervisor for the Windows box is the Hyper-V utility, while that on the
Linux systems are either VMWare server or VirtualBox. 

From: Eliezer Croitoru [elie...@ngtech.co.il]
Sent: Monday, March 26, 2012 11:01 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Installing the opmon agent or nrpe client on a 
virtual host

On 26/03/2012 14:23, Kaplan, Andrew H. wrote:
 Hello --
 We run a series of virtual servers on a variety of Linux and Windows
 hosts. I wanted to get feedback from the group
 on the merits, if any, of installing the nrpe and opmon agent clients on
 the virtual hosts respective operating systems.
 What are the group members' thoughts on this?
 Thanks.
out of curiosity, what hyper-visor you are using for these VMs?
i'm building nagios lab on VM right now.

Thanks,
Eliezer


 The information in this e-mail is intended only for the person to whom it is
 addressed. If you believe this e-mail was sent to you in error and the
 e-mail
 contains patient information, please contact the Partners Compliance
 HelpLine at
 http://www.partners.org/complianceline . If the e-mail was sent to you
 in error
 but does not contain patient information, please contact the sender and
 properly
 dispose of the e-mail.



 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure



 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer at ngtech.co.il

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] firewall ports to open on windows 7 for opmon agent

2012-03-09 Thread Kaplan, Andrew H.
Hello --

Thanks for the replies. I went ahead and opened ports 5666 and 5667 on the 
firewall,
and that has allowed the connection between the client and server to occur.

Thanks again.  

-Original Message-
From: Yancy Ribbens [mailto:yribb...@nagios.com] 
Sent: Thursday, March 08, 2012 4:32 PM
To: Nagios Users List
Subject: Re: [Nagios-users] firewall ports to open on windows 7 for opmon agent

Kaplan,

I haven't used OpMon, but looking at opmonagent.ini, it looks like it uses 5667 
for check_nt and 
5666 for NRPE just like nsclient++.


-Yancy


Yancy Ribbens
---
Tech Team
yribb...@nagios.com

On 3/8/2012 2:33 PM, Kaplan, Andrew H. wrote:
 Hello --
 One of our systems is running Windows 7 with the firewall enabled. The opmon 
 agent has been installed
 on the workstation, and I am in the process of setting up a firewall 
 exception to allow
 communication with
 the Nagios server.
 What protocols and ports should be opened to allow this communication to take 
 place?
 Thanks.


 The information in this e-mail is intended only for the person to whom it is
 addressed. If you believe this e-mail was sent to you in error and the e-mail
 contains patient information, please contact the Partners Compliance HelpLine 
 at
 http://www.partners.org/complianceline . If the e-mail was sent to you in 
 error
 but does not contain patient information, please contact the sender and 
 properly
 dispose of the e-mail.


 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/



 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] firewall ports to open on windows 7 for opmon agent

2012-03-08 Thread Kaplan, Andrew H.
Hello --

One of our systems is running Windows 7 with the firewall enabled. The opmon 
agent has been installed
on the workstation, and I am in the process of setting up a firewall exception 
to allow communication with
the Nagios server.

What protocols and ports should be opened to allow this communication to take 
place?

Thanks.



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] recommended plug-in to monitor error/collision rates of a client's network connection

2012-03-05 Thread Kaplan, Andrew H.
Hello --

Can anyone recommend a plug-in that can monitor the amount of errors and/or
collisions that
is occurring on a particular client? 

The version of Nagios that is currently being used is the 3.3.1 release.

Thanks. 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] disabling e-mail notifications for nagiosadmin account

2011-12-05 Thread Kaplan, Andrew H.
Hi there --

We are running Nagios 3.3.1, and have a two contacts set up for the e-mail
notifications. One of the contacts
is the nagiosadmin user. This is the user account that was first setup during
the initial installation of the application.
When the account was set up it was configured with the e-mail address of one of
our network administrators.

A second account was set up that was based on the administrator's login account
along with his e-mail address.
When notifications are sent out, he gets two notifications for each event due to
both contacts having the same
e-mail address.

We want to prevent the e-mail notifications being sent to the nagiosadmin
account with the administrator getting
only one notification per event as the intended result. One thought was to set
up a dummy account on the Nagios
server as a solution, and another idea was to set up a flag in the contacts.cfg
file, but we are not sure what the
would be the correct syntax for the latter.

What would be the best solution here?

Thanks. 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Changing the version of nagios that appears in the e-mail notifications

2011-11-30 Thread Kaplan, Andrew H.
Hi there --

We are running a Nagios 3.3.1 that had been successfully upgraded from the
version 3.1.2 release. The e-mail notifications 
are working properly, but I did notice one unusual condition. The version of
Nagios that is mentioned in the message indicates
an earlier Nagios release. An excerpt from one such e-mail is shown below:

* Nagios 2.6 *

Notification Type: PROBLEM

I would like to change the version that is displayed to reflect that of the
release that is currently on the server. What file(s) do I 
need to modify in order to accomplish this?

Thanks. 
   


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] problem with newly created checkcommand andservice

2011-11-23 Thread Kaplan, Andrew H.
Hi there --
 
The command definition for database_connection-time is the following:
 
define command {
command_namedatabase_connection-time
command_line
/usr/local/nagios/libexec/check_mssql_health --server=database
--username=username --password=password --port=port --mode=connection-time
 
There are arguments that are passed to the command. I did not remove the
exclamation point due to another command that also has 
arguments passed to it. For example:
 
define command {
command_name   check_nis_server
command_line
/usr/local/nagios/libexec/check_nis -H server -d domainname
 
has the following definition in the services.cfg file:
 
define service {
service_description   Check NIS Service
check_command  check_nis_server!
host_name server
check_period  24x7
notification_period   24x7
contact_groupslinux-admins
event_handler_enabled 0
active_checks_enabled 1
passive_checks_enabled0
notifications_enabled 1
check_freshness   0
freshness_threshold   86400
use   generic-service
 
One thing I came across so far. I had imported the configuration files into the
NConf utility database of the Nagios server. Among the files that were imported
was the
commands.cfg file. During the importation process, the commands.cfg file data
was imported into a field called checkcommands. When the NConf utility was
subsequently
used to generate new files, a checkcommands.cfg file was among the them. 
 
This file, along with the original commands.cfg file, is located in the
/usr/local/nagios/etc/objects directory. However, the nagios.cfg file does not
reference it. One idea that 
I had was to remove the reference within nagios.cfg to commands.cfg, and replace
it with a reference to checkcommands.cfg, and see what are the results.
 
What do you think?
 



 
 



From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Wednesday, November 23, 2011 2:26 AM
To: Nagios Users List
Subject: Re: [Nagios-users] problem with newly created checkcommand andservice


Hi,

Please show the command definition of database_connection-time.

Furthermore in the service definition you use the following line:

check_command   database_connection-time!

Didn't you want to pass arguments to the command? If they're already hardcoded
in the command definition you can leave the exclamation mark off.


On Tue, Nov 22, 2011 at 7:29 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:




Hi there --

I am going through the motions of adding a new checkcommand, and service
to the Nagios server. The command involves 
the check_mssql_health plugin which runs on the Nagios server. The
plugin gets in information via queries to a particular 

port on the Microsoft SQL server. Here are its particulars: 

/usr/local/nagios/libexec/check_mssql_health --server=database server
--username=username --password=password --port=port --mode=connection-time


The name of the checkcommand is: database_connection-time

Once the checkcommand was created, so was the service. The configuration
of the service in question, taken from the 
services.cfg file, is shown below:

define service {
service_description Database Connection Time
check_command   database_connection-time!
host_name   database server
check_period24x7
contact_groups  nt-admins,linux-admins,admins
event_handler_enabled   0
active_checks_enabled   1
passive_checks_enabled  0
notifications_enabled   1
check_freshness 0
freshness_threshold 86400
use generic-service
}

To verify the new configuration would work, the command: 

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

was run to verify the configuration. It was here the error message: 

Checking services...
Error: Service check command 'database_connection-time'
specified in service 'Database Connection Time' for host 'database server' not
defined anywhere!

I verified the syntax of the command

Re: [Nagios-users] problem with newly created checkcommandandservice

2011-11-23 Thread Kaplan, Andrew H.
Hi there --
 
I found the answer to the problem. Working in conjunction with you and another
colleague, I noticed the checkcommands.cfg and commands.cfg files were both
present 
in the objects directory. Additionally the two files were found to have the same
command syntax with the exception of the former having the command reference in
it.
 
I then checked the nagios.cfg file, and there was a line referring to
commands.cfg but not the checkcommands.cfg file. I changed the reference to
point to the latter file,
and that solved the problem.
 
Thanks for the help in any event. 



From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Wednesday, November 23, 2011 10:22 AM
To: Nagios Users List
Subject: Re: [Nagios-users] problem with newly created checkcommandandservice


Did you replace the $ARGX$ options by database etc or did you really write
them like this?


The command definition should look like this:

define command {
command_name database_connection-time
command_line /usr/local/nagios/libexec/check_mssql_health
--server=$HOSTADDRESS$ --username=$ARG1$ --password=$ARG2$ --port=$ARG3$
--mode=connection-time
}


And the service should then pass the arguments to the command:

define service {
service_description Database Connection Time
check_command   database_connection-time!username!mypasswd!1433
host_name   database server
check_period24x7
contact_groups  nt-admins,linux-admins,admins
event_handler_enabled   0
active_checks_enabled   1
passive_checks_enabled  0
notifications_enabled   1
check_freshness 0
freshness_threshold 86400
use generic-service
}

With this you're passing three arguments to the command (username, password and
port). The value for --server is automatically using the IP-Address (or DNS
name) of your defined host ($HOSTADDRESS$).


On Wed, Nov 23, 2011 at 2:35 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:



Hi there --
 
The command definition for database_connection-time is the following:
 
define command {
command_name
database_connection-time
command_line
/usr/local/nagios/libexec/check_mssql_health --server=database
--username=username --password=password --port=port --mode=connection-time
 
There are arguments that are passed to the command. I did not remove the
exclamation point due to another command that also has 
arguments passed to it. For example:
 
define command {
command_name   check_nis_server
command_line
/usr/local/nagios/libexec/check_nis -H server -d domainname
 
has the following definition in the services.cfg file:
 
define service {
service_description   Check NIS Service
check_command  check_nis_server!
host_name server
check_period  24x7
notification_period   24x7
contact_groupslinux-admins 

event_handler_enabled 0
active_checks_enabled 1
passive_checks_enabled0
notifications_enabled 1
check_freshness   0
freshness_threshold   86400
use   generic-service
 
One thing I came across so far. I had imported the configuration files
into the NConf utility database of the Nagios server. Among the files that were
imported was the
commands.cfg file. During the importation process, the commands.cfg file
data was imported into a field called checkcommands. When the NConf utility was
subsequently
used to generate new files, a checkcommands.cfg file was among the them.

 
This file, along with the original commands.cfg file, is located in the
/usr/local/nagios/etc/objects directory. However, the nagios.cfg file does not
reference it. One idea that 
I had was to remove the reference within nagios.cfg to commands.cfg, and
replace it with a reference to checkcommands.cfg, and see what are the results.
 
What do you think?
 



 
 



From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Wednesday, November 23, 2011 2:26 AM
To: Nagios Users List

[Nagios-users] problem with newly created checkcommand and service

2011-11-22 Thread Kaplan, Andrew H.
Hi there --

I am going through the motions of adding a new checkcommand, and service to the
Nagios server. The command involves 
the check_mssql_health plugin which runs on the Nagios server. The plugin gets
in information via queries to a particular 
port on the Microsoft SQL server. Here are its particulars: 

/usr/local/nagios/libexec/check_mssql_health --server=database server
--username=username --password=password --port=port --mode=connection-time


The name of the checkcommand is: database_connection-time

Once the checkcommand was created, so was the service. The configuration of the
service in question, taken from the 
services.cfg file, is shown below:

define service {
service_description Database Connection Time
check_command   database_connection-time!
host_name   database server
check_period24x7
contact_groups  nt-admins,linux-admins,admins
event_handler_enabled   0
active_checks_enabled   1
passive_checks_enabled  0
notifications_enabled   1
check_freshness 0
freshness_threshold 86400
use generic-service
}

To verify the new configuration would work, the command: 

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg 

was run to verify the configuration. It was here the error message: 

Checking services...
Error: Service check command 'database_connection-time' specified in
service 'Database Connection Time' for host 'database server' not defined
anywhere!

I verified the syntax of the command in the checkcommands.cfg file, including
the name given to the command. Why would Nagios 
think the service check command is not defined, and return this error? 





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] e-mail notifications not being sent

2011-11-21 Thread Kaplan, Andrew H.
Hi there --

I completed the installation of Nagios 3.3.1, and I am going through the testing
process. The server is able to successfully monitor
our various clients, but e-mail notifications for critical conditions are not
being sent to the intended recipient. The e-mail server that
is on the Nagios server is the Postfix message transfer agent. 

The troubleshooting steps that I have taken so far are the following:

1. I have been able to send a test e-mail from the Nagios server to the intended
recipient using two different mail commands. The test 
e-mail was done from the command line using the mail and mailx commands
using the command syntax:

mail e-mail address  /etc/fstab 
mailx -s test e-mail address  /etc/fstab

2. I checked the contacts.cfg file, and confirmed the intended recipient is
listed with the correct address.

3. I checked the nagios.log, and there were entries that were similar to the
following:

[1321385615] Warning: Attempting to execute the command /usr/bin/printf %b
* Nagios 2.6 *\n\nNotification Type: PROBLEM\nHost: ... Date/Time: Tue
Nov 15 14:33:35 EST 2011\n | 
/bin/mail -...e-mail address resulted in a return code of 127.  Make sure the
script or binary you are trying to execute actually exists...

I did a search for the mail binary, and there was none at that location. To
correct the problem, I created a symbolic that pointed to the actual 
location of the mail binary which was located at the /usr/bin/ folder.

4. As far as I can tell, all hosts have e-mail notifications enabled on them.

What other steps do I need to take in order to get e-mail notifications to work
here?

Thanks. 




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] e-mail notifications not being sent

2011-11-21 Thread Kaplan, Andrew H.
Hi there --
 
I checked the nagios.log file, and the problem was due to the mail binary not
being at the /bin folder. I created a symbolic link
at that location to point to the /usr/bin/mail binary. Once that was done,
notifications were sent to the recipient. 
 
As a follow-up, the address of the Nagios server is shown to be
nagios@localdomain. I would like to change that to reflect the
name of the server. What file(s) do I need to modify in order to make that
happen?
 
Thanks. 



From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Monday, November 21, 2011 3:25 PM
To: Nagios Users List
Subject: Re: [Nagios-users] e-mail notifications not being sent


Maybe you have to replace the mail program by something on your system, e.g.
/usr/bin/mailx.
That's always one of the first things I change in a new Nagios installation.
What OS are you using? Try to install the required programs (mail/mailx...) if
they can't be found in your system.


On Mon, Nov 21, 2011 at 8:25 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:




Hi there -- 

I completed the installation of Nagios 3.3.1, and I am going through the
testing process. The server is able to successfully monitor

our various clients, but e-mail notifications for critical conditions
are not being sent to the intended recipient. The e-mail server that

is on the Nagios server is the Postfix message transfer agent. 

The troubleshooting steps that I have taken so far are the following: 

1. I have been able to send a test e-mail from the Nagios server to the
intended recipient using two different mail commands. The test 

e-mail was done from the command line using the mail and mailx
commands using the command syntax: 

mail e-mail address  /etc/fstab 
mailx -s test e-mail address  /etc/fstab 

2. I checked the contacts.cfg file, and confirmed the intended recipient
is listed with the correct address. 

3. I checked the nagios.log, and there were entries that were similar to
the following: 

[1321385615] Warning: Attempting to execute the command /usr/bin/printf
%b * Nagios 2.6 *\n\nNotification Type: PROBLEM\nHost: ... Date/Time:
Tue Nov 15 14:33:35 EST 2011\n | 

/bin/mail -...e-mail address resulted in a return code of 127.  Make
sure the script or binary you are trying to execute actually exists...

I did a search for the mail binary, and there was none at that location.
To correct the problem, I created a symbolic that pointed to the actual 

location of the mail binary which was located at the /usr/bin/ folder. 

4. As far as I can tell, all hosts have e-mail notifications enabled on
them. 

What other steps do I need to take in order to get e-mail notifications
to work here? 

Thanks. 




The information in this e-mail is intended only for the person to whom
it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you
in error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.


--
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null



--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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_nis plugin not getting responses

2011-11-20 Thread Kaplan, Andrew H.
Hi there --

We are running a Nagios 3.3.1 server, which is being deployed to replace an
older 3.1.2 server. Part of the process involved importing 
the plugins that were in use on the old server to the new one via the Nconf
utility. One such item is the check_nis plugin. This plugin
has been proven to work without issue on the older Nagios server, so it was
thought it should be able to work like the others on the new
server. The plugin does appear to run without errors on the new server, but when
it queries the NIS server, it gets the following error message:

NIS CRITICAL - domain domainname not answering  

I have checked the syslog.log log file of the target NIS server for any
reference for errors pertaining to the plugin, but there were none. I did a
similar check on the Nagios server, but there were no entries as such in the
nagios.log, messages, or syslog files. I also did a restart of the 
nrpe daemon on the client to see if that would make a difference, but it did not
appear to do so, neither did running the plugin from the command
line yield the desired results.

Does anyone have any idea as to why the script is no longer working? Thanks. 



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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_nis plugin not getting responses

2011-11-20 Thread Kaplan, Andrew H.
Hi there --
 
I found the answer to the problem: I had not installed the NIS package on the
Nagios server. The package includes
the ypbind binary which is needed for the check_nis plugin to operate. Once the
ypbind binary was in place, the 
check of the NIS server was successful. 



From: Kaplan, Andrew H. 
Sent: Sunday, November 20, 2011 1:30 PM
To: Nagios Users List
Subject: [Nagios-users] check_nis plugin not getting responses



Hi there -- 

We are running a Nagios 3.3.1 server, which is being deployed to replace an
older 3.1.2 server. Part of the process involved importing 

the plugins that were in use on the old server to the new one via the Nconf
utility. One such item is the check_nis plugin. This plugin

has been proven to work without issue on the older Nagios server, so it was
thought it should be able to work like the others on the new

server. The plugin does appear to run without errors on the new server, but when
it queries the NIS server, it gets the following error message:

NIS CRITICAL - domain domainname not answering  

I have checked the syslog.log log file of the target NIS server for any
reference for errors pertaining to the plugin, but there were none. I did a

similar check on the Nagios server, but there were no entries as such in the
nagios.log, messages, or syslog files. I also did a restart of the 

nrpe daemon on the client to see if that would make a difference, but it did not
appear to do so, neither did running the plugin from the command

line yield the desired results. 

Does anyone have any idea as to why the script is no longer working? Thanks. 



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail. 
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 Microsoft SQL Server

2011-11-18 Thread Kaplan, Andrew H.
Hi there --
 
I finally got both the check_mssql and check_mssql_health scripts to work with
the server in question. Listed below are the notes
that I took during the testing process. I hope they are of use, and if there are
any questions, please feel free to contact me at your
convenience. Thanks again to everyone for the help.
 
NOTE: The SQL Server in this scenario uses named instances, which result in
dynamic TCP/IP ports being used rather than 

static ones. The ports can be identified by running the SQL Server Configuration
Manager utility. Once the utility is open, go 

to the SQL Server Network Configuration section. Select the database in question
from the list of Protocols for... entries. 

Double-click on the TCP/IP option listed in the right pane. Select the IP
Addresses tab of the window that appears on-screen. 

Scroll down to the IPAll section, and make note of the value that is listed next
to the TCP Dynamic Ports field. That value is what 

will be used in the command syntax when running the script.

 

The user account, sa, along with its password will be needed to successfully
access the database. The command syntax, 

with the resulting output is shown below. 

 

check_mssql -H ip address  --username sa --password password --port dynamic
TCP port

 

OK: Connect time=0.022503 seconds.

 

When using the check_mssql_health plugin, the first thing that needs to be done
is to add an entry of the SQL server to the 

/etc/freetds/freetds.conf file. This file is used by the plugin to connect to
the server. An excerpt of the file is shown below:

 

# SQL Server Name

[name of sql server]- name of the server
used in the command syntax

host = ip address or fqdn

port = dynamic tcp port   - TCP Dynamic port used by
the server instance  

tds version = 7.0

 

An example of the command syntax that is used to connect to the server is the
following:

 

/usr/local/nagios/libexec/check_mssql_health --server=name of sql server
--username=sa 

--password=password --port=dynamic tcp port --mode=connection-time

 

The output of the above command is shown below:

 

OK - 0.06 seconds to connect as sa | connection_time=0.06;1;5




From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Thursday, November 17, 2011 3:33 PM
To: Kaplan, Andrew H.
Cc: Nagios Users List
Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server


The other ports don't appear like typical MSSQL ports.
Do you have by any chance the Windows firewall still active? Maybe the port is
being blocked there?
http://support.microsoft.com/kb/968872

Or do you use a named instance? I found this information on
http://benchmarkitconsulting.com/colin-stasiuk/2009/02/02/what-tcp-port-is-sql-s
erver-running-under/: If you have a named instance the TCP port is dynamically
configured.
I've never seen this in a practical way before though.



On Thu, Nov 17, 2011 at 8:59 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:



Hi there --
 
I tried connecting to port 1433 of the SQL server, and the connection
was refused. It appears that efforts to connect via the default
port will not work in this case. I took the liberty of running the
nestat -abn command syntax on the console of the SQL server, and
searched for all references to the sqlservr.exe binary. The results are
shown below:
 
Active Connections

[sqlservr.exe]

TCP 0.0.0.0:58477 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 0.0.0.0:62502 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 0.0.0.0:65249 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:58751 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:62503 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:63954 127.0.0.1:63955 ESTABLISHED

[sqlservr.exe]

TCP 192.168.40.114:62502 192.168.40.122:50342 ESTABLISHED

[sqlservr.exe]

TCP 192.168.40.114:62502 192.168.40.125:60257 ESTABLISHED

[sqlservr.exe]

TCP 192.168.125.1:139 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP [::]:58477 [::]:0 LISTENING

[sqlservr.exe]

TCP [::]:62502 [::]:0 LISTENING

[sqlservr.exe]

TCP [::]:65249 [::]:0 LISTENING

[sqlservr.exe]

TCP [::1]:58751 [::]:0 LISTENING

[sqlservr.exe]

TCP [::1]:62005 [::1]:62006 ESTABLISHED

[sqlservr.exe]

UDP 0.0.0.0:123 *:* 

 

If the default port, 1433, is not reachable would one the above ports be
the alternate means of connecting to the server?

 

 







From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Thursday, November 17, 2011 1:39 PM 

To: Nagios Users List
Subject: Re

Re: [Nagios-users] Monitoring a Microsoft SQL Server

2011-11-17 Thread Kaplan, Andrew H.
Hi there --

Thanks for your reply. I tried your suggestion on the two plugins, and here are
the results.

When the command syntax for check_mssql was the following:

./check_mssql -H ip address -U domain\\username -P password

or

./check_mssql -H ip address -U 'domain\\username' -P password

The error message displayed on-screen was:

UNKNOWN: Invalid characters in the username.

Using a similar command syntax with check_mssql_health:

./check_mssql_health --hostname=ip address --username=domain\\username
--password=password --mode=connection-time

Resulted in the following:

CRITICAL - cannot connect to 172.27.45.6. DBI connect(';host=ip
address;port=1433','domain\username',...) failed: (no error string) at
./check_mssql_health line 2175

One thought came to mind: It is possible the port that is the target of either
script, 1433, may not be the correct one. Is there a way to determine what port
the SQL server has open?



-Original Message-
From: Spook ZA [mailto:spoo...@gmail.com] 
Sent: Thursday, November 17, 2011 2:43 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server

Hi.

On 16 November 2011 19:40, Kaplan, Andrew H. ahkap...@partners.org wrote:
 I am trying to monitor several Microsoft SQL Server 2008R2 systems, and I am
experimenting with several plugins.

 The first plugin that I am testing is the check_mssql plugin. I am having
problems gaining access to the server,
 and I am not sure where the syntax error is in the command. The command syntax
that is being used is the following:

 ./check_mssql -H ip address -U username -P password

 The username being entered is a domain user account. The name is used either
by itself or as domain\username.
 All attempts have resulted in the following error:

 CRITICAL: Could not connect to ip address as username.

 Another plugin that I am testing is the check_mssql_health plugin. Using the
command syntax shown below:

 ./check_mssql_health --hostname=ip address --username=username
--password=password --mode=connection-time

You may have to escape the backslash - i.e. domain\\username
I have not used these plugins as yet but have had similar issues in
other areas when trying to connect to a windows platform.


 The username here is the same as that used in the previous plugin. The
connection attempts all failed with the
 following error message appearing on-screen:

 CRITICAL - cannot connect to 172.27.45.252. DBI
connect(';host=172.27.45.252;port=1433','ahk',...)
 failed: (no error string) at ./check_mssql_health line 2175

 Has anyone had success working with either of these plugins, and if so, what
would be the correct syntax to use here?

Regards,
  Andy.

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 Microsoft SQL Server

2011-11-17 Thread Kaplan, Andrew H.
Hi there --
 
I tried connecting to port 1433 of the SQL server, and the connection was
refused. It appears that efforts to connect via the default
port will not work in this case. I took the liberty of running the nestat -abn
command syntax on the console of the SQL server, and
searched for all references to the sqlservr.exe binary. The results are shown
below:
 
Active Connections

[sqlservr.exe]

TCP 0.0.0.0:58477 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 0.0.0.0:62502 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 0.0.0.0:65249 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:58751 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:62503 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:63954 127.0.0.1:63955 ESTABLISHED

[sqlservr.exe]

TCP 192.168.40.114:62502 192.168.40.122:50342 ESTABLISHED

[sqlservr.exe]

TCP 192.168.40.114:62502 192.168.40.125:60257 ESTABLISHED

[sqlservr.exe]

TCP 192.168.125.1:139 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP [::]:58477 [::]:0 LISTENING

[sqlservr.exe]

TCP [::]:62502 [::]:0 LISTENING

[sqlservr.exe]

TCP [::]:65249 [::]:0 LISTENING

[sqlservr.exe]

TCP [::1]:58751 [::]:0 LISTENING

[sqlservr.exe]

TCP [::1]:62005 [::1]:62006 ESTABLISHED

[sqlservr.exe]

UDP 0.0.0.0:123 *:* 

 

If the default port, 1433, is not reachable would one the above ports be the
alternate means of connecting to the server?

 

 





From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Thursday, November 17, 2011 1:39 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server


Please let us know if you get it working - I might have to add such a check soon
as well.

To answer your question: 1433 is the standard port of MSSQL so that should be
ok. You can launch nmap or a simple telnet to double-check that.


On Thu, Nov 17, 2011 at 4:34 PM, Jim Avery j...@jimavery.me.uk wrote:


On 17 November 2011 15:17, Kaplan, Andrew H. ahkap...@partners.org
wrote:
 Hi there --

 Thanks for your reply. I tried your suggestion on the two plugins, and
here are
 the results.

 When the command syntax for check_mssql was the following:

 ./check_mssql -H ip address -U domain\\username -P password

 or

 ./check_mssql -H ip address -U 'domain\\username' -P password

 The error message displayed on-screen was:

 UNKNOWN: Invalid characters in the username.



The check_mssql plugin is way too fussy about what characters it will
allow in host names and user names.  On my system I edited the plugin
to remove the if/else sections entirely below the comments //
Validate the hostname and // Validate the username.

hth,

Jim



--
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 Microsoft SQL Server

2011-11-17 Thread Kaplan, Andrew H.
Hi there --
 
I made some progress on my end. To start off, I confirmed the firewall is
disabled on the SQL server. I then investigated the possibility that a named
instance was being used
on the server. It turns out that is the case. I then went to the SQL Server
Configuration Manager utility/Network Configuration, and made note of the TCP
Dynamic Ports value. 
Using that information, I entered the following command syntax:
 
check_mssql -H ip address --username sa --password password --port dynamic
port
 
The result was the following:

OK: Connect time=0.006639 seconds.
 
I then tried to run the check_mssql_health plugin using the syntaxes shown
below:
 
./check_mssql_health --hostname=ip address --username=sa --password=password
--port=dynamic port --mode=connection-time
./check_mssql_health --hostname ip address --username sa --password password
--port dynamic port --mode connection-time
 
The error message that I encountered in both cases was the following:
 
CRITICAL - cannot connect to ip address. DBI connect(';host=ip
address;port=62502','sa',...) failed: (no error string) at
/usr/local/nagios/libexec/check_mssql_health line 2175
 
If I can get the latter plugin to work, that will enable more extensive checking
of the server. What could be the problem here?
 
Thanks. 
 
 



From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Thursday, November 17, 2011 3:33 PM
To: Kaplan, Andrew H.
Cc: Nagios Users List
Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server


The other ports don't appear like typical MSSQL ports.
Do you have by any chance the Windows firewall still active? Maybe the port is
being blocked there?
http://support.microsoft.com/kb/968872

Or do you use a named instance? I found this information on
http://benchmarkitconsulting.com/colin-stasiuk/2009/02/02/what-tcp-port-is-sql-s
erver-running-under/: If you have a named instance the TCP port is dynamically
configured.
I've never seen this in a practical way before though.



On Thu, Nov 17, 2011 at 8:59 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:



Hi there --
 
I tried connecting to port 1433 of the SQL server, and the connection
was refused. It appears that efforts to connect via the default
port will not work in this case. I took the liberty of running the
nestat -abn command syntax on the console of the SQL server, and
searched for all references to the sqlservr.exe binary. The results are
shown below:
 
Active Connections

[sqlservr.exe]

TCP 0.0.0.0:58477 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 0.0.0.0:62502 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 0.0.0.0:65249 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:58751 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:62503 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP 127.0.0.1:63954 127.0.0.1:63955 ESTABLISHED

[sqlservr.exe]

TCP 192.168.40.114:62502 192.168.40.122:50342 ESTABLISHED

[sqlservr.exe]

TCP 192.168.40.114:62502 192.168.40.125:60257 ESTABLISHED

[sqlservr.exe]

TCP 192.168.125.1:139 0.0.0.0:0 LISTENING

[sqlservr.exe]

TCP [::]:58477 [::]:0 LISTENING

[sqlservr.exe]

TCP [::]:62502 [::]:0 LISTENING

[sqlservr.exe]

TCP [::]:65249 [::]:0 LISTENING

[sqlservr.exe]

TCP [::1]:58751 [::]:0 LISTENING

[sqlservr.exe]

TCP [::1]:62005 [::1]:62006 ESTABLISHED

[sqlservr.exe]

UDP 0.0.0.0:123 *:* 

 

If the default port, 1433, is not reachable would one the above ports be
the alternate means of connecting to the server?

 

 







From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Thursday, November 17, 2011 1:39 PM 

To: Nagios Users List
Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server


Please let us know if you get it working - I might have to add such a
check soon as well.

To answer your question: 1433 is the standard port of MSSQL so that
should be ok. You can launch nmap or a simple telnet to double-check that.


On Thu, Nov 17, 2011 at 4:34 PM, Jim Avery j...@jimavery.me.uk wrote:


On 17 November 2011 15:17, Kaplan, Andrew H.
ahkap...@partners.org wrote:
 Hi there --

 Thanks for your reply. I tried your suggestion on the two
plugins, and here are
 the results.

 When the command syntax for check_mssql was the following:

 ./check_mssql -H ip address -U domain\\username -P
password

[Nagios-users] Monitoring a Microsoft SQL Server

2011-11-16 Thread Kaplan, Andrew H.
Hi there --

I am trying to monitor several Microsoft SQL Server 2008R2 systems, and I am
experimenting with several plugins.

The first plugin that I am testing is the check_mssql plugin. I am having
problems gaining access to the server,
and I am not sure where the syntax error is in the command. The command syntax
that is being used is the following:

./check_mssql -H ip address -U username -P password

The username being entered is a domain user account. The name is used either by
itself or as domain\username.
All attempts have resulted in the following error:

CRITICAL: Could not connect to ip address as username.

Another plugin that I am testing is the check_mssql_health plugin. Using the
command syntax shown below:

./check_mssql_health --hostname=ip address --username=username
--password=password --mode=connection-time

The username here is the same as that used in the previous plugin. The
connection attempts all failed with the 
following error message appearing on-screen:

CRITICAL - cannot connect to 172.27.45.252. DBI
connect(';host=172.27.45.252;port=1433','ahk',...) 
failed: (no error string) at ./check_mssql_health line 2175

Has anyone had success working with either of these plugins, and if so, what
would be the correct syntax to use here?

Also, the SQL servers all have the OpMon agent installed on them as a means to
monitor disk space usage, and other
services. Does OpMon have the means, or is there a plugin that can be installed
on the Windows servers that would enable
the monitoring of the SQL servers?

Thanks. 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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_mssql_health connection problem

2011-10-24 Thread Kaplan, Andrew H.
Hi there --

I have completed the installation of the check_mssql_health plugin onto a Nagios
3.2.3 64-bit server running on the CentOS 6.0 distribution. 
When I try to connect to a remote server running MSSQL Server 2008 R2, the
following command syntaxes are used:

./check_mssql_health --server=fully qualfified domain name
--username=username --password=password --mode=connection-time
./check_mssql_health --hostname=fully qualfified domain name
--username=username --password=password --mode=connection-time


The error message that I am receiving is the following:

CRITICAL - cannot connect to fully qualified domain name. DBI
connect(';server=fully qualified domain name',username',...) failed: 
OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (41)
Server fully qualified domain name, database
Message String: Server is unavailable or does not exist.
 at ./check_mssql_health line 2175

I have confirmed the hostname of the SQL server, as well as username and
password to access the database. The syntax for the username
was either username or domainname\username during the testing. The port of
the server is the default port which, if I am not mistaken,
is port 1433.

I have tried several sql modes with the same error message appearing each time.
Can someone lend a hand here?

Thanks. 






The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Internal Server Error when trying to access Nagios 3 on an Ubuntu 10.04 LTS system

2011-10-20 Thread Kaplan, Andrew H.
Hi there --

I went through the motions of installing the  Nagios 3.2.0-4ubuntu2.2 package on
an Ubuntu 10.04 LTS
32-bit system. The packages shown below were also installed with the core
software:

nagcon 0.0.30-0ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagco
nversion=0%2E0%2E30%2D0ubuntu1K-O  console
application interfacing to Nagios
nagios-images 0.5
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dimagesversion=0%2E5   K-O  Collection of
images and icons for the nagios system   
nagios-nrpe-plugin 2.12-4ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dnrpe%2Dpluginversion=2%2E12%2D4ubuntu1K-O  Nagios
Remote Plugin Executor Plugin
nagios-nrpe-server 2.12-4ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dnrpe%2Dserverversion=2%2E12%2D4ubuntu1K-O  Nagios
Remote Plugin Executor Server
nagios-plugins 1.4.14-1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dpluginsversion=1%2E4%2E14%2D1ubuntu1  K-O  Plugins
for the nagios network monitoring and management system  
nagios-plugins-basic 1.4.14-1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dplugins%2Dbasicversion=1%2E4%2E14%2D1ubuntu1  K-O  Plugins
for the nagios network monitoring and management system  
nagios-plugins-extra 1.4.14-1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dplugins%2Dextraversion=1%2E4%2E14%2D1ubuntu1  K-O  Plugins
for the nagios network monitoring and manegement system. 
nagios-plugins-standard 1.4.14-1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dplugins%2Dstandardversion=1%2E4%2E14%2D1ubuntu1   K-O  Plugins
for the nagios network monitoring and management system  
nagios-snmp-plugins 1.1.1-6
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dsnmp%2Dpluginsversion=1%2E1%2E1%2D6   K-O  SNMP
Plugins for nagios   
nagios-statd-client 3.12-1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dstatd%2Dclientversion=3%2E12%2D1  K-O  Nagios client
for monitoring remote system information 
nagios-statd-server 3.12-1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dstatd%2Dserverversion=3%2E12%2D1  K-O  Nagios server
for monitoring remote system information 
nagios3-cgi 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Dcgiversion=3%2E2%2E0%2D4ubuntu2%2E2  K-O  cgi
files for nagios3
nagios3-common 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Dcommonversion=3%2E2%2E0%2D4ubuntu2%2E2   K-O  support files
for nagios3  
nagios3-core 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Dcoreversion=3%2E2%2E0%2D4ubuntu2%2E2 K-O  A
host/service/network monitoring and management system core files 
nagios3-dbg 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Ddbgversion=3%2E2%2E0%2D4ubuntu2%2E2  K-O
debugging symbols and debug stuff for nagios3
nagios3-doc 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Ddocversion=3%2E2%2E0%2D4ubuntu2%2E2  K-O
documentation for nagios3
nagiosgrapher 1.7.1-1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
sgrapherversion=1%2E7%2E1%2D1 K-O
Charting add-on for Nagios   
nagvis 1.3.1-3
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagvi
sversion=1%2E3%2E1%2D3K-O
Visualization addon for Nagios   
ndoutils-common 1.4b7-11build1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=ndout
ils%2Dcommonversion=1%2E4b7%2D11build1K-O  This
provides the NDOUtils for Nagios with MySQL support  
nsca 2.7.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nsca;
version=2%2E7%2E2  K-O  Nagios service
monitor agent   


The server is already configured as a LAMP server with the Apache 2.2.14, and
MySQL 5.1.41 applications with the PHP 5.3.2 

Re: [Nagios-users] Internal Server Error when trying to access Nagios 3on an Ubuntu 10.04 LTS system

2011-10-20 Thread Kaplan, Andrew H.
Hi there --
 
Sorry about the false alarm. The issue was the absence of an htpasswd.users
file. Once that was put into place, access
to the web interface was successful. 



From: Kaplan, Andrew H. 
Sent: Thursday, October 20, 2011 12:07 PM
To: Nagios Users List
Subject: [Nagios-users] Internal Server Error when trying to access Nagios 3on
an Ubuntu 10.04 LTS system



Hi there -- 

I went through the motions of installing the  Nagios 3.2.0-4ubuntu2.2 package on
an Ubuntu 10.04 LTS 
32-bit system. The packages shown below were also installed with the core
software: 

nagcon 0.0.30-0ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagco
nversion=0%2E0%2E30%2D0ubuntu1   K-O  console
application interfacing to Nagios   
nagios-images 0.5
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dimagesversion=0%2E5K-O  Collection of
images and icons for the nagios system

nagios-nrpe-plugin 2.12-4ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dnrpe%2Dpluginversion=2%2E12%2D4ubuntu1 K-O
Nagios Remote Plugin Executor Plugin
nagios-nrpe-server 2.12-4ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dnrpe%2Dserverversion=2%2E12%2D4ubuntu1 K-O
Nagios Remote Plugin Executor Server
nagios-plugins 1.4.14-1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dpluginsversion=1%2E4%2E14%2D1ubuntu1   K-O  Plugins
for the nagios network monitoring and management system 

nagios-plugins-basic 1.4.14-1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dplugins%2Dbasicversion=1%2E4%2E14%2D1ubuntu1 K-O  Plugins
for the nagios network monitoring and management system 

nagios-plugins-extra 1.4.14-1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dplugins%2Dextraversion=1%2E4%2E14%2D1ubuntu1 K-O  Plugins
for the nagios network monitoring and manegement system.

nagios-plugins-standard 1.4.14-1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dplugins%2Dstandardversion=1%2E4%2E14%2D1ubuntu1  K-O  Plugins
for the nagios network monitoring and management system 

nagios-snmp-plugins 1.1.1-6
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dsnmp%2Dpluginsversion=1%2E1%2E1%2D6  K-O  SNMP
Plugins for nagios 
nagios-statd-client 3.12-1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dstatd%2Dclientversion=3%2E12%2D1   K-O  Nagios
client for monitoring remote system information  

nagios-statd-server 3.12-1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s%2Dstatd%2Dserverversion=3%2E12%2D1   K-O  Nagios
server for monitoring remote system information  

nagios3-cgi 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Dcgiversion=3%2E2%2E0%2D4ubuntu2%2E2 K-O  cgi
files for nagios3   
nagios3-common 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Dcommonversion=3%2E2%2E0%2D4ubuntu2%2E2  K-O  support files
for nagios3   
nagios3-core 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Dcoreversion=3%2E2%2E0%2D4ubuntu2%2E2K-O  A
host/service/network monitoring and management system core files  

nagios3-dbg 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Ddbgversion=3%2E2%2E0%2D4ubuntu2%2E2 K-O
debugging symbols and debug stuff for nagios3   
nagios3-doc 3.2.0-4ubuntu2.2
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
s3%2Ddocversion=3%2E2%2E0%2D4ubuntu2%2E2 K-O
documentation for nagios3   
nagiosgrapher 1.7.1-1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagio
sgrapherversion=1%2E7%2E1%2D1K-O  Charting
add-on for Nagios  
nagvis 1.3.1-3
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=nagvi
sversion=1%2E3%2E1%2D3   K-O
Visualization addon for Nagios  
ndoutils-common 1.4b7-11build1
https://132.183.12.140:12321/software/edit_pack.cgi?search=nagiospackage=ndout
ils%2Dcommonversion=1%2E4b7%2D11build1   K

[Nagios-users] Problem accessing the status map page

2011-10-20 Thread Kaplan, Andrew H.
Hi there --

This e-mail is sort of a sequel to a previous e-mail that I posted about a
similar issue. The Nagios server'
is the 3.2.0 release on an Ubuntu LTS 10.04 32-bit system. I am able to access
the web interface of the
server, but one page of the interface, Status Map, returns an Internal Server
Error message. 

As part of the troubleshooting process, I ran the statusmap.cgi file as root
from a terminal prompt. The output
of the command is shown below:

./statusmap.cgi: symbol lookup error: ./statusmap.cgi: undefined symbol:
gdImageCreateFromJpeg

I checked for the presence of the gd libraries on the server, and the packages
that are installed are the following:

libgd-gd2-perl 2.39-2build1
https://132.183.12.140:12321/software/edit_pack.cgi?search=gdpackage=libgd%2Dg
d2%2Dperlversion=2%2E39%2D2build1 K-O  Perl
module wrapper for libgd - gd2 variant
libgd2-xpm 2.0.36~rc1~dfsg-3.1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=gdpackage=libgd2%2D
xpmversion=2%2E0%2E36%7Erc1%7Edfsg%2D3%2E1ubuntu1 K-O
GD Graphics Library version 2
libgd2-xpm-dev 2.0.36~rc1~dfsg-3.1ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=gdpackage=libgd2%2D
xpm%2Ddevversion=2%2E0%2E36%7Erc1%7Edfsg%2D3%2E1ubuntu1   K-O
GD Graphics Library version 2 (development version)  
libgdbm3 1.8.3-9
https://132.183.12.140:12321/software/edit_pack.cgi?search=gdpackage=libgdbm3;
version=1%2E8%2E3%2D9  K-O  GNU dbm
database routines (runtime version)  
php5-gd 5.3.2-1ubuntu4.10
https://132.183.12.140:12321/software/edit_pack.cgi?search=gdpackage=php5%2Dgd
version=5%2E3%2E2%2D1ubuntu4%2E10 P-T  GD
module for php5 

I did a similar check for the jpeg libraries on the server, and the packages
shown below have been installed on the system:

libjpeg62 6b-15ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=jpegpackage=libjpeg
62version=6b%2D15ubuntu1  K-O  The
Independent JPEG Group's JPEG runtime library
libjpeg62-dbg 6b-15ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=jpegpackage=libjpeg
62%2Ddbgversion=6b%2D15ubuntu1K-O
Development files for the IJG JPEG library   
libjpeg62-dev 6b-15ubuntu1
https://132.183.12.140:12321/software/edit_pack.cgi?search=jpegpackage=libjpeg
62%2Ddevversion=6b%2D15ubuntu1K-O
Development files for the IJG JPEG library

Are there any packages and/or libraries that I need to install on the server to
get past this issue? 

Thanks. 






The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] added host not appearing in web interface

2011-06-11 Thread Kaplan, Andrew H.
Hi Daniel --
 
Thanks for your reply. I took your advice concerning the configuration file, and
I have to confess my having done a rookie mistake.
 
There were older versions of the configuration files in the
/usr/local/nagios/etc directory, and I made the modifications to those files.
The problem
is, the current files used by Nagios are located in the
/usr/local/nagios/etc/objects folder. Once I made the changes in that location,
the host
appeared without issue.
 
Thanks again for the help.



From: Daniel Tuecks [mailto:dtue...@googlemail.com]
Sent: Sat 6/11/2011 7:32 AM
To: Nagios Users List
Subject: Re: [Nagios-users] added host not appearing in web interface



Hi Andrew,

wheater the NRPE daemon is running or not has nothing to do with your
host not appearing in the WebUI. In fact, it would be a little silly
if a host is only shown if its reachable ;) First check that Nagios
actually reads your config file (nagios.cfg: cfg_file/cfg_dir
parameters). Be sure you have defined that host in your nagios config
with at least one service (define host {  }; define service { 
}).  Also make sure your host/service definition has no register 0
parameter and that your user is allowed to see the host (by a
contact(group) or via authorized_for_all_hosts parameter in
cgi.cfg).

Daniel

2011/6/10 Kaplan, Andrew H. ahkap...@partners.org:
 Hi there --

 We are running Nagios 3.1.2 with the NRPE 2.12 client on our systems. We
 recently installed the VirtualBox application
 on one of our monitored systems, and have Ubuntu 10.04 LTS 64-bit as the
 guest operating system. We want to monitor
 the disk usage, processes, mysql server, and rsyslogd daemon on the virtual
 machine, so the NRPE client was installed
 and configured to start on system boot. After that was done, the appropriate
 changes were made to the various config files

 on the Nagios server. The virtual machine and Nagios server were rebooted,
 in that order, after the changes were made.

 When going through the web interface on the Nagios server, the virtual host
 does not appear listed in any of the pages.

 I confirmed the nrpe daemon was operational on the client, and also verified
 that port 5666 was open, and the firewall on the

 client was deactivated. The nrpe daemon is run via the /etc/rc.local file
 using the following command syntax:

 /usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d

 I checked the Nagios server, and confirmed the virtual host was listed in
 the /etc/hosts as well as the nagios configuration

 files. The nslookup command, run on server and client, confirmed the
 presence of the virtual host in the DNS database.

 What would cause the client not to appear in the Nagios web interface, and
 how can I correct it?

 Thanks.


 The information in this e-mail is intended only for the person to whom it is
 addressed. If you believe this e-mail was sent to you in error and the
 e-mail
 contains patient information, please contact the Partners Compliance
 HelpLine at
 http://www.partners.org/complianceline . If the e-mail was sent to you in
 error
 but does not contain patient information, please contact the sender and
 properly
 dispose of the e-mail.
 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue.
::: Messages without supporting info will risk being sent to /dev/null


winmail.dat--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https

[Nagios-users] added host not appearing in web interface

2011-06-10 Thread Kaplan, Andrew H.
Hi there --

We are running Nagios 3.1.2 with the NRPE 2.12 client on our systems. We
recently installed the VirtualBox application
on one of our monitored systems, and have Ubuntu 10.04 LTS 64-bit as the guest
operating system. We want to monitor
the disk usage, processes, mysql server, and rsyslogd daemon on the virtual
machine, so the NRPE client was installed
and configured to start on system boot. After that was done, the appropriate
changes were made to the various config files
on the Nagios server. The virtual machine and Nagios server were rebooted, in
that order, after the changes were made.

When going through the web interface on the Nagios server, the virtual host does
not appear listed in any of the pages. 
I confirmed the nrpe daemon was operational on the client, and also verified
that port 5666 was open, and the firewall on the
client was deactivated. The nrpe daemon is run via the /etc/rc.local file using
the following command syntax:

/usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d

I checked the Nagios server, and confirmed the virtual host was listed in the
/etc/hosts as well as the nagios configuration 
files. The nslookup command, run on server and client, confirmed the presence of
the virtual host in the DNS database.

What would cause the client not to appear in the Nagios web interface, and how
can I correct it? 

Thanks. 




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Checking the status of rsyslog

2011-06-09 Thread Kaplan, Andrew H.
Hi there --

I am running Nagios 3.1.2 with the nrpe 2.12 on an Ubuntu 10.04 64-bit server. I
want to monitor 
the status of the rsyslogd daemon, and be alerted if it is not running. 

What would be the best plugin to use to monitor the status of this daemon?

Thanks.


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Problem with check_mailq and check_smtp plugins

2011-04-15 Thread Kaplan, Andrew H.
Hi there --

I recently rebuilt an e-mail server from scratch, and part of the process was
restoring from disk backup the
nrpe directory that was one the original server. The original server ran on the
Fedora Core 7 32-bit distribution,
while the new one is running on the CentOS 5.6 64-bit operating system. The
version of nrpe that was restored
to the new server is 2.6, while that of the plugins is the 1.4.5 release. The
Nagios server is version 3.1.2 running
on a CentOS 5.3 32-bit distribution.

Two of the plugins that I use to monitor the e-mail portion of the server,
check_mailq and check_smtp, do not appear
to be working. The error messages that appear on the Nagios server web interface
are shown below:

Check Sendmail Queue
http://romonitor/nagios/cgi-bin/extinfo.cgi?type=2host=hadronservice=Check+Se
ndmail+Queue   (check_mailq)
CRITICAL04-15-2011 15:41:36 0d 3h 7m 54s4/4 CRITICAL: Error
code 78 returned from /usr/bin/mailq
Check Sendmail Server
http://romonitor/nagios/cgi-bin/extinfo.cgi?type=2host=hadronservice=Check+Se
ndmail+Server  (check_smtp)
CRITICAL04-15-2011 15:41:36 0d 3h 7m 54s4/4 Connection
refused 

I tried running both locally on the e-mail server, and while check_mailq appears
to work based on the output shown below:

/usr/local/nrpe/libexec/check_mailq -w 30 -c 40 -M sendmail
OK: mailq is empty|unsent=0;30;40;0 

the check_smtp plugin has the following output:

Connection refused
SMTP CRITICAL - 0.059 sec. response time|time=0.058524s;;;0.00

Other plugins that I run on the server, i.e: check_disk, check_zombie_procs,
check_imap, are all running without issue.

Does anyone have insight into what is going on, and how it can be corrected?
Thanks.




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Correct syntax to check paging file usage on Windows 2008 R2 64-bit server

2011-04-06 Thread Kaplan, Andrew H.
Hi there --

I am running Nagios 3.1.2 with OpMon, formally NSClient, agent 2.0 installed on
a Windows 2008 R2 64-bit system. I have several 
counters that are being monitored on the client including CPU Load, Disk Usage,
Memory Usage, Server Uptime, and Paging File Usage. 
All counters except Paging File Usage appear to be running without issue.

The error message that I am seeing with Paging File Usage is the following:

NSClient - ERROR INVALID COUNTER - PagingFile(_Total)% Usage - ERROR CODE:
0xCBB8 -  

I have a Windows 2003 R2 64-bit server that is being monitored with the same
counters, and the Paging File Usage counter does not
return an error. The syntax for the command in question, taken from the
commands.cfg file, is shown below:

# 'check_nt_pagingfile' command
define command{
command_namecheck_nt_pagingfile
command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 5667 -v COUNTER -l
\\PagingFile(_Total)\\% Usage,Paging Fileusage is %.2f%% -w $ARG1$ -c $ARG2$
}

Does anyone know what change(s) are needed to the above command, assuming it can
still be used, in order for it to accurately
keep track of the paging file in the Windows 2008 server?

Thanks.





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 who is connected to Samba share

2011-03-02 Thread Kaplan, Andrew H.
Hi there --

Is there a plug-in that will provide a list of users and/or computers that are
currently
connected to a samba share?

Thanks. 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] nagios ipv6 compatibility

2011-02-03 Thread Kaplan, Andrew H.
Hi there --

The network addressing scheme for our company is currently IPv4, but there are
plans to convert to the IPv6 methodology.
Does Nagios have any compatiblity issues with IPv6, or is it simply a matter of
modifying the appropriate files within the 
host server's operating system as well as the Nagios application?

Thanks.



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] CHECK_NRPE: No output returned with check_iptables.sh script

2011-01-18 Thread Kaplan, Andrew H.
Hi there --

 When you run it manually - how do you do it ? check_nrpe -H host -c 
 check_iptables from the nagios server ? or local on the client ?

I have run the script on the Nagios server, and on the client system. When I ran
the script
on the server, the syntax I used was the following:

/usr/local/nagios/libexec/check_nrpe -H hadron -c check_iptables

The output of that command was: CHECK_NRPE: No output returned from daemon.

I ran the script on the client using the following syntax:

/usr/local/nrpe/libexec/check_iptables.sh

The output of that command was: OK INPUT 20 rulesbrOK BLACKIN 497 rulesbrOK
BLACKOUT 497 rulesbr

When I ran the command on the client, I did so as the root user. The nagios user
account exists on the
client, but as a means of security it is set up with the /sbin/nologin shell. I
confirmed with other
administrators, as well as in practice, this should not intefere with
operations.

 If you have not put in return codes how do you expect nagios to know 
 what was the exit status of the script ? how will it know if it finished 
 running or failed - those are not covered from NRPE but determined in 
 the plugin.

I looked at the plugin, and I am not sure what the syntax is for entering the
return codes.


-Original Message-
From: Assaf Flatto [mailto:nag...@flatto.net] 
Sent: Monday, January 17, 2011 4:24 PM
To: Nagios Users List
Subject: Re: [Nagios-users] CHECK_NRPE: No output returned with
check_iptables.sh script

Kaplan, Andrew H. wrote:
 Hi there --

 Thanks for your reply. Regarding your questions:

   
 Have you tried enabling the debugging on the nrpe client and see what 
 the output is when you manually trigger the check ?
   

 I have enabled debugging on the client, and there were no error messages
listed 
 in /var/log/messages file.

   
 Have you tried running the check manually as the nagios user ? what 
 output did you get ?
   

 I have run the check manually, and the output appears to be correct.

   
 what are the return codes that you implemented in the iptables test 
 script , and what output is sent beside the return codes?
   

 I have not implemented any return codes in the test script.



   

When you run it manually - how do you do it ? check_nrpe -H host -c 
check_iptables from the nagios server ? or local on the client ?

If you have not put in return codes how do you expect nagios to know 
what was the exit status of the script ? how will it know if it finished 
running or failed - those are not covered from NRPE but determined in 
the plugin.

Assaf

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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


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


[Nagios-users] CHECK_NRPE: No output returned with check_iptables.sh script

2011-01-17 Thread Kaplan, Andrew H.
Hi there --

I am running the check_iptables.sh script on one of our clients, and while the
script presents output whenever it is
manually run on the server with the firewall, this output is not being
transmitted to the Nagios server. The error message 
that I am encountering is the following:

CHECK_NRPE: No output returned from daemon.  

The check_iptables.sh script is located in the /usr/local/nagios/libxec
directory, and has been added as a definition to 
the /usr/local/nagios/etc/commands.cfg file with the syntax shown below:

# 'check_iptables.sh' command definition
define command{
command_namecheck_iptables
command_line/usr/local/nagios/libexec/check_iptables.sh
}

The definition for check on the Nagios server has been added to the
/usr/local/nagios/etc/objects/services.cfg file
with the following:

# Service definition
define service{
use generic-service ; Name of
service template to use

host_name   hostame
service_description Check IP Tables
is_volatile 0
check_periodworkhours
max_check_attempts  4
normal_check_interval   5
retry_check_interval1
contact_groups  linux-admins
notification_interval   960
notification_period workhours
check_command   check_nrpe!check_iptables
}

The check_iptables.sh script has been added to the /usr/local/nrpe/libexec
directory on the client, and the definition
of the check shown below is included in the client's nrpe.cfg file:

command[check_iptables]=/usr/local/nrpe/libexec/check_iptables.sh

The client system is situated outside the company filewall in a DMZ, and
connections are made through the firewall
via an SSH connection. There are several other services that are monitored by
the Nagios server, and the output from
their respective chceks are getting through to the Nagios server.

The NRPE client is version 2.6, while the Nagios server is running the 3.1.2
release. I checked the nagios.log and 
messages log files, but I did not see any errors relating to the script. What
other step(s) do I need to take in order 
for the output that is generated on the client be transmitted to the server?
Thanks.



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] CHECK_NRPE: No output returned with check_iptables.sh script

2011-01-17 Thread Kaplan, Andrew H.
Hi there --

Thanks for your reply. Regarding your questions:

 Have you tried enabling the debugging on the nrpe client and see what 
 the output is when you manually trigger the check ?

I have enabled debugging on the client, and there were no error messages listed 
in /var/log/messages file.

 Have you tried running the check manually as the nagios user ? what 
 output did you get ?

I have run the check manually, and the output appears to be correct.

 what are the return codes that you implemented in the iptables test 
 script , and what output is sent beside the return codes?

I have not implemented any return codes in the test script.



-Original Message-
From: Assaf Flatto [mailto:nag...@flatto.net] 
Sent: Monday, January 17, 2011 1:02 PM
To: Nagios Users List
Subject: Re: [Nagios-users] CHECK_NRPE: No output returned with
check_iptables.sh script

Kaplan, Andrew H. wrote:

 Hi there --

 I am running the check_iptables.sh script on one of our clients, and 
 while the script presents output whenever it is
 manually run on the server with the firewall, this output is not being 
 transmitted to the Nagios server. The error message

 that I am encountering is the following:

 CHECK_NRPE: No output returned from daemon. 

 The check_iptables.sh script is located in the 
 /usr/local/nagios/libxec directory, and has been added as a definition to

 the /usr/local/nagios/etc/commands.cfg file with the syntax shown below:

 # 'check_iptables.sh' command definition
 define command{
 command_namecheck_iptables
 command_line/usr/local/nagios/libexec/check_iptables.sh
 }

 The definition for check on the Nagios server has been added to the 
 /usr/local/nagios/etc/objects/services.cfg file
 with the following:

 # Service definition
 define service{
 use generic-service ; Name 
 of service template to use

 host_name   hostame
 service_description Check IP Tables
 is_volatile 0
 check_periodworkhours
 max_check_attempts  4
 normal_check_interval   5
 retry_check_interval1
 contact_groups  linux-admins
 notification_interval   960
 notification_period workhours
 check_command   check_nrpe!check_iptables
 }

 The check_iptables.sh script has been added to the 
 /usr/local/nrpe/libexec directory on the client, and the definition
 of the check shown below is included in the client's nrpe.cfg file:

 command[check_iptables]=/usr/local/nrpe/libexec/check_iptables.sh

 The client system is situated outside the company filewall in a DMZ, 
 and connections are made through the firewall
 via an SSH connection. There are several other services that are 
 monitored by the Nagios server, and the output from
 their respective chceks are getting through to the Nagios server.

 The NRPE client is version 2.6, while the Nagios server is running the 
 3.1.2 release. I checked the nagios.log and
 messages log files, but I did not see any errors relating to the 
 script. What other step(s) do I need to take in order
 for the output that is generated on the client be transmitted to the 
 server? Thanks.


Have you tried enabling the debugging on the nrpe client and see what 
the output is when you manually trigger the check ?
Have you tried running the check manually as the nagios user ? what 
output did you get ?
what are the return codes that you implemented in the iptables test 
script , and what output is sent beside the return codes?

Assaf

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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
Protect Your Site and Customers from Malware Attacks
Learn about various

Re: [Nagios-users] Determining what is causing a high load reportedby check_load plugin

2010-12-07 Thread Kaplan, Andrew H.
Hi there --
 
The load values that are displayed in top match those for the check_load plugin.
This is the case whether the plugin
is run either automatically or interactively. The output for the uptime command
is shown below:
 
8:48am  up 153 days, 23:21,  1 user,  load average: 73.36, 73.29, 73.21
 
 
 



From: Daniel Wittenberg [mailto:daniel.wittenberg.r...@statefarm.com] 
Sent: Monday, December 06, 2010 4:40 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Determining what is causing a high load reportedby
check_load plugin



In top, does it show the same load values?  The status of your memory shouldn't
cause the nagios plugin to report high cpu.  What does the uptime command say?
Try running the check_load script by hand on that host and verify it returns the
same results.


Dan

 

 

From: Marc Powell [mailto:li...@xodus.org] 
Sent: Monday, December 06, 2010 3:26 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Determining what is causing a high load reported by
check_load plugin

 

 

On Mon, Dec 6, 2010 at 1:50 PM, Kaplan, Andrew H. ahkap...@partners.org wrote:

Hi there -- 

We are running Nagios 3.1.2 server, and the client that is the subject of this
e-mail is running version 2.6 of the nrpe client.

The check_load plugin, version 1.4, is indicating the past three readings are
the following: 

load average: 71.00, 71.00, 70.95 CRITICAL 

The critical threshold of the plugin has been set to the 30, 25, 20 settings. 

When I checked the client in question, the first thing I did was to run the top
command. The results are shown below: 

CPU0 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle 
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle 
CPU2 states:  1.0% user,  4.0% system,  0.0% nice, 93.0% idle 
Mem:  2064324K av, 2032308K used,   32016K free,   0K shrd,  509924K buff 
Swap: 2096472K av,   21432K used, 2075040K free 1035592K cached 

The one thing that I noticed was the amount of free memory was at thirty-two
megabytes. I wanted to know if that was 
what was causing the critical status to occur, or if there is something(s) else
that I should investigate.


Memory is not a factor in the load calculation, only the number of processes
running or waiting to run. For at least 15 minutes you had approximately 71
processes either running or ready to run and waiting on CPU resources. Running
top/ps was the right thing to do but you really need to do it when the problem
is occurring to see what's actually using all the CPU resources. There are far
too many reasons why load could be high but it should be easy for someone
familiar with your system to figure it out (at least generally) while
in-the-act.

--
Marc



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Determining what is causing a highloadreportedby check_load plugin

2010-12-07 Thread Kaplan, Andrew H.
Hi there --
 
The output shown below shows the top processes on the server:
 
439 processes: 438 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 19.0% user,  9.4% system,  0.0% nice, 71.0% idle
CPU1 states: 20.1% user, 13.0% system,  0.0% nice, 66.3% idle
CPU2 states: 27.1% user, 17.3% system,  0.0% nice, 55.0% idle
Mem:  2064324K av, 2013820K used,   50504K free,   0K shrd,  487764K buff
Swap: 2096472K av,   12436K used, 2084036K free  976244K cached
 
  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 2398 root  15   0  1280 1280   824 R 1.9  0.0   0:00 top
 5648 root  22   0  1196 1196  1104 S 1.3  0.0   0:00 ASMProServer
1 root  15   0   488  484   448 S 0.0  0.0   2:28 init
2 root  0K   0 00 0 SW0.0  0.0   0:00 migration_CPU0
3 root  0K   0 00 0 SW0.0  0.0   0:00 migration_CPU1
4 root  0K   0 00 0 SW0.0  0.0   0:00 migration_CPU2
5 root  15   0 00 0 SW0.0  0.0   0:03 keventd
6 root  34  19 00 0 SWN   0.0  0.0  17:52 ksoftirqd_CPU0
7 root  34  19 00 0 SWN   0.0  0.0  16:39 ksoftirqd_CPU1
8 root  34  19 00 0 SWN   0.0  0.0  17:33 ksoftirqd_CPU2
9 root  15   0 00 0 SW0.0  0.0  28:22 kswapd
   10 root  15   0 00 0 SW0.0  0.0  42:39 bdflush
   11 root  15   0 00 0 SW0.0  0.0   3:08 kupdated
   12 root  25   0 00 0 SW0.0  0.0   0:00 mdrecoveryd
   18 root  16   0 00 0 SW0.0  0.0   0:00 scsi_eh_0
   21 root  15   0 00 0 SW0.0  0.0   4:38 kjournald
  101 root  15   0 00 0 SW0.0  0.0   0:00 khubd
  265 root  15   0 00 0 SW0.0  0.0   0:03 kjournald
  266 root  15   0 00 0 SW0.0  0.0   3:43 kjournald
  267 root  15   0 00 0 SW0.0  0.0   0:04 kjournald
  268 root  15   0 00 0 SW0.0  0.0   0:01 kjournald
  269 root  15   0 00 0 SW0.0  0.0   0:11 kjournald
  270 root  15   0 00 0 SW0.0  0.0   4:34 kjournald
  271 root  15   0 00 0 SW0.0  0.0   4:28 kjournald
  272 root  15   0 00 0 SW0.0  0.0   0:08 kjournald
  273 root  15   0 00 0 SW0.0  0.0   0:14 kjournald
  274 root  15   0 00 0 SW0.0  0.0   0:07 kjournald
  275 root  15   0 00 0 SW0.0  0.0   1:14 kjournald
  805 root  15   0   588  576   532 S 0.0  0.0   1:39 syslogd
  810 root  15   0   448  432   432 S 0.0  0.0   0:00 klogd
  830 rpc   15   0   596  572   508 S 0.0  0.0   0:04 portmap
  858 rpcuser   19   0   708  608   608 S 0.0  0.0   0:00 rpc.statd
  970 root  15   0 00 0 SW0.0  0.0   0:21 rpciod
  971 root  15   0 00 0 SW0.0  0.0   0:00 lockd
  999 ntp   15   0  1812 1812  1732 S 0.0  0.0   5:04 ntpd
 1022 root  15   0   772  720   632 S 0.0  0.0   0:00 ypbind
 1024 root  15   0   772  720   632 S 0.0  0.0   1:16 ypbind
 
What caught my eye was the number of processes along with the number of sleeping
processes.
I tried running the kill command on the kjournald instances, but that did not
appear to stop them.
 
Aside from rebooting the server, which can be done if necessary, what other
approach can I try?
 
 




From: Daniel Wittenberg [mailto:daniel.wittenberg.r...@statefarm.com] 
Sent: Tuesday, December 07, 2010 9:11 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Determining what is causing a highloadreportedby
check_load plugin



So what are the first few processes listed in top?  That should be what is
causing your load then.

 

Dan

 

 

 

From: Kaplan, Andrew H. [mailto:ahkap...@partners.org] 
Sent: Tuesday, December 07, 2010 7:49 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Determining what is causing a high loadreportedby
check_load plugin

 

Hi there --

 

The load values that are displayed in top match those for the check_load plugin.
This is the case whether the plugin

is run either automatically or interactively. The output for the uptime command
is shown below:

 

8:48am  up 153 days, 23:21,  1 user,  load average: 73.36, 73.29, 73.21

 

 

 

 



From: Daniel Wittenberg [mailto:daniel.wittenberg.r...@statefarm.com] 
Sent: Monday, December 06, 2010 4:40 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Determining what is causing a high load reportedby
check_load plugin

In top, does it show the same load values?  The status of your memory shouldn't
cause the nagios plugin to report high cpu.  What does the uptime command say?
Try running the check_load script by hand on that host and verify it returns the
same results.


Dan

 

 

From: Marc Powell [mailto:li...@xodus.org

Re: [Nagios-users] Determining what is causing a highloadreportedby check_load plugin

2010-12-07 Thread Kaplan, Andrew H.
Hi there --
 
I ran the command syntax you suggested, and outputted it to a file. When I
checked the file, I noticed there
was a large amount of updatedb and slocate instances that were running going
back to August of this year. 
When I tried to kill those processes, I ran into the same problem that I
encountered with the kjournald instances.
 
I did some further investigating, and it turns out a high number of the updatedb
and slocate processes are
symptomatic of a corrupted filesystem. Accordingly, I rebooted the server and
had it run fsck on all filesystems.
The server is now up, and I will monitor it for the next week to see if the
problem returns.
 
 



From: Rick Mangus [mailto:rick.mangus+nag...@gmail.com] 
Sent: Tuesday, December 07, 2010 10:49 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Determining what is causing a highloadreportedby
check_load plugin


Kjournald is needed for journalling on ext3 filesystems.  Be glad you didn't
manage to kill them.

To find something that is running many many instances, try this: ps -ax -o cmd
| sort | uniq -c | sort -n

The output will be like so:
  3 [kjournald]
  3 [sh] defunct
  5 -bash
  7 crond

The column on the left is the number of processes with that command line.  I
occasionally have 10,000 instances of nsca that simply need to be killed.  Do
let us know what you find!

--Rick


On Tue, Dec 7, 2010 at 9:25 AM, Kaplan, Andrew H. ahkap...@partners.org wrote:


Hi there --
 
The output shown below shows the top processes on the server:
 
439 processes: 438 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 19.0% user,  9.4% system,  0.0% nice, 71.0% idle
CPU1 states: 20.1% user, 13.0% system,  0.0% nice, 66.3% idle
CPU2 states: 27.1% user, 17.3% system,  0.0% nice, 55.0% idle
Mem:  2064324K av, 2013820K used,   50504K free,   0K shrd,  487764K
buff
Swap: 2096472K av,   12436K used, 2084036K free  976244K
cached
 
  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 2398 root  15   0  1280 1280   824 R 1.9  0.0   0:00 top
 5648 root  22   0  1196 1196  1104 S 1.3  0.0   0:00
ASMProServer
1 root  15   0   488  484   448 S 0.0  0.0   2:28 init
2 root  0K   0 00 0 SW0.0  0.0   0:00
migration_CPU0
3 root  0K   0 00 0 SW0.0  0.0   0:00
migration_CPU1
4 root  0K   0 00 0 SW0.0  0.0   0:00
migration_CPU2
5 root  15   0 00 0 SW0.0  0.0   0:03 keventd
6 root  34  19 00 0 SWN   0.0  0.0  17:52
ksoftirqd_CPU0
7 root  34  19 00 0 SWN   0.0  0.0  16:39
ksoftirqd_CPU1
8 root  34  19 00 0 SWN   0.0  0.0  17:33
ksoftirqd_CPU2
9 root  15   0 00 0 SW0.0  0.0  28:22 kswapd
   10 root  15   0 00 0 SW0.0  0.0  42:39 bdflush
   11 root  15   0 00 0 SW0.0  0.0   3:08 kupdated
   12 root  25   0 00 0 SW0.0  0.0   0:00
mdrecoveryd
   18 root  16   0 00 0 SW0.0  0.0   0:00 scsi_eh_0
   21 root  15   0 00 0 SW0.0  0.0   4:38 kjournald
  101 root  15   0 00 0 SW0.0  0.0   0:00 khubd
  265 root  15   0 00 0 SW0.0  0.0   0:03 kjournald
  266 root  15   0 00 0 SW0.0  0.0   3:43 kjournald
  267 root  15   0 00 0 SW0.0  0.0   0:04 kjournald
  268 root  15   0 00 0 SW0.0  0.0   0:01 kjournald
  269 root  15   0 00 0 SW0.0  0.0   0:11 kjournald
  270 root  15   0 00 0 SW0.0  0.0   4:34 kjournald
  271 root  15   0 00 0 SW0.0  0.0   4:28 kjournald
  272 root  15   0 00 0 SW0.0  0.0   0:08 kjournald
  273 root  15   0 00 0 SW0.0  0.0   0:14 kjournald
  274 root  15   0 00 0 SW0.0  0.0   0:07 kjournald
  275 root  15   0 00 0 SW0.0  0.0   1:14 kjournald
  805 root  15   0   588  576   532 S 0.0  0.0   1:39 syslogd
  810 root  15   0   448  432   432 S 0.0  0.0   0:00 klogd
  830 rpc   15   0   596  572   508 S 0.0  0.0   0:04 portmap
  858 rpcuser   19   0   708  608   608 S 0.0  0.0   0:00 rpc.statd
  970 root  15   0 00 0 SW0.0  0.0   0:21 rpciod
  971 root  15   0 00 0 SW0.0  0.0   0:00 lockd
  999 ntp   15   0  1812 1812  1732 S 0.0  0.0   5:04 ntpd
 1022 root  15   0   772  720   632 S 0.0

[Nagios-users] Determining what is causing a high load reported by check_load plugin

2010-12-06 Thread Kaplan, Andrew H.
Hi there --

We are running Nagios 3.1.2 server, and the client that is the subject of this
e-mail is running version 2.6 of the nrpe client.
The check_load plugin, version 1.4, is indicating the past three readings are
the following:

load average: 71.00, 71.00, 70.95 CRITICAL

The critical threshold of the plugin has been set to the 30, 25, 20 settings.

When I checked the client in question, the first thing I did was to run the top
command. The results are shown below:

CPU0 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
CPU2 states:  1.0% user,  4.0% system,  0.0% nice, 93.0% idle
Mem:  2064324K av, 2032308K used,   32016K free,   0K shrd,  509924K buff
Swap: 2096472K av,   21432K used, 2075040K free 1035592K cached

The one thing that I noticed was the amount of free memory was at thirty-two
megabytes. I wanted to know if that was
what was causing the critical status to occur, or if there is something(s) else
that I should investigate.

Thanks.  


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check size of large directory

2010-12-02 Thread Kaplan, Andrew H.
Hi there --

The check_folder_size.sh script will probably suit your needs well. 

-Original Message-
From: Sebastian Ries [mailto:sebastian.r...@dtnet.de] 
Sent: Thursday, December 02, 2010 10:31 AM
To: nagios-users-ML
Subject: [Nagios-users] Check size of large directory

Hi

I need to check the size of a directory...

The problem is that this directory is very large (needs to stay under
1TB - that's why I need the check) and I cannot move it to an own
partition (content is hard-linked)

So I tried to write the size of this directory into a file (content does
not change very often) an check the content of this file via nagios.

Something like daily do
# du -m -s $dir  $file

Does anyone know about a plugin that can do this?

Regards
Sebastian Ries

-- 

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36   Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: sebastian.r...@dtnet.de

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Newbie Question.. Monitoring Lnux machines.

2010-12-02 Thread Kaplan, Andrew H.
Hi there --
 
The NRPE, Nagios Remote Plugin Executor, software can be installed on the Linux
systems along with the plugins that are also
present on the server. The combination of the two will enable you to monitor the
clients in question.
 
 



From: Maxime Alarie [mailto:mala...@processia.com] 
Sent: Thursday, December 02, 2010 4:21 PM
To: Nagios Users List
Subject: [Nagios-users] Newbie Question.. Monitoring Lnux machines.



Good day,

 

I have installed nagios,  on my  centOS VM. I can monitor Windows machines and
servers just fine using nsclient++.  How can I monitor a Linux server? There is
no NSclient++ available, and the guide  on monitoring linux machines is
incomplete

 

I have check my localhost.cfg file, thinking I could rename it  to
LinuxServer.cfg but it is quite empty:

 

define host {

host_name   localhost

use linux-server

alias   localhost

address 127.0.0.1

;

register1

}

 

 

Any help is appreciated.

 

Regards



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Reporting add-ons for Nagios

2010-10-29 Thread Kaplan, Andrew H.
Hi there --
 
I am using pnp4nagios, and it works without any issue. 



From: Rick Munn [mailto:r...@screenscape.net] 
Sent: Friday, October 29, 2010 12:23 PM
To: Nagios Users List
Subject: [Nagios-users] Reporting add-ons for Nagios


Hi,

Any recommendation on monitoring and graphing performance tools/addons for
Nagios.   Sample services I'd like to collect stats on e.g. network bandwidth,
tomcat, mysql, linux(centos and redhat), etc.

Thank you,
Rick



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Question about opmon agent

2010-08-25 Thread Kaplan, Andrew H.
Hi there --

Is opmon agent still being developed for use with Nagios? If so, what is the
download site for it? Thanks.


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] problem adding hosts to nagvis map

2010-08-10 Thread Kaplan, Andrew H.
Hi there --

I completed the installation of the NagVis 1.5.1 utility onto our Nagios 3.1.2
server, and I am trying to create a map.
However, I am running into issues. The first is the following: Whenever I select
Map - Add Icon - Host, I need to 
do that process twice before the menu appears on-screen. 

The second issue is more problematic. Whenever I try to add a host, I go through
the motions of selecting the host_name, 
and then entering the x and y coordinates. Even though I have done that, I am
still getting an error that reads:

A necessary value is not set. All red marked values are
compulsory values. 

What am I doing wrong here, and how can I fix it? Thanks. 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios Graphing

2010-08-06 Thread Kaplan, Andrew H.
Hi there --
 
I implemented pnp4nagios on our system, and it has done a great job for us. 
 
 



From: Robert Jackson [mailto:r...@walkermartyn.co.uk] 
Sent: Friday, August 06, 2010 3:29 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios Graphing



I'm looking to build a Nagios server running under Solaris 10 with graphing,
hopefully allowing me to view trend data in a more pleasing format. Anyone
have any ideas what is the best graphing solution for Nagios. I know there are
many, but just wanted to get a feel as to what people think is the best option.
Obviously it would have to install/run correctly under Solaris 10 also.

Regards,

Rab.

=

Robert Jackson  Phone: +44 (0) 141 332 7999

IT Manager   Fax: +44 (0) 141 331 2820

Walker Martyn Ltd

1 Park Circus PlaceEmail: r...@walkermartyn.co.uk
mailto:r...@walkermartyn.co.uk 

Glasgow G3 6AH, Scotland   Web: http://www.walkermartyn.co.uk
http://www.walkermartyn.co.uk 

=

 

The information in this internet E-mail is confidential and is intended solely
for the addressee. Access, copying or re-use of information in it by anyone else
is unauthorised. Any views or opinions presented are solely those of the author
and do not necessarily represent those of Walker Martyn Ltd or any of its
affiliates. If you are not the intended recipient please contact
administra...@walkermartyn.co.uk.

Walker Martyn Ltd, company number SC197533. Company is registered in Scotland
and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK.

 



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] How to create maps in nagvis 1.5.1

2010-08-02 Thread Kaplan, Andrew H.
Hi there --

I completed the installation of NagVis 1.5.1 onto our Nagios 3.1.2 server. I am
now ready to create maps to visualize the 
systems that our Nagios server monitors on our network. I have gone through the
documentation provided for NagVis, and
I am confused as to how to get things going. I am trying to start off simple by
using the default files. 

I need help creating the appropriate configuration files and so on to get the
maps up and running. Can someone provide
the steps that I can follow in order to create the maps and/or templates that I
can use? Thanks.






The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Nagvis 1.5.1 installation question

2010-07-30 Thread Kaplan, Andrew H.
Hi there --

I am going through the motions of installing NagVis 1.5.1 onto our Nagios 3.1.2
server. I have completed the installation of the 
check_mk 1.1.6p1 software, and made sure to select the default settings for it.
When I run the install script for NagVis, all 
prerequisites are found, and I make sure to select mklivestatus as the Backend.
However, when the installer gets to the 
Livestatus Socket, it looks for it in the /usr/local/nagios/rw/live directory,
but says it is missing. 

The installer lists the valid socket formats, and asks me to enter the
MKLivestatus socket. I am not familiar with what that
would be, and whether or not check_mk should be started in daemon mode or in
some other way. 

Can someone provide some insight into this? Thanks.

 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Recommended network map software

2010-07-29 Thread Kaplan, Andrew H.
Hi there --

I am running Nagios 3.1.2, and I am looking to have a network map of the nodes
that are being monitored as one of the 
available screens. The idea behind the map is to have a logical representation
of the physical location for the various nodes.

Can anyone recommend an add-on to Nagios that would accomplish this task?
Thanks.




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Host down due to plugins timing out

2010-05-13 Thread Kaplan, Andrew H.
Hi there --
 
The command_timeout option in the client's nrpe.cfg file is set to 60. The
syntax of the line is shown below:
 
command_timeout=60
 
 



From: Stier, Matthew [mailto:matthew.st...@us.fujitsu.com] 
Sent: Thursday, May 13, 2010 3:27 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Host down due to plugins timing out



The default timeout for nrpe is 10 seconds.How long does your plugin take to
run?

 

 

From: Kaplan, Andrew H. [mailto:ahkap...@partners.org] 
Sent: Thursday, May 13, 2010 1:51 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Host down due to plugins timing out

 

Hi there -- 

I recently set up a new client to be monitored by our Nagios 3.1.2 server. The
client is running the CentOS 5.4 
operating system, and it has version 2.6 of NRPE as well as version 2.12 of the
plugins installed on it. I made 
sure to deactivate the firewall on the system, disable the SELinux option, and
also modified the /etc/services 
file to include port 5666 with udp and tcp. 

The problem that I am having is that even though everything appears to be
running properly, the requests that 
are sent from the Nagios server to the client are timing out, with the result
being the client appearing as down. 
The client has the nrpe program running with the following configuration: 

/usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d 

I verified the plugins are working on the client, and also confirmed there are
no other clients being reported as 
down. The configuration that I described is not unique to this client. This same
setup is working for other clients 
that are monitored by the server. 

Does anyone have any idea as to why this is occurring, and what I can do to
correct it? Thanks. 

 

 
 
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--

___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Host down due to plugins timing out

2010-05-13 Thread Kaplan, Andrew H.
I was able to solve the problem. I checked the ip address of the client system
in the
hosts.cfg file on the Nagios server, and one of the digits in the address was
incorrect.
 
Once I corrected the mistake, everything worked fine. Thanks for the help.



From: Stier, Matthew [mailto:matthew.st...@us.fujitsu.com] 
Sent: Thursday, May 13, 2010 3:27 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Host down due to plugins timing out



The default timeout for nrpe is 10 seconds.How long does your plugin take to
run?

 

 

From: Kaplan, Andrew H. [mailto:ahkap...@partners.org] 
Sent: Thursday, May 13, 2010 1:51 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Host down due to plugins timing out

 

Hi there -- 

I recently set up a new client to be monitored by our Nagios 3.1.2 server. The
client is running the CentOS 5.4 
operating system, and it has version 2.6 of NRPE as well as version 2.12 of the
plugins installed on it. I made 
sure to deactivate the firewall on the system, disable the SELinux option, and
also modified the /etc/services 
file to include port 5666 with udp and tcp. 

The problem that I am having is that even though everything appears to be
running properly, the requests that 
are sent from the Nagios server to the client are timing out, with the result
being the client appearing as down. 
The client has the nrpe program running with the following configuration: 

/usr/local/nrpe/bin/nrpe -n -c /usr/local/nrpe/etc/nrpe.cfg -d 

I verified the plugins are working on the client, and also confirmed there are
no other clients being reported as 
down. The configuration that I described is not unique to this client. This same
setup is working for other clients 
that are monitored by the server. 

Does anyone have any idea as to why this is occurring, and what I can do to
correct it? Thanks. 

 

 
 
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--

___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Improving performace of the check_folder_size script

2010-02-09 Thread Kaplan, Andrew H.
Hi there --

I am running Nagios 3.1.2 with the nrpe 2.12 client. One of the scripts that I
am using is the 
check_folder_size script. The Nagios server is on one subnet, while the client
is on another. 
The connection between the two is via a 10GB WAN connection. The script is
configured on
the client to send warnings when the folder in question reaches 500 gigabytes.
The entire 
disk that the folder is on is four terabytes. 

The script appears to be doing its job pretty well, but I notice that
occasionally I will get 
timeout issues with the script. I suspect the configuration of the script on the
Nagios server is 
the cause, and I wanted to get feedback as to the best settings to have for the
script. The current 
configuration is shown below:

# Service definition
define service{
use generic-service ; Name
of service template to use

host_name   hostname
service_description Folder Size Active 1
is_volatile 0
check_period24x7
max_check_attempts 1
normal_check_interval1440
retry_check_interval720
contact_groups  linux-admins
notification_interval   1440
notification_period 24x7
notification_optionsw,u,c,r
check_command   check_nrpe!check_folder_size1
}

Does anyone have any suggestions as to what settings would be better here?
Thanks. 




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] hosts showing up as down even though they are not being monitored

2010-01-27 Thread Kaplan, Andrew H.
Hi there --  

We are running Nagios 3.1.2 on one of our servers, and the following anomaly is
occurring:

Several of our clients have been taken offline, during which time they were
detected as being down. 
I have gone through the motions of commenting out references to them in the
services file located in
the /usr/local/nagios/etc/objects directory. Even though the clients are no
longer being monitored, 
they are still showing up as being down. 

What other steps do I need to take in order to correct this problem? Thanks.




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] hosts showing up as down even though they are not being monitored

2010-01-27 Thread Kaplan, Andrew H.
Hi there --
 
I went through the steps you mentioned in your e-mail, and the problem continues
to persist. 
 
The preflight check did mention the clients in question did not have any
services associated 
with them. Aside from those warnings, the Nagios application did not have any
complaints or
problems starting up.
 
 



From: Gary Every [mailto:gev...@gmail.com] 
Sent: Wednesday, January 27, 2010 6:52 PM
To: Kaplan, Andrew H.
Subject: Re: [Nagios-users] hosts showing up as down even though they are not
being monitored


You still need to restart nagios. 
I'm assuming you're running it on *nix of some kind. These are linux commands
below:

Check your config first tho via:
/path/to/nagios/bindir/nagios -v /path/to/nagios.cfg

If that checks out without errors, then restart nagios

/path/to/nagios/[STARTUPSCRIPT|nagios] restart



On Wed, Jan 27, 2010 at 4:13 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:


Hi there --  

We are running Nagios 3.1.2 on one of our servers, and the following
anomaly is occurring: 

Several of our clients have been taken offline, during which time they
were detected as being down. 
I have gone through the motions of commenting out references to them in
the services file located in 
the /usr/local/nagios/etc/objects directory. Even though the clients are
no longer being monitored, 
they are still showing up as being down. 

What other steps do I need to take in order to correct this problem?
Thanks. 


The information in this e-mail is intended only for the person to whom
it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you
in error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.


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





-- 
Gary Every
Pay it Forward!


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

Re: [Nagios-users] hosts showing up as down even though they are not being monitored

2010-01-27 Thread Kaplan, Andrew H.
Hi there --
 
Just for clarification, are you referring to the hosts.cfg, hostextinfo.cfg,
hostgroups.cfg file, or 
all of the above?
 
Thanks.



From: L.Q. Marshall [mailto:qmarsh...@inetspace.net] 
Sent: Wednesday, January 27, 2010 8:04 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: RE: [Nagios-users] hosts showing up as down even though they are not
being monitored



snip I have gone through the motions of commenting out references to
them in the services file located in 
the /usr/local/nagios/etc/objects directory. Even though the clients are
no longer being monitored, 
they are still showing up as being down. 



restart (reload?) nagios service.  Also verify that you have removed the host
entries. - LQ
 
 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Check for memory leaks

2009-11-19 Thread Kaplan, Andrew H.
Hi there --

We am running Nagios 3.1.2 and one of the systems that is being monitored is an
HP-UX system.
There are indications that an application on the monitored system is causing a
slow memory leak.
Is there a plugin or histogram setting that is available that would help check
for memory leaks on 
the remote system? Thanks.




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check for memory leaks

2009-11-19 Thread Kaplan, Andrew H.
Hi there --
 
Thanks for your reply. I do have the pnp4-nagios utility installed on the Nagios
server. 
Among the trends that are graphed by it is Current Load. 
 
If Current Load is the trend to look at, which of the three data sources
associated with it, 
load1 load5 load15, would be the one affiliated with memory? 
 
 



From: webknowle...@gmail.com [mailto:webknowle...@gmail.com] On Behalf Of Marcel
Sent: Thursday, November 19, 2009 1:03 PM
To: Kaplan, Andrew H.
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Check for memory leaks


Hi Andew,


On Thu, Nov 19, 2009 at 3:48 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:


There are indications that an application on the monitored system is
causing a slow memory leak. 
Is there a plugin or histogram setting that is available that would help
check for memory leaks on 
the remote system? Thanks.


Trending is more suitable for graphing solutions that uses RRDs. 
Nagios is more likely to be used as an exception monitoring tool, though it
might be used to generate graphs as well. 

Cheers,



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check for memory leaks

2009-11-19 Thread Kaplan, Andrew H.
Hi there --
 
Thanks for the reply. Looks like I'll go with the threshold check. 



From: David Wallis [mailto:wal...@aps.anl.gov] 
Sent: Thursday, November 19, 2009 1:30 PM
To: Kaplan, Andrew H.
Cc: Marcel; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Check for memory leaks


Kaplan, Andrew H. wrote: 

Hi there --
 
Thanks for your reply. I do have the pnp4-nagios utility installed on
the Nagios server. 
Among the trends that are graphed by it is Current Load. 
 
If Current Load is the trend to look at, which of the three data sources
associated with it, 
load1 load5 load15, would be the one affiliated with memory? 




Load average (current load) is the average number of processes that are ready to
run, averaged over 1, 5 and 15 minutes. Load average has nothing to do with
memory utilization.

There is no way to directly detect a memory leak... especially a slow one.
Nagios generally concerns itself with the status of some measured value at the
time of the check. You can check the amount of available memory, and report back
if the total free memory is less than some threshold,  but there is no plugin
that checks the status of memory over time.


-- 
David Wallis
Information Technology
Advanced Photon Source
Argonne National Laboratory



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check for memory leaks

2009-11-19 Thread Kaplan, Andrew H.
Hi there --
 
I am going to use the check_mem.pl script. As far as warning and critical levels
for the amount of
free space is concerned, I am thinking 50 and 40 percent respectively. 



From: David Wallis [mailto:wal...@aps.anl.gov] 
Sent: Thursday, November 19, 2009 1:30 PM
To: Kaplan, Andrew H.
Cc: Marcel; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Check for memory leaks


Kaplan, Andrew H. wrote: 

Hi there --
 
Thanks for your reply. I do have the pnp4-nagios utility installed on
the Nagios server. 
Among the trends that are graphed by it is Current Load. 
 
If Current Load is the trend to look at, which of the three data sources
associated with it, 
load1 load5 load15, would be the one affiliated with memory? 




Load average (current load) is the average number of processes that are ready to
run, averaged over 1, 5 and 15 minutes. Load average has nothing to do with
memory utilization.

There is no way to directly detect a memory leak... especially a slow one.
Nagios generally concerns itself with the status of some measured value at the
time of the check. You can check the amount of available memory, and report back
if the total free memory is less than some threshold,  but there is no plugin
that checks the status of memory over time.


-- 
David Wallis
Information Technology
Advanced Photon Source
Argonne National Laboratory



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Occasional unknown status messages from a particular server

2009-11-17 Thread Kaplan, Andrew H.
Hi there --

We are running Nagios 3.1.2, and one of our monitored servers, running NRPE
client 2.0, is occasionally
sending back unknown status messages to the server. An example of this is shown
below:


UNKNOWN  11-17-2009 13:10:15 0d 0h 1m 54s2/3 
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error
messages.

UNKNOWN  11-17-2009 13:10:15 0d 0h 1m 54s2/3 NRPE: Call to fork()
failed   
This service is flapping between states
http://romonitor/nagios/cgi-bin/extinfo.cgi?type=2host=spaceservice=Free+Spac
e+%2Fdiskarray%2Fstripe8%2Fproton_data2+-+Clinical+Research#comments   
UNKNOWN  11-17-2009 13:10:15 0d 0h 0m 54s3/3 NRPE: Unable to read
output   
This service is flapping between states
http://romonitor/nagios/cgi-bin/extinfo.cgi?type=2host=spaceservice=Free+Spac
e+%2Fdiskarray%2Fstripe9%2Fproton_data3+-+Medullo  
UNKNOWN  11-17-2009 13:06:15 0d 0h 4m 54s3/3 NRPE: Call to fork()
failed   

UNKNOWN  11-17-2009 13:10:15 0d 0h 1m 54s2/3 
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error
messages. 

The server being monitored is an HP-UX 11.00 system running on a PA-RISC
chipset. I have checked the
log files of the remote host, but there is nothing to indicate there being a
problem. I have also run the 
check commands manually on the remote host, and all have returned known output. 

Has anyone seen this, know what it is, and what steps can be done to stop it
from occurring? Thanks.









The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Alternate Configuration for PNP4Nagios in Nagios

2009-07-21 Thread Kaplan, Andrew H.
Hi there --

Through the much appreciated help of members of this list, I was able to get
PNP4Nagios up and running. I wanted to 
return the favor so I am sending this e-mail out to the membership with the
intent of sharing knowledge. If there are 
problems with what I implemented, please let me know and I will endeavor to
rectify them.

I experimented with implementing the application within Nagios, and I came up
with an alternate method of accessing it. 
This method is not meant to replace what the documentation offers, rather it is
simply another way of viewing the data. 
I don't know if this has been done by anyone else. If it has, my apologies for
repeating something that has already been done. 

The idea that I came up with was to add a link on the side panel that points to
the PNP4Nagios page. The example shown
here will place the link under the Event Log link of the Reports section. The
panel is under the control of the side.php file.

The steps that I took to complete the process are shown below: 

1. Make a backup copy of the side.php in case there was a problem. 

2. Open the side.php file using a text editor.

3. Do a search within the file for the syntax: Event Log

4. Add the following line immediately after that which references Event
Log:

lia href=/nagios/pnp/index.php target=?php echo
$link_target;?PNP4Nagios/a/li

5. Save the changes that were made. 

Once the above steps are completed, the administrator can refresh any of the
screens, and the side bar will look 
like the attachment to this e-mail.

 side.php.jpg 

I have tested this configuration for about two weeks, and so far there have not
been any problems. If there are any 
questions or concerns, please let me know. 





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
attachment: side.php.jpg--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Problem with pnp4nagios

2009-07-09 Thread Kaplan, Andrew H.
Followup:

I came across the following entry in the nagios.log file:

 Warning: Host performance command 'process-host-perfdata' was not found - host
performance data will not be processed!

What would the correct syntax be, assuming it is in the commands.cfg file, for
the process-host-perfdata command?  

-Original Message-
From: Kaplan, Andrew H. 
Sent: Thursday, July 09, 2009 2:37 PM
To: Joerg Linge
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem with pnp4nagios

Hi there --

Sorry about the incorrect syntax. Here is the output using the nagios.cfg file;

Check Nagios/PNP integration, v0.1.12

[I] OS: CentOS release 5.3 (Final)Kernel  on an
[I] Perl: 5.008008
[I] using Nagios basedir /usr/local/nagios
[I] using Nagios config /usr/local/nagios/etc/nagios.cfg
[I] using Nagios binary /usr/local/nagios/bin/nagios
[I] PNP mode: default
[I] Nagios info: Nagios 3.1.2
Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[A] verifying Nagios config
[A] checking RRDtool (/usr/local/rrdtool-1.3.8/bin/rrdtool)
[I] RRDtool: RRDtool 1.3.8
[I] RRDs perl module not installed
[A] processing /usr/local/nagios/etc/nagios.cfg
[I] nagios_user=nagios
[I] nagios_group=nagios
[I] using /usr/local/nagios/var/objects.cache entries
Use of uninitialized value in string at /home/ahk/Nagios/pnp 4
nagios/pnp-0.4.14/contrib/verify_pnp_config line 596.
[E] value  for service_perfdata_command is invalid
[H] http://www.pnp4nagios.org/pnp/config#default_mode
Use of uninitialized value in string at /home/ahk/Nagios/pnp 4
nagios/pnp-0.4.14/contrib/verify_pnp_config line 596.
[E] value  for host_perfdata_command is invalid
[H] http://www.pnp4nagios.org/pnp/config#default_mode
[A] processing /usr/local/nagios/etc/pnp/process_perfdata.cfg
[I] # $Id: process_perfdata.cfg-sample.in 520 2008-09-16 12:50:10Z pitchfork $:
%s
[A] processing /usr/local/nagios/etc/pnp/config.php
[I] ## Version: $Id: config.php.in 607 2009-03-12 18:39:20Z pitchfork $: %s
[A] checking of /usr/local/nagios/share/perfdata
[E] 1 dir(s) but NO rrd files = NO graphs!

The errors here are with the service_perfdata_command, and host_perfdata_command
lines. The nagios.cfg file
is included with this e-mail. Thanks. 

 

-Original Message-
From: Joerg Linge [mailto:pitchf...@ederdrom.de] 
Sent: Thursday, July 09, 2009 1:41 PM
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem with pnp4nagios

Kaplan, Andrew H. schrieb:
 
 
 Hi there --
 
 I went through the motions of installing pnp4nagios on our 3.1.2 system. 
 I ran the
 verify_pnp_config script and the output from it is shown below:
 
 [...@romonitor pnp]$ sudo /home/ahk/Nagios/pnp\ 4\ 
 nagios/pnp-0.4.14/contrib/verify_pnp_config -c 
 /usr/local/nagios/etc/pnp/config.php -m default

[ --- cut ---]

quote from verify_pnp_config -h

parameters:
-h, --helpprint these lines
-b, --basedir=s   Nagios Base directory (default: /usr/local/nagios)
-B, --binary=sNagios binary (default: nagios)
-c, --config=sNagios main config file (default:
/usr/local/nagios/etc/nagios.cfg)

-c path to nagios.cfg not config.php !

Joerg

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without

Re: [Nagios-users] Problem with pnp4nagios

2009-07-09 Thread Kaplan, Andrew H.
Hi there --

Thanks for the help. My syntax was wrong. 

-Original Message-
From: Joerg Linge [mailto:pitchf...@ederdrom.de] 
Sent: Thursday, July 09, 2009 3:11 PM
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem with pnp4nagios

Kaplan, Andrew H. schrieb:
 Followup:
 
 I came across the following entry in the nagios.log file:
 
  Warning: Host performance command 'process-host-perfdata' was not found -
host
 performance data will not be processed!
 
 What would the correct syntax be, assuming it is in the commands.cfg file, for
 the process-host-perfdata command?  

http://www.pnp4nagios.org/pnp/config

define command {
  command_nameprocess-service-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
}

define command {
  command_nameprocess-host-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d
HOSTPERFDATA
}

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] External Command File Error

2009-07-08 Thread Kaplan, Andrew H.
Hi there -

I completed the installation of the Nagios 3.1.2 application onto our CentOS 5.3
server. Everything appears
to be working fine with one noticeable exception: If I go to the host
information page of any host, and select
Schedule a check of all services on the host, and subsequently click on commit,
I get the following error:

Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for
update!

The permissions on the external command file and/or directory may be incorrect. 
Read the FAQs on how to setup proper permissions. 

An error occurred while attempting to commit your command for processing.

I went through and verified the following:

1. The nagios user account has the bash shell.
2. The permissions on the nagios directory, and its subdirectories are as
follows:
user:group ownership= nagios:nagios
permissions = rwxrwxrwx

What did I miss here, and what can I do to correct it? Thanks. 



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] External Command File Error

2009-07-08 Thread Kaplan, Andrew H.

Hi there -- 

Thanks for your reply. The answers to your questions are the following:

Does /usr/local/nagios/var/rw exist?
Yes, it does. 

Does /usr/local/nagios/var/rw/nagios.cmd exist after starting nagios?
Yes, it does. The external commands option is set to 1 in the nagios.cfg file.

Is the ownership of /usr/local/nagios/var/rw nagios:nagios? 
Yes, the ownership is set to nagios:nagios. 

Is the ownership of /usr/local/nagios/var/rw nagios:nagios? If so,  
review the Fedora Quickstart Guide, specifically Step 1, Create  
Account Information; you've missed setting the ownership of the files  
and apache group membership correctly. Apache will need to be  
restarted after making those changes.

I went ahead and ran the usermod command for Apache that was mentioned in
step one of the Fedora Quickstart guide. Once that was done, I restarted Apache,
and that appears to have solved the problem.

Thanks for the help.



-Original Message-
From: Marc Powell [mailto:m...@ena.com]
Sent: Wed 7/8/2009 6:03 PM
To: Nagios Users Mail-list
Subject: Re: [Nagios-users] External Command File  Error
 

On Jul 8, 2009, at 3:56 PM, Kaplan, Andrew H. wrote:

 Hi there -

 I completed the installation of the Nagios 3.1.2 application onto  
 our CentOS 5.3 server. Everything appears
 to be working fine with one noticeable exception: If I go to the  
 host information page of any host, and select
 Schedule a check of all services on the host, and subsequently click  
 on commit, I get the following error:

 Error: Could not open command file '/usr/local/nagios/var/rw/ 
 nagios.cmd' for update!

 The permissions on the external command file and/or directory may be  
 incorrect.
 Read the FAQs on how to setup proper permissions.

 An error occurred while attempting to commit your command for  
 processing.

 I went through and verified the following:

 1. The nagios user account has the bash shell.
 2. The permissions on the nagios directory, and its subdirectories  
 are as follows:
 user:group ownership= nagios:nagios
 permissions = rwxrwxrwx

 What did I miss here, and what can I do to correct it? Thanks.


Does /usr/local/nagios/var/rw exist? If not run 'make install- 
commandmode' if you installed from source code.
Does /usr/local/nagios/var/rw/nagios.cmd exist after starting nagios?  
If not, verify that you've set check_external_commands and related  
options in nagios.cfg.
Is the ownership of /usr/local/nagios/var/rw nagios:nagios? If so,  
review the Fedora Quickstart Guide, specifically Step 1, Create  
Account Information; you've missed setting the ownership of the files  
and apache group membership correctly. Apache will need to be  
restarted after making those changes.
Do you have SELinux enabled and in enforcing mode? If so, is your  
policy preventing access to that directory and named pipe?

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problem getting past main page

2009-06-25 Thread Kaplan, Andrew H.
Hi there --
 
Thank-you for your reply. I did indeed check out several books prior to posting
my messages,  and while all of them are thorough with
doing a scratch installation, there were none that I read which delved deeply
into doing an upgrade. The upgrade scenario is what I am
involved with at this time. The purpose of this exercise is to be able to
preserve the configuration, and have it available in the newer
version of the Nagios application. I am hoping to avoid having to rebuild all
checks from the beginning. The amount of checks that I have
in place would require a great deal of time that I am hoping I will not have to
commit. My previous upgrading experince, from Nagios 1.x
to Nagios 2.x was not very difficult. I am hoping to accomplish that here.
 
 



From: Andrew Davis [mailto:ncc...@gmail.com] 
Sent: Thursday, June 25, 2009 9:19 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem getting past main page


I recognize this may sound a little terse and I don't mean it to be so... but as
I've seen all the emails from you that are indicative of a first time setup,
might I suggest getting a Nagios book to assist you? There's quite a few out
there. I personally use Nagios 2nd Edition from Wolfgang Barth and its proven to
very valuable...

Just a thought...

  A. Davis
  Email: ncc...@gmail.com

  There is no limit to what a man can accomplish
   if he doesn't care who gets the credit. - Ronald Reagan


Kaplan, Andrew H. wrote: 

This issue is an offshoot of the Problem in preflight check with
commands.cfg. 

I went ahead and copied the nagios directory from our original server to
the new 
one. Once that was done, I did the upgrade to version 3.1.2 of nagios.
The main page 
of the application appears without a problem. However, whenever I try to
go to any one 
of the links from the main page, an error message similar to the one
below appears 
on-screen: 

Not Found 
The requested URL /nagios/cgi-bin/status.cgi was not found on this
server. 


I noticed that after I inserted the snippets from the nagios.conf file
into the 
httpd.conf file, and subsequently restarted the Apache server, the
following 
errors appeared on-screen: 

Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf
at line 
566 will probably never match because it overlaps an earlier
ScriptAlias. 
[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583
will 
probably never match because it overlaps an earlier Alias. 

I have enclosed a copy of the httpd.conf file in its present version. I
am at a 
lossas to why the error message is occurring, and I would really
appreciate help on 
this. 

httpd.conf 

The information in this e-mail is intended only for the person to whom
it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you
in error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.
  





--




___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Problem getting past main page

2009-06-25 Thread Kaplan, Andrew H.
Hi there --
 
I can answer your questions in the order they were asked:
 
1. I made sure to restart apache after the changes were made via the sudo
/etc/init.d/httpd restart command syntax.
 
2. The output of the apachectl configtest is the following:
[Thu Jun 25 10:22:48 2009] [warn] The ScriptAlias directive in
/etc/httpd/conf/httpd.conf at line 566 will probably never match because it
overlaps an earlier Alias.
[Thu Jun 25 10:22:48 2009] [warn] The Alias directive in
/etc/httpd/conf/httpd.conf at line 583 will probably never match because it
overlaps an earlier Alias.
Syntax OK
 
3. The files that are located in the /usr/local/nagios/sbin directory are the
following:
-rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48 avail.cgi
-rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48 cmd.cgi
-rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48 config.cgi
-rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48 extinfo.cgi
-rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48 histogram.cgi
-rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48 history.cgi
-rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48 notifications.cgi
-rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48 outages.cgi
-rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48 showlog.cgi
-rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48 status.cgi
-rwxrwxr-x 1 nagios nagios 190220 Jun 24 15:48 statusmap.cgi
-rwxrwxr-x 1 nagios nagios 188940 Jun 24 15:48 statuswml.cgi
-rwxrwxr-x 1 nagios nagios 172588 Jun 24 15:48 statuswrl.cgi
-rwxrwxr-x 1 nagios nagios 193100 Jun 24 15:48 summary.cgi
-rwxrwxr-x 1 nagios nagios 184940 Jun 24 15:48 tac.cgi
-rwxrwxr-x 1 nagios nagios 201388 Jun 24 15:48 trends.cgi
 
4. The permissions of the files would seem to indicate the apache user has read
and execute permissions. If necessary, I can change the permissions
to match those of the owner and group.
 
5. I ran the tail -f command on the error_log file, and went through the motions
of clicking on the links of the main page. The error messages appeared
   on-screen, while the following entries appeared in the log file:
 
  [Thu Jun 25 10:29:38 2009] [error] [nagios server] File does not exist:
/usr/local/nagios/share/cgi-bin, referer: http://nagios server/nagios/side.php
http://132.183.12.194/nagios/side.php 
  [Thu Jun 25 10:29:44 2009] [error] [nagios server] File does not exist:
/usr/local/nagios/share/cgi-bin, referer: http://nagios server/nagios/side.php
http://132.183.12.194/nagios/side.php 
  [Thu Jun 25 10:29:48 2009] [error] [nagios server] File does not exist:
/usr/local/nagios/share/cgi-bin, referer: http://nagios server/nagios/side.php
http://132.183.12.194/nagios/side.php 

6. When I go to the http://nagioshost/nagios page, I get the splash screen for
the Nagios application. The error occurs whenever I click on any of the
links starting from the Current Status group and going down the list. 
 
7. The host in question is a CentOS 5.3 system running on the i386 architecture.
 
8. The original Nagios 2.6 directory was copied as a tar file and via sftp from
the original Nagios server to the new one. The tar file was extracted into the
/usr/local directory. The nagios user and group were created, with the
former being given a home directory and utilizing the nologin shell. The Nagios 
   3.1.2 application was compiled from source on the new server, with the
following arguments:
 
configured by ./configure, generated by GNU Autoconf 2.61, with options
\'--prefix=/usr/local/nagios' '--with-nagios-user=nagios'
'--with-nagios-grp=nagios'\
 
What do you think?
 
 
 
 





From: Guy Waugh [mailto:guid...@gmail.com] 
Sent: Thursday, June 25, 2009 9:57 AM
To: Kaplan, Andrew H.; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem getting past main page


Hi again,

Strange...

Some questions:

You're sure you restarted apache after editing httpd.conf?
What is the output of 'apachectl configtest'?
What files are in /usr/local/nagios/sbin -- are they files like 'status.cgi',
'avail.cgi', 'cmd.cgi' etc.? Are they executable by the user that apache is
running as?
Is there anything useful in the apache error logs?
What do you see when you go to http://nagioshost/nagios with your web browser?
Is that when you get the error below?
Is the nagios host a Linux or Unix host (sorry, can't remember if you've
specified this before)? If so, which flavour/version?
Did you compile nagios on this host, install it via a package manager, or copy
it from another host?

Cheers,
Guy.


On Thu, Jun 25, 2009 at 2:35 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:


Hi there --
 
Thanks for your reply. I made the change that you suggested, and
subsequently restarted the Apache and Nagios applications

Re: [Nagios-users] Problem getting past main page

2009-06-25 Thread Kaplan, Andrew H.
Hi there --
 
I have to be at a meeting, so I won't be able to follow up for the next several
hours. As soon as I 
get back, I will post my findings. Thanks again for the help. 
 
 



From: Guy Waugh [mailto:guid...@gmail.com] 
Sent: Thursday, June 25, 2009 10:57 AM
To: Kaplan, Andrew H.
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem getting past main page


Hi again,


On Thu, Jun 25, 2009 at 3:39 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:


Hi there --
 
I can answer your questions in the order they were asked:
 
1. I made sure to restart apache after the changes were made via the
sudo /etc/init.d/httpd restart command syntax.


OK, great. Just making sure :-)
 


 
2. The output of the apachectl configtest is the following:
[Thu Jun 25 10:22:48 2009] [warn] The ScriptAlias directive
in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it
overlaps an earlier Alias.
[Thu Jun 25 10:22:48 2009] [warn] The Alias directive in
/etc/httpd/conf/httpd.conf at line 583 will probably never match because it
overlaps an earlier Alias.
Syntax OK


Right. This indicates that the configuration options for the 'ScriptAlias
/nagios/cgi-bin /usr/local/nagios/sbin' and 'Alias /nagios
/usr/local/nagios/share' on lines 566 and 583 of your httpd.conf file aren't
taking effect. This is probably because there is a file in /etc/httpd/conf.d
(possibly 'nagios.conf'?) that is being loaded before apache parses those lines
in your httpd.conf file (see line 210 of your httpd.conf file: 'include
conf.d/*.conf'). Have a look at the file in /etc/httpd/conf.d and see what
ScriptAlias and Alias definitions exist in that file. It might in fact make more
sense to put the nagios web configuration in that file rather than in the
httpd.conf file... though it's up to you. There should only be one definition
for the nagios Alias and ScriptAlias definitions, and they should be as they
currently are in your httpd.conf file.
 


 
3. The files that are located in the /usr/local/nagios/sbin directory
are the following:
-rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48 avail.cgi
-rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48 cmd.cgi
-rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48 config.cgi
-rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48 extinfo.cgi
-rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48 histogram.cgi
-rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48 history.cgi
-rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48
notifications.cgi
-rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48 outages.cgi
-rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48 showlog.cgi
-rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48 status.cgi
-rwxrwxr-x 1 nagios nagios 190220 Jun 24 15:48 statusmap.cgi
-rwxrwxr-x 1 nagios nagios 188940 Jun 24 15:48 statuswml.cgi
-rwxrwxr-x 1 nagios nagios 172588 Jun 24 15:48 statuswrl.cgi
-rwxrwxr-x 1 nagios nagios 193100 Jun 24 15:48 summary.cgi
-rwxrwxr-x 1 nagios nagios 184940 Jun 24 15:48 tac.cgi
-rwxrwxr-x 1 nagios nagios 201388 Jun 24 15:48 trends.cgi


That all looks good, because these files are executable by everybody, so the
apache user will be able to execute them.
 


 
4. The permissions of the files would seem to indicate the apache user
has read and execute permissions. If necessary, I can change the permissions
to match those of the owner and group.


No, it looks fine.
 



 
5. I ran the tail -f command on the error_log file, and went through the
motions of clicking on the links of the main page. The error messages appeared
   on-screen, while the following entries appeared in the log file:
 
  [Thu Jun 25 10:29:38 2009] [error] [nagios server] File does not
exist: /usr/local/nagios/share/cgi-bin, referer: http://nagios
server/nagios/side.php http://132.183.12.194/nagios/side.php 
  [Thu Jun 25 10:29:44 2009] [error] [nagios server] File does not
exist: /usr/local/nagios/share/cgi-bin, referer: http://nagios
server/nagios/side.php http://132.183.12.194/nagios/side.php 
  [Thu Jun 25 10:29:48 2009] [error] [nagios server] File does not
exist: /usr/local/nagios/share/cgi-bin, referer: http://nagios
server/nagios/side.php http://132.183.12.194/nagios/side.php 


OK... you can see here that apache has been configured to look for the CGIs in
/usr/local/nagios/share/cgi-bin, not /usr/local/nagios/sbin. This must be the
definition in the apache configuration file in /etc/httpd/conf.d

Re: [Nagios-users] Problem getting past main page

2009-06-25 Thread Kaplan, Andrew H.
I have made some progress. I removed the nagios.conf file from the
/etc/httpd/conf.d directory.
Once that was done, I was able to get past the main screen. My next step was to
configure 
the various cfg files fromt Nagios 2.6 to work with the Nagios 3.1.2
application. I added several 
lines to the nagios.cfg file that pointed to the location of the files that I
brought over. 
 
I ran the preflight check again, and now I have the following appearing
on-screen:
 
Checking services...
Error: Contact group 'admins' specified in service 'Current Load' for host
'localhost' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Current Users' for host
'localhost' is not defined anywhere!
Error: Contact group 'admins' specified in service 'HTTP' for host 'localhost'
is not defined anywhere!
Error: Contact group 'admins' specified in service 'PING' for host 'localhost'
is not defined anywhere!
Error: Contact group 'admins' specified in service 'Root Partition' for host
'localhost' is not defined anywhere!
Error: Service check command 'check_ssh' specified in service 'SSH' for host
'localhost' not defined anywhere!
Error: Contact group 'admins' specified in service 'SSH' for host 'localhost' is
not defined anywhere!
Error: Service check command 'check_local_swap' specified in service 'Swap
Usage' for host 'localhost' not defined anywhere!
Error: Contact group 'admins' specified in service 'Swap Usage' for host
'localhost' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Total Processes' for host
'localhost' is not defined anywhere!
 
I checked the /usr/local/nagios/etc/ and /usr/local/nagios/etc/objects
directories, and each has a localhost.cfg file
in it. The nagios.cfg file points to the latter as the one that it looks to for
configuration settings. I checked through it,
and there is no mention of admins anywhere. I also checked the services.cfg file
in the same directory as localhost,
with the results being the same.
 
Where is this cause of complaint originating from, and how can I correct it?
Thanks.
 
 





From: Guy Waugh [mailto:guid...@gmail.com] 
Sent: Thursday, June 25, 2009 10:57 AM
To: Kaplan, Andrew H.
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem getting past main page


Hi again,


On Thu, Jun 25, 2009 at 3:39 PM, Kaplan, Andrew H. ahkap...@partners.org
wrote:


Hi there --
 
I can answer your questions in the order they were asked:
 
1. I made sure to restart apache after the changes were made via the
sudo /etc/init.d/httpd restart command syntax.


OK, great. Just making sure :-)
 


 
2. The output of the apachectl configtest is the following:
[Thu Jun 25 10:22:48 2009] [warn] The ScriptAlias directive
in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it
overlaps an earlier Alias.
[Thu Jun 25 10:22:48 2009] [warn] The Alias directive in
/etc/httpd/conf/httpd.conf at line 583 will probably never match because it
overlaps an earlier Alias.
Syntax OK


Right. This indicates that the configuration options for the 'ScriptAlias
/nagios/cgi-bin /usr/local/nagios/sbin' and 'Alias /nagios
/usr/local/nagios/share' on lines 566 and 583 of your httpd.conf file aren't
taking effect. This is probably because there is a file in /etc/httpd/conf.d
(possibly 'nagios.conf'?) that is being loaded before apache parses those lines
in your httpd.conf file (see line 210 of your httpd.conf file: 'include
conf.d/*.conf'). Have a look at the file in /etc/httpd/conf.d and see what
ScriptAlias and Alias definitions exist in that file. It might in fact make more
sense to put the nagios web configuration in that file rather than in the
httpd.conf file... though it's up to you. There should only be one definition
for the nagios Alias and ScriptAlias definitions, and they should be as they
currently are in your httpd.conf file.
 


 
3. The files that are located in the /usr/local/nagios/sbin directory
are the following:
-rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48 avail.cgi
-rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48 cmd.cgi
-rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48 config.cgi
-rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48 extinfo.cgi
-rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48 histogram.cgi
-rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48 history.cgi
-rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48
notifications.cgi
-rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48 outages.cgi
-rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48 showlog.cgi
-rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48 status.cgi
-rwxrwxr-x 1 nagios nagios 190220

Re: [Nagios-users] Problem in Preflight Check with commands.cfg

2009-06-24 Thread Kaplan, Andrew H.
I went ahead and copied the nagios directory from our original server to the new
one.
Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page
of the 
application appears without a problem. However, whenever I try to go to any one
of the 
links from the main page, an error message similar to the one below appears
on-screen:

Not Found
The requested URL /nagios/cgi-bin/status.cgi was not found on this server. 


I noticed that after I inserted the snippets from the nagios.conf file into the 
httpd.conf file, and subsequently restarted the Apache server, the following
errors 
appeared on-screen:

Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line
566 
will probably never match because it overlaps an earlier ScriptAlias.
[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will
probably never 
match because it overlaps an earlier Alias.

I have enclosed a copy of the httpd.conf file in its present version. I am at a
loss
as to why the error message is occurring, and I would really appreciate help on
this. 


 

-Original Message-
From: Natxo Asenjo [mailto:natxo.ase...@gmail.com] 
Sent: Wednesday, June 24, 2009 7:14 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem in Preflight Check with commands.cfg

On Fri, Jun 19, 2009 at 10:52 PM, Kaplan, Andrew
H.ahkap...@partners.org wrote:

 /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg
 Nagios 3.0.6
 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
 Last Modified: 12-01-2008
 License: GPL
 Reading configuration data...
 Warning: Duplicate definition found for command 'check_dns' (config file
 '/etc/nagios3/conf.d/commands.cfg', starting on line 90)
 Error: Could not add object property in file
'/etc/nagios3/conf.d/commands.cfg'
 on line 91.

I would start grepping in /etc/nagios3 for check_dns (you can grep
recursively and ignoring case sensitivity with the options -ri ).

something like this, then:

# cd /etc/nagios3
# grep -ri check_dns *

See what you get, somewhere you have a duplicate command in your configuration.

Natxo

--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


httpd.conf
Description: httpd.conf
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Problem getting past main page

2009-06-24 Thread Kaplan, Andrew H.
This issue is an offshoot of the Problem in preflight check with commands.cfg.

I went ahead and copied the nagios directory from our original server to the new
one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main
page
of the application appears without a problem. However, whenever I try to go to
any one
of the links from the main page, an error message similar to the one below
appears
on-screen:

Not Found
The requested URL /nagios/cgi-bin/status.cgi was not found on this server. 


I noticed that after I inserted the snippets from the nagios.conf file into the 
httpd.conf file, and subsequently restarted the Apache server, the following
errors appeared on-screen:

Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line
566 will probably never match because it overlaps an earlier ScriptAlias.
[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will
probably never match because it overlaps an earlier Alias.

I have enclosed a copy of the httpd.conf file in its present version. I am at a
lossas to why the error message is occurring, and I would really appreciate help
on
this. 

 httpd.conf 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


httpd.conf
Description: httpd.conf
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] REPOST: Problem in Preflight Check with commands.cfg

2009-06-22 Thread Kaplan, Andrew H.
Hi there--
 
I am reposting this question due to a lack of response. I really am in need of 
help here, and any would be greatly appreciated. Thanks.

I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server
using the apt-get utility. We currently have a Nagios 2.6 server running, and 
I wanted to import the configuration files into the newer server. To that end, 
I have placed the appropriate configuration files in the /etc/nagios3/conf.d
directory, and modified the nagios.cfg file to reflect the location of the
configuration files.
 
I ran the preflight check and the following error message appeared on-screen:
 
/usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg 
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Warning: Duplicate definition found for command 'check_dns' (config file
'/etc/nagios3/conf.d/commands.cfg', starting on line 90)
Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg'
on line 91.
*** One or more problems was encountered while processing the config files...
 Check your configuration file(s) to ensure that they contain valid
 directives and data defintions.  If you are upgrading from a previous
 version of Nagios, you should be aware that some variables/definitions
 may have been removed or modified in this version.  Make sure to read
 the HTML documentation regarding the config files, as well as the
 'Whats New' section to find out what has changed.
 
I checked the commands.cfg, and several other files, and I do not see where the
duplicate definition is occurring. 
Can someone lend a hand on this? Thanks.

-Original Message-
From: Kaplan, Andrew H. 
Sent: Friday, June 19, 2009 4:52 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Problem in Preflight Check with commands.cfg

Hi there --
 
I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server
using the apt-get utility. 
We currently have a Nagios 2.6 server running, and I wanted to import the
configuration files into the
newer server. To that end, I have placed the appropriate configuration files in
the /etc/nagios3/conf.d
directory, and modified the nagios.cfg file to reflect the location of the
configuration files.
 
I ran the preflight check and the following error message appeared on-screen:
 
/usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg 
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Warning: Duplicate definition found for command 'check_dns' (config file
'/etc/nagios3/conf.d/commands.cfg', starting on line 90)
Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg'
on line 91.
*** One or more problems was encountered while processing the config files...
 Check your configuration file(s) to ensure that they contain valid
 directives and data defintions.  If you are upgrading from a previous
 version of Nagios, you should be aware that some variables/definitions
 may have been removed or modified in this version.  Make sure to read
 the HTML documentation regarding the config files, as well as the
 'Whats New' section to find out what has changed.
 
I checked the commands.cfg, and several other files, and I do not see where the
duplicate definition is occurring. 
Can someone lend a hand on this? Thanks.
 
 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


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

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http

[Nagios-users] Problem in Preflight Check with commands.cfg

2009-06-19 Thread Kaplan, Andrew H.
Hi there --
 
I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server
using the apt-get utility. 
We currently have a Nagios 2.6 server running, and I wanted to import the
configuration files into the
newer server. To that end, I have placed the appropriate configuration files in
the /etc/nagios3/conf.d
directory, and modified the nagios.cfg file to reflect the location of the
configuration files.
 
I ran the preflight check and the following error message appeared on-screen:
 
/usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg 
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Warning: Duplicate definition found for command 'check_dns' (config file
'/etc/nagios3/conf.d/commands.cfg', starting on line 90)
Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg'
on line 91.
*** One or more problems was encountered while processing the config files...
 Check your configuration file(s) to ensure that they contain valid
 directives and data defintions.  If you are upgrading from a previous
 version of Nagios, you should be aware that some variables/definitions
 may have been removed or modified in this version.  Make sure to read
 the HTML documentation regarding the config files, as well as the
 'Whats New' section to find out what has changed.
 
I checked the commands.cfg, and several other files, and I do not see where the
duplicate definition is occurring. 
Can someone lend a hand on this? Thanks.
 
 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


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


Re: [Nagios-users] NConf 1.2.5 released

2009-06-15 Thread Kaplan, Andrew H.
Hi there --

I want to set up a Nagios 3.1.0 server, and import the configuration files
from our current 2.6 server. I noticed that NConf has config importer as
part of its features. Has anyone used this importer successfully in a manner
similar to the one that I described? Thanks.

 

-Original Message-
From: agargi...@users.sourceforge.net [mailto:agargi...@users.sourceforge.net] 
Sent: Friday, June 12, 2009 2:57 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] NConf 1.2.5 released


The new version of NConf is out!
http://nconf.sourceforge.net

Among many improvements and fixes, the main new features are:
 
- clone services between hosts
- host dependency view
- static file editor
- Nagios config importer (BETA)
- database API (BETA)




--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problem with preflight check

2009-06-11 Thread Kaplan, Andrew H.
Hi there --

I went through the motions of adding the lines in question to the nagios.cfg
file. When I run the preflight
check now, I am able to see all the services and hosts to be monitored. However,
during the flight check the
following errors appear on-screen:

Checking services...
Error: Contact group 'admins' specified in service 'Current Load' for host
'localhost' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Current Users' for host
'localhost' is not defined anywhere!
Error: Contact group 'admins' specified in service 'HTTP' for host 'localhost'
is not defined anywhere!
Error: Contact group 'admins' specified in service 'PING' for host 'localhost'
is not defined anywhere!
Error: Contact group 'admins' specified in service 'Root Partition' for host
'localhost' is not defined anywhere!
Error: Service check command 'check_ssh' specified in service 'SSH' for host
'localhost' not defined anywhere!
Error: Contact group 'admins' specified in service 'SSH' for host 'localhost' is
not defined anywhere!
Error: Service check command 'check_local_swap' specified in service 'Swap
Usage' for host 'localhost' not defined anywhere!
Error: Contact group 'admins' specified in service 'Swap Usage' for host
'localhost' is not defined anywhere!
Error: Contact group 'admins' specified in service 'Total Processes' for host
'localhost' is not defined anywhere!

What file(s) do I need to modify now in order to get past this? Thanks. 



-Original Message-
From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
Sent: Thursday, June 11, 2009 12:45 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problem with preflight check

Did you check the nagios.cfg for the cfg_file or cfg_dir directives to tell it
what files to load 
and check ?

Assaf

On Thursday 11 June 2009 15:31:59 Kaplan, Andrew H. wrote:
 Hi there --

 I copied from out Nagios 2.6 server the .cfg files, with the exception of
 nagios.cfg, to our new Nagios 3.0.6 server
 and placed them in the /usr/local/nagios/etc directory. When I run the
 preflight check, I noticed that the only services
 that being checked are those that are specific to the localhost. What
 file(s) do I need to reconfigure in order to have
 all the services on the all the hosts to be checked, and subsequently
 monitored by the 3.0.6 server? Thanks.




 The information in this e-mail is intended only for the person to whom it
 is addressed. If you believe this e-mail was sent to you in error and the
 e-mail contains patient information, please contact the Partners Compliance
 HelpLine at http://www.partners.org/complianceline . If the e-mail was sent
 to you in error but does not contain patient information, please contact
 the sender and properly dispose of the e-mail.



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

Along with a few colleagues I am doing The Three Peaks Challenge again 
this year to raise money for The Railway Children.
Please sponsor me by making a donation online, simply click on the link 
below and give via your switch/credit card. Thank you.
http://www.justgiving.com/londonnorththreepeaks




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

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

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

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

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects

[Nagios-users] Error Message encountered when using NagVis 1.4

2009-06-10 Thread Kaplan, Andrew H.
Hi there -- 

I completed the installation of NagVis 1.4 onto one of our Nagios 3.0.6 servers.
While I am able
to get to the config.php page, whenever I select an option such Overview, Open
in NagVis, or the 
demo-server and demo2 maps, I get the following error message:

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

This error occurs if I am at the server console, or if I am viewing it from a
remote host. I made several
changes to the nagvis.ini.php file, and I have enclosed a copy of the with this
e-mail. Can someone
tell me what I need to change in order to get NagVis to work properly? Thanks.

 nagvis.ini.php 





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
attachment: nagvis.ini.php
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] mbstring not loaded error message with nagvis

2009-06-04 Thread Kaplan, Andrew H.
Hi there --

I went through the motions of installing NagVis 1.4 onto our Nagios 3.0.6
server, and when I try
to access the nagvis page from the server console, the following error message
appears on-screen:

the php module mbstring is not loaded

I verified the php-mbstring package was installed by running the yum utility.
What do I need to
do in order to get NagVis operational? Thanks. 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Importing 2.6 config files into a 3.1.0 server

2009-05-27 Thread Kaplan, Andrew H.
Hi there --

Is it possible to import into a 3.1.0 server the configuration files that are
currently on a 2.6 server?
If so, what steps and/or tools are necessary in order to accomplish this task?
Thanks.




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-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] Importing 2.6 config files into a 3.1.0 server

2009-05-27 Thread Kaplan, Andrew H.
Hi there --

Is it possible to import into a 3.1.0 server the configuration files that are
currently on a 2.6 server?
If so, what steps and/or tools are necessary in order to accomplish this task?
Thanks.





The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-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] Question about Check Command field

2009-05-18 Thread Kaplan, Andrew H.
Hi there --

I completed the installation of Ignoramus 0.2.3, and I was going through the
list within the Check Command.
The list of services does not include all of the plugins that are available
within Nagios. One example would be
the check_disk plugin. 

Can I modify the services.php file to include any additional check command that
I want, or do I need to create
a custom command instead? Thanks.




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Plugin to check if nfsd is running

2009-04-20 Thread Kaplan, Andrew H.
Hi there --

Is there a plugin available that will specifically check if the nfsd service is
running? If not, what existing
plugin would I use to accomplish this task? Thanks. 

 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
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] Recommended Plugin for Monitoring iptables

2009-01-22 Thread Kaplan, Andrew H.
Hi Marc --

Thanks for your reply. I downloaded the script, and I am currently testing it.

I had to make one modification within the script: The -S argument is not known
by the version, 1.3.8, of iptables on the server in question, so I replaced it
with the -L argument.

One question to all members who have used the script: Is the script designed to
run in the background, or is it simply invoked by Nagios and then closed when it
is done running? The reason I ask is I am manually running it, and it does not
immediately close. Thanks. 



-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: Tuesday, January 20, 2009 5:05 PM
To: nagios-users Mailinglist
Subject: Re: [Nagios-users] Recommended Plugin for Monitoring iptables


On Jan 20, 2009, at 3:00 PM, Kaplan, Andrew H. wrote:

 Hi there --

 Thanks for your reply. I simply want to ensure that 'iptables -vnL'
 comes back with output indicating that firewall rules are in effect.

I don't use it but the first hit on google looks promising...

http://www.google.com/search?q=nagios+check_iptables

The script does not (and can not) detect stupid rules. It's purpose  
is to ensure that iptables and the configured rules (whatever they may  
be) are loaded.

It is useful to identify situations such as:
- forgetting to start iptables at boot
- stopping iptables for testing and forgetting to restart
- etc

Normal condition is where all tables have 1 or more rules.
Critical condition is when a table (any table) has 0 rules. 

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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
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] Recommended Plugin for Monitoring iptables

2009-01-20 Thread Kaplan, Andrew H.
Hi there --

Thanks for your reply. I simply want to ensure that 'iptables -vnL' 
comes back with output indicating that firewall rules are in effect.  

-Original Message-
From: Klaus Umbach [mailto:treibh...@sozial-inkompetent.de] 
Sent: Tuesday, January 20, 2009 3:27 PM
To: Kaplan, Andrew H.
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Recommended Plugin for Monitoring iptables

On 20/01/09 15:09, Kaplan, Andrew H. wrote:
 Is there a recommended plugin for monitoring iptables? The Nagios server is 
 version 2.6, and the version of the bundled plugins is currently 1.4.5.
Thanks. 

what exactly do you want to monitor?

-
Klaus
 
-- 
BOFH excuse #406:

Bad cafeteria food landed all the sysadmins in the hospital.


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


--
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] Problem with check_smtp plugin

2009-01-15 Thread Kaplan, Andrew H.
Hi there --

I recently installed Kyle O'Donnell's HP-UX plugins onto a system running HP-UX
11i v1. All plugins that are in use
appear to be running fine with one exception: check_smtp reports and invalid
hostname/address. 

I checked the arguments associated with the plugin and I manually ran the
following combinations:

./check_smtp -H hostname
./check_smtp -H FQDN
./check_smtp -H IP Address
./check_smtp --hostname=hostname
./check_smtp --hostname=FQDN
./check_smtp --hostname=IP Address

None of the above combinations worked. Does anyone have a solution to this
problem? Thanks. 




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
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] Changing diskspace available from kilobytes to megabytes

2009-01-12 Thread Kaplan, Andrew H.
Hi there --

We currently have several Nagios 2.6, and will eventually deploy version 3.0.6
servers running on our network.
Currently diskspace availability is shown in kilobytes, but I would prefer to
have it displayed in megabytes. 

Is it possible to configure either versions of Nagios to have the output in
megabytes? If so, what needs to be 
done in order to accomplish this? Thanks. 




The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
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] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Kaplan, Andrew H.
Hi there -

 

I will be implementing Nagios 3.0.5 on a new server, and the operating system in
question will be the Fedora Core 9 release.

Are there any issues that I should be aware of prior to the installation of
Nagios, via yum, onto the server? Thanks. 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
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=100url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 3.0.5 on Fedora Core 9

2008-11-12 Thread Kaplan, Andrew H.
Hi Hugo --

If I was to go the CentOS route, would the Quick Install procedure available for
Fedora also work for version 5.2 64-bit of CentOS?


-Original Message-
From: Hugo van der Kooij [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 3:41 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kaplan, Andrew H. wrote:

 I will be implementing Nagios 3.0.5 on a new server, and the operating
 system in question will be the Fedora Core 9 release.
 
 Are there any issues that I should be aware of prior to the installation
 of Nagios, via yum, onto the server? Thanks.

Life expectation? Fedora 9 will not be supported in 1 year from now. Do
you want to do a major upgrade each year?

That is why I never will run Fedora on a server. Only Centos on servers
for me.

Hugo.


- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJGz9RBvzDRVjxmYERAoqSAKCHEOvEH/loO7c3bOQPgRzH2/hX1QCeO5m9
cTGEwMUKjBWVKKhLQWH8LYQ=
=nr0z
-END PGP SIGNATURE-

-
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=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.




-
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=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] unable to install nagios-plug ins on HP UX

2008-07-30 Thread Kaplan, Andrew H.
Hi there -

 

The solution that I have used, admittedly it is more of a workaround than a fix,
is to install the precompiled packages

that are available for the HP-UX operating system. The URL for the packages is
the following: 

 

http://www.bennyvision.com/projects/nagios/index.php

 

Hope that helps. 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2008 9:36 AM
To: nagios Mailinglist
Subject: [Nagios-users] unable to install nagios-plug ins on HP UX

 

Hi,

 

I set up nagios server on Red Hat Linux box and trying to make HP UX as nagios
client to it. I'm trying to install nagios-plugins (nagios-plugins-1.4.11) on HP
UX - PA RISC and found some problems. After untar nagios-plugin and then execute

 

./configure --prefix=/usr/local/nagios

 


checking for working re_compile_pattern... no
checking whether isblank is declared... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... (((1UL  31) - 1) * 2 + 1)
checking for snprintf... yes
checking for socklen_t... no
checking for socklen_t equivalent... configure: error: Cannot find a type to use
in place of socklen_t

bash-3.2# tail -f config.log
#define regcomp rpl_regcomp
#define regexec rpl_regexec
#define regerror rpl_regerror
#define regfree rpl_regfree
#define HAVE_DECL_ISBLANK 1
#define HAVE_STDINT_H 1
#define SIZE_MAX (((1UL  31) - 1) * 2 + 1)
#define HAVE_SNPRINTF 1

configure: exit 1

can you please let us know how we can fix this?

 

Thanks

 


-- 
shankar


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
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=100url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Configuring pnp4nagios questions

2008-03-28 Thread Kaplan, Andrew H.
Hi there -

 

We are running Nagios 2.6, and I am going through the motions of configuring
pnp4nagios on it.

I have come to the step in the procedure where I set up the nagios web frontend.
The templates

that need to be configured are shown below:

 

define host {
  name   host-pnp
  register   0
  action_url /nagios/pnp/index.php?host=$HOSTNAME$
}
 
define service {
  name   srv-pnp
  register   0
  action_url /nagios/pnp/index.php?host=$HOSTNAME$srv=$SERVICEDESC$
}
 
I had two questions concerning the templates:
 
1.   What file(s) do I need to modify to properly configure pnp4nagios to
operate correctly with
the Nagios application?
2.   Do the above definitions need to be individually applied to all hosts,
or will they automatically 
  cover all hosts that are currently, and in the future will be, monitored
by the Nagios server?  
 
Thanks.
  
 

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
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

[Nagios-users] Problems with two plugins timing out

2008-01-29 Thread Kaplan, Andrew H.
Hi there -

 

I am monitoring a system that functions as a mail and ssh server. Along with the
check_ssh and check_smtp plugins, I am also monitoring the mailq, check_mailq,

the diskspace, check_disk, and also the processes, check_procs. The latter three
plugins are working fine, but the first two, check_ssh and check_smtp, are
getting

socket timeout errors. The Nagios server and NRPE client are running the 2.6
version. 

 

I ran the two plugins from the command line on both the Nagios server, via
check_nrpe, and on the client in question, using just the plugins. I included
the -p option 

to specify the port. Both instances resulted in timeouts occurring. The client
system is running iptables, and I had configured it to allow what I thought was
the appropriate

traffic to go and come from the system. Listed below is an excerpt that deals
with this issue:

 

### Accept connections from ip address # Make sure to include these entries in
the OUTPUT chain.

$IPTABLES -A INPUT -p icmp -s ip address -j ACCEPT

$IPTABLES -A INPUT -p tcp --dport 5666 -s ip address -j ACCEPT

$IPTABLES -A INPUT -p udp --dport 5666 -s ip address -j ACCEPT

$IPTABLES -A INPUT -p tcp --dport 22 -s ip address -j ACCEPT

$IPTABLES -A INPUT -p udp --dport 22 -s ip address -j ACCEPT

$IPTABLES -A INPUT -p tcp --dport 25 -s ip address -j ACCEPT

$IPTABLES -A INPUT -p udp --dport 25 -s ip address -j ACCEPT

 

...

 

$IPTABLES -A OUTPUT -p icmp -d ip address -j ACCEPT

$IPTABLES -A OUTPUT -p tcp --dport 5666 -d ip address -j ACCEPT

$IPTABLES -A OUTPUT -p udp --dport 5666 -d ip address -j ACCEPT

$IPTABLES -A OUTPUT -p tcp --dport 22 -d ip address -j ACCEPT

$IPTABLES -A OUTPUT -p udp --dport 22 -d ip address -j ACCEPT

$IPTABLES -A OUTPUT -p tcp --dport 25 -d ip address -j ACCEPT

$IPTABLES -A OUTPUT -p udp --dport 25 -d ip address -j ACCEPT

 

Are there any additional ports that I need to provide exceptions for in order to
get the two plugins to work? Thanks. 

 

 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
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] Problems with two plugins timing out

2008-01-29 Thread Kaplan, Andrew H.
 Since the command is failing locally on the client in question, this may not
be iptable issue.

 

 Do you have these plugins in the correct location?

 

The location of the plugins is the same as the others: /usr/local/npre/libexec

 

 Do they have required nagios user ownership.

 

The ownership of the plugins, along with the others is as follows:

-rwxr-xr-x 1 nagios nagios  62638 2007-11-28 11:40 check_ssh

-rwxr-xr-x 1 nagios nagios 334907 2007-11-28 11:40 check_http

 

 Have you enabled debugging options in nrpe to check?

 

I did have debugging turned on via the nrpe.cfg file on the client. However,
even after I tried

manually running the plugins in question, there was no record of the plugins
recorded in

the /var/log/messages file on the client, or in a similar file on the server. 

 

 Please post the command which you are running locally and from Nagios server?

The commands that I tried are listed below: 

 

-bash-3.2$ ./check_ssh -H ip address

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H hostname

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H hostname -p 22

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H ip address -p 22

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H hostname

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H ip address

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H ip address -p 25

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H hostname -p 25

CRITICAL - Socket timeout after 10 seconds

 

 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
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] Problem Getting NSClient 2.01 to run on Windows Server 2003 Storage Server

2008-01-11 Thread Kaplan, Andrew H.
Hi there -

 

I am trying to get NSClient 2.01 to run on Windows Server 2003 Storage Server.
The installation process appears

to go without a problem, and there is a Nagios Agent heading in the Services
window. However, whenever I try to

run NSClient, the program cannot start, and the error message that appears
indicates the program closed

unexpectedly. I tried running NSClient in Windows 2000 compatibility mode with
the same result.

 

Has anyone seen this, and know what the solution is? Thanks. 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
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

[Nagios-users] Check_SMTP plugin Problem

2007-11-29 Thread Kaplan, Andrew H.
Hi there -

 

I want to monitor the status of our Sendmail server, and I plan on using the
check_smtp plugin. When I manually run the plugin using the following syntax:

 

./check_smtp -H hostname

 

The output I get is the following:

 

Connection refused

SMTP CRITICAL - 0.000 sec. response time|time=0.000473s;;;0.00

 

The server is outside the company's firewall, but it is able to be monitored via
port 5666. What steps can I take to enable the use of this plugin? The Nagios

server are both version 2.6. Thanks. 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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_SMTP plugin Problem

2007-11-29 Thread Kaplan, Andrew H.
Hi there --

I tried the command syntax you suggested, and the output was the following:

Invalid SMTP response received from host on port 5666

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Max Hetrick
Sent: Thursday, November 29, 2007 4:38 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Check_SMTP plugin Problem

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kaplan, Andrew H. wrote:

 
 The server is outside the company's firewall, but it is able to be
 monitored via port 5666. What steps can I take to enable the use of this
 plugin? The Nagios

Read the help on the plugin.

./check_smtp --help

./check_smtp -H HOST -p 5666  # specify the port

Regards,
Max
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFHTzE6HoeeepPau2ERAp0nAKCekPQyym9WjG9GnvosqrDYcDS+MgCeKbtt
smwA2hbI00BBoA0v4pgvlP4=
=k9Xp
-END PGP SIGNATURE-

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
::: Messages without supporting info will risk being sent to /dev/null

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Statistics Collection

2007-05-16 Thread Kaplan, Andrew H.
Hi there -

 

I am running Nagios 2.8, and I wanted to add a statistics collection component
to it in order to check the usage of disk space on one of our servers.

The plan was to use APAN because we had used it on a Nagios 1.3 system. 

 

Will APAN work on Nagios 2.8, or can anyone suggest an alternative to APAN?
Thanks. 






The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 and Nagios plugin for Tru64 and HPUX 10

2007-03-07 Thread Kaplan, Andrew H.
Hi there -

 

If you are running Nagios 1.x, the precompiled binaries for hpux 10.x can be
found at www.bennyvision.com http://www.bennyvision.com/ . They are located on
the projects page. 

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 4:51 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] NRPE and Nagios plugin for Tru64 and HPUX 10

 

Hi,

 

Can some one share the pre-compiled binaries of Tru64 and HPUX 10 NRPE and
Plugin.

 

Or please share the procedure to compile them on Tru64 and HPUX 10.

 

Thank you 

 

Regards,

 

Narendran Neelamegam






The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Problem with check_nis script

2007-03-06 Thread Kaplan, Andrew H.
Hi there -

 

I have installed the check_nis script on our Nagios 2.6 server, and have been
able to manually run it. My next step is getting it to run within Nagios. 

The script has been copied to the libexec directory, and I have added a command
definition to the commands.cfg file. Here is the syntax of the entry:

 

#  'check_nis_space' command definition

define command{

command_name/usr/local/nagios/libexec/check_nis -H space
-d nisdomain

command_line   /usr/local/nagios/libexec/check_nis -H
space -d nisdomain

}

 

I then went to the services.cfg file and added an entry there for the
aforementioned command. The syntax there is the following:

 

# Service definition

define service{

   use generic-service ; Name of service
template to use

 

   host_name space

   service_description Check NIS Service

   is_volatile   0

   check_period  24x7

   max_check_attempts  3

   normal_check_interval 5

   retry_check_interval1

   contact_groups  linux-admins

   notification_interval  120

   notification_period   24x7

   notification_optionsw,u,c,r

   check_commandcheck_nis_space

   }

 

When I run the nagios -v check, I get an error message stating that the
check_nis_space check_command in services.cfg is not defined anywhere. 

Is there another file(s) that I need to configure to get this to work? Thanks. 

 






The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] TCP/IP Port that NSClient 2.x uses

2007-02-22 Thread Kaplan, Andrew H.
Hi there -

 

I have a Windows server running NSClient 2.1 on it. I recently activated a
firewall on the server and I need to allow an exception for the nsclient

in order for our Nagios 2.6 server to monitor the remote system. Does anyone
know what is the port number(s) that nsclient uses? Thanks. 






The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Getting a no response error when checking via snmpplugin check_hd

2007-02-21 Thread Kaplan, Andrew H.
Hi there --

I ran the snmpwalk command from the nagios machine, and it did timeout. My
next step will be to check the HP-UX box, and see if it does allow the polling
to occur. 



-Original Message-
From: Morris, Patrick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 7:49 PM
To: Kaplan, Andrew H.; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Getting a no response error when checking
via snmpplugin check_hd


 I am trying to monitor the disk space usage on several HP-UX 
 10.20 systems using the check_hd plugin. The command syntax I 
 am using is the following:
 
 ./check_hd ip address -C public 80% 90% /dev/vg00/lvol8
 
 The output I am getting is:
 
 Critcal: no response

I'm not familiar with that plugin, but have you verified that the HP-UX
box is allowing the Nagios machine to poll it over SNMP?

Does an snmpwalk from the Nagios machine work, for example?





The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Getting a no response error when checking via snmp plugin check_hd

2007-02-20 Thread Kaplan, Andrew H.
Hi there -

 

I am trying to monitor the disk space usage on several HP-UX 10.20 systems using
the check_hd plugin. The command syntax I am using is the following:

 

./check_hd ip address -C public 80% 90% /dev/vg00/lvol8

 

The output I am getting is:

 

Critcal: no response

 

Am I using the incorrect syntax, or is there something else I should check?
Thanks. 






The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Running Nagios 1.x and 2.x on the same server

2007-02-05 Thread Kaplan, Andrew H.
Hi there -

 

I am currently monitoring a group of HP-UX 10.20 systems with out Nagios 1.4
server. A new 2.6 server is being implemented, but the 2.6 NRPE client

will not compile on the 10.20 systems. I am not aware of any 2.6 binaries that
will work on the 10.20 systems, so the decision was made to continue

using a 1.x server to monitor the workstations in question until they get
retired. 

 

One idea was to have both Nagios 1.x and 2.x running on the same server and have
virtual machines set up for both. Aside from compiling and installing

the two servers into separate directories, are there any other issues that I
should consider before proceeding? Thanks. 

 

 





THE INFORMATION TRANSMITTED IN THIS ELECTRONIC COMMUNICATION IS INTENDED ONLY 
FOR THE PERSON OR ENTITY TO WHOM IT IS ADDRESSED AND MAY CONTAIN CONFIDENTIAL 
AND/OR PRIVILEGED MATERIAL.  ANY REVIEW, RETRANSMISSION, DISSEMINATION OR OTHER 
USE OF OR TAKING OF ANY ACTION IN RELIANCE UPON, THIS INFORMATION BY PERSONS OR 
ENTITIES OTHER THAN THE INTENDED RECIPIENT IS PROHIBITED.  IF YOU RECEIVED THIS 
INFORMATION IN ERROR, PLEASE CONTACT THE SENDER AND THE PRIVACY OFFICER, AND 
PROPERLY DISPOSE OF THIS INFORMATION.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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

  1   2   >