[Nagios-users] Disk stat for fsusage.c is compiled in different route between nagios plug v 1.4 and 1.4.15

2011-12-01 Thread Yu Watanabe
Hi!

I have found that the fsusage.c (where get_fs_usage is defined)
is compiled differently in versions between nagios plugins 1.4 and 1.4.15.
I have compiled both plugins on same platform.

In 1.4, fsusage.c is compiled in the route where most of the stats are
retrieved by  'full_read'

150   struct filsys fsd;
151   int fd;
152
153   if (! disk)
154 {
155   errno = 0;
156   return -1;
157 }
158
159   fd = open (disk, O_RDONLY);
160   if (fd  0)
161 return -1;
162   lseek (fd, (off_t) SUPERBOFF, 0);
163   if (full_read (fd, (char *) fsd, sizeof fsd) != sizeof fsd)
164 {
165   close (fd);
166   return -1;
167 }
168   close (fd);

'blocksize' is overlapped by 'statfs'

182 #ifdef STAT_STATFS2_BSIZE   /* 4.3BSD, SunOS 4, HP-UX, AIX */
185   struct statfs fsd;
186
187   if (statfs (path, fsd)  0)
188 return -1;
189
190   fsp-fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_bsize);

However , in v 1.4.15 , fsusage.c is compiled in the route where all the stats 
are
retrieved by 'statfs'

171 #elif defined STAT_STATFS2_BSIZE/* 4.3BSD, SunOS 4, HP-UX, AIX 
*/
173
174   struct statfs fsd;
175
176   if (statfs (file, fsd)  0)
177 return -1;
178
179   fsp-fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_bsize);

then it goes into the route,

232 #if (defined STAT_STATVFS \
233  || (!defined STAT_STATFS2_FS_DATA  !defined STAT_READ_FILSYS))
234
236   fsp-fsu_blocks = PROPAGATE_ALL_ONES (fsd.f_blocks);
237   fsp-fsu_bfree = PROPAGATE_ALL_ONES (fsd.f_bfree);
238   fsp-fsu_bavail = PROPAGATE_TOP_BIT (fsd.f_bavail);
239   fsp-fsu_bavail_top_bit_set = EXTRACT_TOP_BIT (fsd.f_bavail) != 0;
240   fsp-fsu_files = PROPAGATE_ALL_ONES (fsd.f_files);
241   fsp-fsu_ffree = PROPAGATE_ALL_ONES (fsd.f_ffree);
242
243 #endif

This difference cases the difference in the output.

(v 1.4)
DISK OK - free space: / 17211 MB (35%);| /=32385MB;34716;44635;0;49595

(v 1.4.15)
DISK OK - free space: / 17210 MB (36% inode=98%);| /=29825MB;34716;44635;0;49595

This seems to be caused in the configure where all the compile 
options are decided. I am trying to figure out why there is a 
difference in the compile option. The inode prompts correctly 
in RHEL 4.

It would be helpful if someone can give me a hand with this...

Thanks,
Yu


--
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] monitor printer from Windows server

2011-12-01 Thread James Osbourn
I have a Windows 7 server acting as a print server and I would like to check 
the status of these printers and make sure that they are still online etc.

I cannot seem to find a way of checking printers shared from a Windows machine, 
does anyone have any suggestions or references that I could use.

Thanks

James

--
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] monitor printer from Windows server

2011-12-01 Thread Mies, Christian
Hi,
have you had a look at the Windows Counter, if there is a Value that will be 
interesting? The second way could be to 'Ping' the Printer and to use a 
Eventcorrelation Engine like openITCOCKPIT or NagiosBP?

Regards,
Christian


i.A. Christian Mies
Senior Consultant

Tel: +49 (661) 103-874  (-333)  
Fax: +49 (661) 103-17874(-334)
mailto:christian.m...@it-novum.com

 

it-novum GmbH .  Edelzeller Strasse 44 . 36043 Fulda  . http://www.it-novum.com
Handelsregister Amtsgericht Fulda, HRB 1934 . Geschäftsführer: Michael Kienle . 
Sitz der Gesellschaft: Fulda


Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche 
Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder 
vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder 
Weiterleitung dieser Mail ist strengstens verboten.
This e-mail may contain confidential and/or priviledged information. If you are 
not the intended recepient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorised 
copying, disclosure or distribution of material in this e-mail is strictly 
forbidden.


-Ursprüngliche Nachricht-
Von: James Osbourn [mailto:james.osbo...@citrix.com] 
Gesendet: Donnerstag, 1. Dezember 2011 13:40
An: nagios-users@lists.sourceforge.net
Betreff: [Nagios-users] monitor printer from Windows server

I have a Windows 7 server acting as a print server and I would like to check 
the status of these printers and make sure that they are still online etc.

I cannot seem to find a way of checking printers shared from a Windows machine, 
does anyone have any suggestions or references that I could use.

Thanks

James

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


Re: [Nagios-users] monitor printer from Windows server

2011-12-01 Thread Jim Avery
On 1 December 2011 12:39, James Osbourn james.osbo...@citrix.com wrote:
 I have a Windows 7 server acting as a print server and I would like to check 
 the status of these printers and make sure that they are still online etc.

 I cannot seem to find a way of checking printers shared from a Windows 
 machine, does anyone have any suggestions or references that I could use.

 Thanks

 James


I query the windows performance counter for number of print jobs
spooling.  If a printer breaks then usually this counter starts
ramping up quite rapidly as more and more print jobs get stuck in the
queue.

For example, the [external alias] section of your nsc.ini (assuming
you use NSClient++), you can have:-

alias_CheckCounter-PrintQJobs=CheckCounter Counter:jobs=\Print
Queue(_Total)\Jobs ShowAll MaxWarn=250 MaxCrit=500

Then your service definition would look something like this:-

define service {
host_name   printserver1,printserver2
service_description PrintQJobs
use srv-pnp,generic-service
check_command   check_nrpe!-c PrintQJobs
max_check_attempts  6
check_interval  15
retry_interval  5
contact_groups  notify-admins
notes   Records the number of Active
Jobs on a Print Server
register1
}

And the command definition I use is just a generic one for any nrpe
check like so:-

define command {^M
command_namecheck_nrpe
command_line$USER1$/check_nrpe -H
$HOSTADDRESS$ -u $ARG1$
register1
}

Our servers aren't quite as recent as Windows 7, but I guess the
counter would still be the same.

I hope that helps.

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


Re: [Nagios-users] notification emails

2011-12-01 Thread Claudio Kuenzler
Did you also do

printf ‘this is a test’ | /bin/mail  –s  test_email  em...@mydomain.com

?

On Wed, Nov 30, 2011 at 9:09 PM, Nick Price np...@hotmail.com wrote:

 The defaults are there.

 ** **

 ** **

 I didecho ‘this is a test’ | /bin/mail  –s  test_email
 em...@mydomain.com

 ** **

 ** **

 That went out Ok

 ** **

 What to look at next

 ** **

 ** **

 ** **

 *From:* Claudio Kuenzler [mailto:c...@claudiokuenzler.com]
 *Sent:* Wednesday, November 30, 2011 12:37
 *To:* Nagios Users List
 *Subject:* Re: [Nagios-users] notification emails

 ** **

 Did you check the command which is used to send notifications in
 command.cfg or checkcommand.cfg ?
 Maybe you don't have the binary or you need to rename the command.

 By default it uses /usr/bin/printf and /usr/bin/mail if I'm not mistaken.*
 ***

 On Wed, Nov 30, 2011 at 9:23 AM, Nick Price np...@hotmail.com wrote:

 Hello

 I am not sure if this is a bug or config issue.

 I have a clean install of fedora 16 32 bit  with a manual install of nagios
 3.3.1  and nagios plugins 1.4.15.

 I see in the debug log

 Notification viability test failed. No notification will be sent out.

 I can send test emails from this server using sendmail and that bit works


 Is there a solution for this.

 Regards

 Nick



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

--
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] Problem on compiling ndoutils ver. 1.4b9

2011-12-01 Thread Mirko Stefanelli
Hi to all,

I have some problem on compiling ndoutils on server ubuntu 11.04 
(X84_64), on this server are installe both nagios 3.3.1 and mysql 
server/client ver.5.1.54. I perform a search in order to find 
libmysqlclient and this library is available on the sistem:

/usr/lib/libmysqlclient.so.16

When I run ./configure under dir of ndoutis source I got this messages:

checking for mysql_config... no


*** MySQL library could not be located... **

You chose to compile NDOutils with MySQL support, but I was unable to
locate the MySQL library on your system.  If the library is
installed,  use the --with-mysql-lib argument to specify the
location of the MySQL library.
installed, use the --with-mysql=DIR argument to specify the
location of the MySQL library, We assume mysql_config is in DIR/dir
NOTE: After you install the necessary libraries on your system:
   1. Make sure /etc/ld.so.conf has an entry for the directory in
  which the MySQL libraries are installed.
   2. Run 'ldconfig' to update the run-time linker options.
   3. Run 'make devclean' in the NDBXT distribution to clean out
  any old references to your previous compile.
   4. Rerun the configure script.

TIP: Try the following
   ./configure --with-mysql=/usr/lib/mysql

I have also create a soft link in order to have this library 
/usr/lib/libmysqlclient.so.

has anyone had experience with this problem?

Any idea?

Regards,
Mirko Stefanelli.

--
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 on compiling ndoutils ver. 1.4b9

2011-12-01 Thread Michael Friedrich
On 01.12.2011 16:42, Mirko Stefanelli wrote:
 Hi to all,

 I have some problem on compiling ndoutils on server ubuntu 11.04
 (X84_64), on this server are installe both nagios 3.3.1 and mysql
 server/client ver.5.1.54. I perform a search in order to find
 libmysqlclient and this library is available on the sistem:

 /usr/lib/libmysqlclient.so.16

 When I run ./configure under dir of ndoutis source I got this messages:

 checking for mysql_config... no


 *** MySQL library could not be located... **

 You chose to compile NDOutils with MySQL support, but I was unable to
 locate the MySQL library on your system.  If the library is
 installed,  use the --with-mysql-lib argument to specify the
 location of the MySQL library.
 installed, use the --with-mysql=DIR argument to specify the
 location of the MySQL library, We assume mysql_config is in DIR/dir
 NOTE: After you install the necessary libraries on your system:
 1. Make sure /etc/ld.so.conf has an entry for the directory in
which the MySQL libraries are installed.
 2. Run 'ldconfig' to update the run-time linker options.
 3. Run 'make devclean' in the NDBXT distribution to clean out
any old references to your previous compile.
 4. Rerun the configure script.

 TIP: Try the following
 ./configure --with-mysql=/usr/lib/mysql

 I have also create a soft link in order to have this library
 /usr/lib/libmysqlclient.so.

 has anyone had experience with this problem?

try to add the mysql header locations to configure as well. and i would 
the default for the libs expecting to be --with-mysql-lib instead.


 Any idea?

 Regards,
 Mirko Stefanelli.

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


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email: michael.friedr...@univie.ac.at
phone: +43 1 4277 14359
mobile:+43 664 60277 14359
fax:   +43 1 4277 14338
web:   http://www.univie.ac.at/zid
http://www.aco.net

Lead Icinga Core Developer
http://www.icinga.org


--
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] Get a clear event for Socket Timeouts

2011-12-01 Thread Mike Clark
We have Nagios 3.0.6 and are using NRPE to monitor remote servers.  I've also 
got IBM Tivoli Netcool and we have Nagios sending traps to Netcool so the NOC 
will call the server team when something fails.  All of the services in Nagios 
are sending traps perfectly and I get an OK trap that I use to clear the 
problem in Netcool when it comes in so everything is working great except for 
Socket Timeouts.

I've been digging around in the Nagios log and I don't see that it ever sends 
an event that a socket timeout has cleared, but if I look at the web or in the 
status.dat file, they state will show it's clear.  Is there something I'm 
missing in a configuration file that will have it send socket timeout clears as 
a notification ( or more accurately, as an event handler).


___
Mike Clark
Sr. Manager, NMS Engineering
Email mike.cl...@masergy.commailto:mike.cl...@masergy.com
[cid:image001.jpg@01CCB024.3CD0F460]
Global Networking Redefined
www.masergy.comhttp://www.masergy.com/

nanos gigantum humeris insidentes Bernard of Chartres
nankurunaisa George Miyagusuku

inline: image001.jpg--
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] monitor printer from Windows server

2011-12-01 Thread Claudio Kuenzler
Besides of course the Spooler Service, you should also monitor the Windows
Event Log.
I've experienced a lot of driver issues on an old Windows print server
which temporarily caused the affected printer(s) to appear as 'offline'.
Such problems appeared in the event log as Warnings with the message
content something about the driver. That was on a Windows Server 2003, but
I think such driver problems are still logged to the Event Log.

On Thu, Dec 1, 2011 at 3:10 PM, Jim Avery j...@jimavery.me.uk wrote:

 On 1 December 2011 12:39, James Osbourn james.osbo...@citrix.com wrote:
  I have a Windows 7 server acting as a print server and I would like to
 check the status of these printers and make sure that they are still online
 etc.
 
  I cannot seem to find a way of checking printers shared from a Windows
 machine, does anyone have any suggestions or references that I could use.
 
  Thanks
 
  James


 I query the windows performance counter for number of print jobs
 spooling.  If a printer breaks then usually this counter starts
 ramping up quite rapidly as more and more print jobs get stuck in the
 queue.

 For example, the [external alias] section of your nsc.ini (assuming
 you use NSClient++), you can have:-

 alias_CheckCounter-PrintQJobs=CheckCounter Counter:jobs=\Print
 Queue(_Total)\Jobs ShowAll MaxWarn=250 MaxCrit=500

 Then your service definition would look something like this:-

 define service {
host_name   printserver1,printserver2
service_description PrintQJobs
use srv-pnp,generic-service
check_command   check_nrpe!-c PrintQJobs
max_check_attempts  6
check_interval  15
retry_interval  5
contact_groups  notify-admins
notes   Records the number of Active
 Jobs on a Print Server
register1
 }

 And the command definition I use is just a generic one for any nrpe
 check like so:-

 define command {^M
command_namecheck_nrpe
command_line$USER1$/check_nrpe -H
 $HOSTADDRESS$ -u $ARG1$
register1
 }

 Our servers aren't quite as recent as Windows 7, but I guess the
 counter would still be the same.

 I hope that helps.

 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

--
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] monitor printer from Windows server

2011-12-01 Thread Werner, Robert
I've had good luck using System.Printing from Powershell and then running the 
scripts from NSClient++.

I just wrote the PowerShell Scripts to use the standard nagios plugin status 
codes.

I used the following links to develop the PowerShell scripts:
http://gallery.technet.microsoft.com/scriptcenter/PrintServerManagementps1-7676ed28
http://msdn.microsoft.com/en-us/library/system.printing.aspx

If there is interest,  I'll ask my boss about sharing the PowerShell scripts.

--
Robert G. Werner
Oracle Apps Systems Administrator
rwer...@pomwonderful.com
559.521.5089

From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com]
Sent: Thursday, December 01, 2011 11:21 AM
To: Nagios Users List
Subject: Re: [Nagios-users] monitor printer from Windows server

Besides of course the Spooler Service, you should also monitor the Windows 
Event Log.
I've experienced a lot of driver issues on an old Windows print server which 
temporarily caused the affected printer(s) to appear as 'offline'. Such 
problems appeared in the event log as Warnings with the message content 
something about the driver. That was on a Windows Server 2003, but I think such 
driver problems are still logged to the Event Log.
On Thu, Dec 1, 2011 at 3:10 PM, Jim Avery 
j...@jimavery.me.ukmailto:j...@jimavery.me.uk wrote:
On 1 December 2011 12:39, James Osbourn 
james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote:
 I have a Windows 7 server acting as a print server and I would like to check 
 the status of these printers and make sure that they are still online etc.

 I cannot seem to find a way of checking printers shared from a Windows 
 machine, does anyone have any suggestions or references that I could use.

 Thanks

 James

I query the windows performance counter for number of print jobs
spooling.  If a printer breaks then usually this counter starts
ramping up quite rapidly as more and more print jobs get stuck in the
queue.

For example, the [external alias] section of your nsc.ini (assuming
you use NSClient++), you can have:-

alias_CheckCounter-PrintQJobs=CheckCounter Counter:jobs=\Print
Queue(_Total)\Jobs ShowAll MaxWarn=250 MaxCrit=500

Then your service definition would look something like this:-

define service {
   host_name   printserver1,printserver2
   service_description PrintQJobs
   use srv-pnp,generic-service
   check_command   check_nrpe!-c PrintQJobs
   max_check_attempts  6
   check_interval  15
   retry_interval  5
   contact_groups  notify-admins
   notes   Records the number of Active
Jobs on a Print Server
   register1
}

And the command definition I use is just a generic one for any nrpe
check like so:-

define command {^M
   command_namecheck_nrpe
   command_line$USER1$/check_nrpe -H
$HOSTADDRESS$ -u $ARG1$
   register1
}

Our servers aren't quite as recent as Windows 7, but I guess the
counter would still be the same.

I hope that helps.

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.netmailto:Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] How to always send notify on ack

2011-12-01 Thread Victor Carpetto
Hi,

Is there an option to prevent users from suppressing notifications on 
acknowledgement?  The default option for natstamon is to not send a 
notification, which is not ideal.  Is there a way to lock the option to always 
send out?

Thanks,

Victor
--
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] How to always send notify on ack

2011-12-01 Thread Henti Smith
On Thu, Dec 1, 2011 at 10:08 PM, Victor Carpetto vic...@owlbydesign.com wrote:
 Hi,

Hi,

 Is there an option to prevent users from suppressing notifications on 
 acknowledgement?  The default option for natstamon is to not send a 
 notification, which is not ideal.  Is there a way to lock the option to 
 always send out?

That would be counter productive. The point of notification is to
direct attention to a state change. Once you've acknowledged the
problem there is no need to notify you of it again, It would be the
same as wanting your phone to continue ringing after you have answered
it.

It's possible I'm missing something, but what would be the benefit of
this configuration if possible ?

Henti

--
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] nagiosgraf install prereq

2011-12-01 Thread Marco Borsani
I run :

# yum install perl-rrdtool perl-GD

# ./install.pl --check-prereq

 

And receive 2 errors:

--

./install.pl --check-prereq

checking required PERL modules

  Carp...1.11

  CGI... ***FAIL***

  Data::Dumper...2.124

  File::Basename...2.77

  File::Find...1.14

  MIME::Base64...3.08

  POSIX...1.17

  RRDs...1.3008

  Time::HiRes... ***FAIL***

checking optional PERL modules

  GD...2.44

checking nagios installation

  found nagios at /usr/local/nagios/bin/nagios

checking web server installation

  found apache at /usr/sbin/httpd

*** one or more problems were detected!

--

 

I don't understand, what I have to install again ?

 

Thanks

Marco 

 

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