Re: [Nagios-users] Monitor windows process

2008-11-04 Thread Izz Abdullah
Dear Chris,
This is 'out-of-the-box' if you use check_nt (NTClient++).  Please look at the 
documentation...
HINT: 
define service{
use generic-service
host_name   PC1,PC2,PC3
service_description Java
check_interval  5
retry_interval  3
check_command   check_nt!PROCSTATE!-d SHOWALL -l java.exe
}

Regards,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Wed, 5 Nov 2008 15:12:05 +0800
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Monitor windows process
> 
> Dear All,
> 
> I would like to use nagios to monitor a windows process, eg. java.exe.
> If the process is there, then nagios 's status is OK. If the process
> is not there, nagios will then send out "Critical" status. Is there
> any existing plugin that can help me do this job?
> 
> Thanks a lot,
> 
> -- Chris
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Sendmail setup with Nagios

2008-10-08 Thread Izz Abdullah
I've read the documentation, and have two options:
1. relay alerts from the Nagios server to our local Exchange server (which is 
too much company politics)
2. setup sendmail correctly to send alerts

So, I know now how to do number one (I think), but number 2, cannot.  I am an 
experienced linux user, but have always been anti-sendmail because of the 
different security risks over the past.  I am guessing that not only does 
sendmail have to be installed, but the Nagios server must also act as a mail 
server.  Can someone please guide me in arranging this setup correctly as I am 
stuck and need to get alert notifications setup correctly soon.

Nagios 3.0.1
Redhat Linux Enterprise Server AS v4

Thanks in advance,
Izz

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] 3-D Status Map not working

2008-10-02 Thread Izz Abdullah
Hi Rick,
I've also done this just to make Nagios "pretty" to the users and customize for 
our customers.  If you see the documentation, you must create the logos 
directory with 40x40 pixel png (other formats acceptable) for the VRML logos to 
work, also, this will create little logos in your regular status map as well as 
a pic next to the host in the summary page.  If I am not mistaken, you will 
need to put together a:
define hostextinfo{...} declaration, but it's all in the documentation.  Here 
is an example completely specific to my internal setup for APAC usage 
justification:
in the say...windows.cfg file:
define hostextinfo{
 host_name#APAC-TEST #this should be the host you want 
  #the special pic for which is located in your logos 
directory in which you created
 notesTest 2003 Domain Controller
 icon_image   Simpsons_couch_gag.jpg
 statusmap_image  Simpsons_couch_gag.jpg
 vrml_image   Simpsons_couch_gag.jpg
}

The icon, statusmap, and vrml image doesn't have to be the same, I just opted 
for the same...

Hope this helps.

Regards - Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Thu, 02 Oct 2008 14:24:15 -0700
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] 3-D Status Map not working
> 
> Rick Knight wrote:
>> I've installed openvrml with it's Mozilla plugin. I've tested the plugin
>> and it works fine with the models supplied with openvrml, but not with
>> Nagios. When I click on 3-D Status Map I get a black screen. I found
>> this error in my apache2 log...
>> 
>> [Thu Oct 02 11:08:50 2008] [error] [client 127.0.0.1] script not found
>> or unable to stat: /usr/local/nagios/sbin/nagios
>> 
>> I get this each time I try to view the 3-D maps. Is this a configuration
>> issue? I don't have a /usr/local/nagios/sbin/nagios, I do have
>> /usr/local/bin/nagios.
>> 
>> Thanks,
>> Rick
>> 
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>> 
> Also, when I save a map to my Desktop on my PC and then try to open with
> sdl-viewer, I get this error (the first line is the command to open the
> file)...
> 
> [EMAIL PROTECTED]:~/Desktop/NewDownloads/openvrml-0.17.8/examples$
> ./sdl-viewer ~/Desktop/statuswrl.wrl
> 
> file:///home/rknight/Desktop/nagios/images/logos/nagiosvrml.png:
> unrecognized error during resolution
> no alternative URI could be resolved
> 
> The path to my Nagios images directory is
> /usr/local/nagios/share/images. Where is the path above comming from?
> 
> Thanks,
> Rick
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Help with Monitoring Windows Machines

2008-10-01 Thread Izz Abdullah
Hi Rick,

In your windows.cfg file ensure you have the following:

define hostgroup{
 hostgroup_name   allhosts
 aliasAll my Hosts #whatever you want (e.g. allhosts, All my Hosts, 
Windows Servers)
 members  #put the hostname of the server you are monitoring here
}

I've also found you need to put in the templates.cfg file the following (at 
least, or maybe most :) )

define host{
 name  All my Hosts #whatever you want to identify (as above)
 use   generic-host
 check_period  24x7
 check_interval5
 retry_interval1
 max_check_attempts10
 check_command check-host-alive
 notification_period   24x7
 notification_interval 30
 notification_options  d,r
 contact_groupsadmins
 hostgroupsallhosts
 register  0
}

Most of the templates.cfg portion is particular to my setup, change as 
necessary.

Hope this helps.

Regards,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Wed, 01 Oct 2008 12:12:14 -0700
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Help with Monitoring Windows Machines
> 
> I've installed Nagios and have it working to monitor my linux localhost
> without problems, so I tried to add a Windows server to monitor. I
> followed the instructions in Nagios Documentation, Monitoring Windows
> Machines. After installing and starting NSClient++ on the Windows
> machine and making the changes to /usr/local/nagios/etc/nagios.cfg and
> /usr/local/nagios/etc/objects/windows.cfg I tried verifying the
> configuration with /usr/local/nagios/bin/nagios -v
> /usr/local/nagios/etc/nagios.cfg. I get this error...
> 
> Nagios 3.0b3
> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
> Last Modified: 08-30-2007
> License: GPL
> 
> Reading configuration data...
> 
> Error: Could not find any hostgroup matching 'allhosts' (config file
> '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25)
> Error: Hostgroup has no members (config file
> '/usr/local/nagios/etc/objects/windows.cfg', starting on line 47)
> 
> ***> 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 get this on 2 linux PCs configured similarly. I've re-read the
> instructions and I've got everything correct.
> 
> Why am I getting this error?
> 
> Thanks,
> Rick
> 
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] sendmail setup and exchange

2008-09-25 Thread Izz Abdullah
I know this is more of a linux question than a Nagios question, but I need to 
setup our Nagios server to bounce emails off our Exchange server.
1. I know I need to point sendmail to the IP / hostname of the Exchange server
2. I know I need to authorize the Nagios server on the Exchange server (with 
what though, just MX records)
3. What more needs to be done so that I can receive notifications?

Please excuse my ignorance.

Nagios 3.0.1 and Exchange 2007 both behind the same proxy server requiring 
authentication, so I don't think bouncing from gmail, yahoo, or inbox.com will 
work (someone please correct me if I am wrong here).

Thanks in advance for the help!
-Izz


FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Canon Printer monitoring

2008-07-16 Thread Izz Abdullah
Yes, I just realized the hpjd command is just for HP printers.  Ok, so after I 
realized, I was looking at the help for check_snmp, and this is the command 
from the command line I tried:

./check_snmp -H 172.24.50.102 -C public
this returns:
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 172.24.50.102:161

(I don't know what I should be query for the -o )

Thanks again for all the help,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Thu, 17 Jul 2008 07:28:17 +0200
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Canon Printer monitoring
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Izz Abdullah wrote:
> |
> | Can not get to work from command line.  Following is the command def:
> |
> | define command{
> |  command_name   check_hpjd
> |  command_line   $USER1$/check_hpjd -H $HOSTADDRESS$
> $ARG1$
> | }
> 
> AFAIK: check_hpjd is specifically tailored towards HP printers. What do
> you expect it to do with another brand of printers?
> 
> And what command did you type on the commandline to test things? I do
> hope you did try that.
> 
> 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.
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> 
> iD8DBQFIfthvBvzDRVjxmYERApQjAJ4xO0Ax1lURzKAB1SnYL0ueJMT8/gCgjAx3
> eDJXBEv+ocbJHsP8jwhXIek=
> =fhGI
> -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=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Canon Printer monitoring

2008-07-16 Thread Izz Abdullah





 Can not get to work from command line.  Following is the command def:define command{ command_name   check_hpjd command_line   $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$}-Original Message-From: [EMAIL PROTECTED]Sent: Thu, 17 Jul 2008 14:17:38 +1000To: [EMAIL PROTECTED]Subject: Re: [Nagios-users] Canon Printer monitoring
There appears to be nothing wrong with what you are doing so far.

Can you send your command definition?
Can you make it work from the command line?

You might need to check your environment eg firewalls etc

Izz Abdullah wrote:

  SNMP is enabled, public is the community.  I changed the title of this email (too many vendors I have to keep up with) :)

Thanks,
Izz

  
  
-Original Message-
From: [EMAIL PROTECTED]
Sent: Thu, 17 Jul 2008 13:55:04 +1000
To: [EMAIL PROTECTED]
Subject: Re: [Nagios-users] Compaq Printer monitoring

If the community string, in your case "public", is incorrect, this is
enough to generate a timeout.
Additionally, if the printer does not even have SNMP capability, you
will also get a timeout.
You'll need to check the printer firmware config.

Why have you titled this message "Compaq Printer Monitoring" and yet
provided the config for a "Canon iRC3380"? Perhaps you are getting your
printers mixed up?

Izz Abdullah wrote:


  I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux /
Unix flavors.  I have setup to monitor a network printer via SNMP and I
get the following result on printer status (PING is ok):

Error in packet : Timeout from host 172.24.50.102

Below is the printer.cfg (without the PING definition since it works):

define host{
 use  generic-printer
 host_namesatyam_canon3380
 aliasCanon iRC3380
 address  172.24.50.102
 hostgroups   network-printers
}

define hostgroup{
 hostgroup_name  network-printers
 alias   Network Printers
}

define service{
 usegeneric-service
 host_name  satyam_canon3380
 service_descriptionPrinter Status
 check_command  check_hpjd!-C public
 normal_check_interval  10
 retry_check_interval   1
}

I would appreciate any enlightenment from the group.

Thanks,
Izz


GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!

-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url="">
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


  

  
  
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url="">
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  




Get Free 5GB Email – Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Canon Printer monitoring

2008-07-16 Thread Izz Abdullah
SNMP is enabled, public is the community.  I changed the title of this email 
(too many vendors I have to keep up with) :)

Thanks,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Thu, 17 Jul 2008 13:55:04 +1000
> To: [EMAIL PROTECTED]
> Subject: Re: [Nagios-users] Compaq Printer monitoring
> 
> If the community string, in your case "public", is incorrect, this is
> enough to generate a timeout.
> Additionally, if the printer does not even have SNMP capability, you
> will also get a timeout.
> You'll need to check the printer firmware config.
> 
> Why have you titled this message "Compaq Printer Monitoring" and yet
> provided the config for a "Canon iRC3380"? Perhaps you are getting your
> printers mixed up?
> 
> Izz Abdullah wrote:
>> I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux /
>> Unix flavors.  I have setup to monitor a network printer via SNMP and I
>> get the following result on printer status (PING is ok):
>> 
>> Error in packet : Timeout from host 172.24.50.102
>> 
>> Below is the printer.cfg (without the PING definition since it works):
>> 
>> define host{
>>  use  generic-printer
>>  host_namesatyam_canon3380
>>  aliasCanon iRC3380
>>  address  172.24.50.102
>>  hostgroups   network-printers
>> }
>> 
>> define hostgroup{
>>  hostgroup_name  network-printers
>>  alias   Network Printers
>> }
>> 
>> define service{
>>  usegeneric-service
>>  host_name  satyam_canon3380
>>  service_descriptionPrinter Status
>>  check_command  check_hpjd!-C public
>>  normal_check_interval  10
>>  retry_check_interval   1
>> }
>> 
>> I would appreciate any enlightenment from the group.
>> 
>> Thanks,
>> Izz
>> 
>> 
>> GET FREE 5GB EMAIL - Check out spam free email with many cool features!
>> Visit http://www.inbox.com/email to find out more!
>> 
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>> 
>> 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Compaq Printer monitoring

2008-07-16 Thread Izz Abdullah
I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux / Unix 
flavors.  I have setup to monitor a network printer via SNMP and I get the 
following result on printer status (PING is ok):

Error in packet : Timeout from host 172.24.50.102

Below is the printer.cfg (without the PING definition since it works):

define host{
 use  generic-printer
 host_namesatyam_canon3380
 aliasCanon iRC3380
 address  172.24.50.102
 hostgroups   network-printers
}

define hostgroup{
 hostgroup_name  network-printers
 alias   Network Printers
}

define service{
 usegeneric-service
 host_name  satyam_canon3380
 service_descriptionPrinter Status
 check_command  check_hpjd!-C public
 normal_check_interval  10
 retry_check_interval   1
}

I would appreciate any enlightenment from the group.

Thanks,
Izz


GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Custom Status Field strings and warning levels

2008-06-17 Thread Izz Abdullah
Ok...I guess I should have played around a bit more before posting.  The -w and 
-c switches work accordingly for the COUNTER defs.  Would still ask assistance 
in formatting the Status Information field.

Regards,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Tue, 17 Jun 2008 16:53:43 -0800
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Custom Status Field strings and warning levels
> 
> Hi all,
> 
> I would like to format the data returned from check commands in the
> status information field of the GUI.  For example, I would like to add
> text after the check command has returned only an integer value, or
> another example I have brought up previously, divide the result by say
> 1024 to view in KB (when returned in bytes) or MB (when returned in KB).
> Any ideas?
> 
> I am using COUNTERs with check_nt (NSClient++) on RHEL 4 server running
> Nagios v3.0.1 with the latest plugins.
> 
> I have tried different combinations of the description field:
> check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.f Physical Memory
> Available"
> check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.2f Physical Memory
> Available"
> check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.f  Physical
> Memory Available"
> 
> All of these return at least one percent sign, and no value, such as:
> %f Physical Memory Available
> 
> If I leave out the description field (check_nt!COUNTER!-l
> "\\Memory\\Available MBytes") then I get a correct integer value.
> 
> I would like the GUI to show (assuming a server / machine with 2gb memory
> and has available 1348MB:
> "1348 available out of 2048"
> or maybe even use a percentage of available as is in the built-in Memory
> Usage command, but
> this looks at the page file, not physical memory.
> 
> On another note, since I am using a large amount of COUNTER defs to check
> Windows servers, can someone tell me how to set the warning and critical
> in the check_nt!COUNTER! command?  Say the available memory in the above
> example reaches below 500, I want a warning, and below 250 a critical.
> 
> Thanks in advance,
> Izz
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Custom Status Field strings and warning levels

2008-06-17 Thread Izz Abdullah
Hi all,

I would like to format the data returned from check commands in the status 
information field of the GUI.  For example, I would like to add text after the 
check command has returned only an integer value, or another example I have 
brought up previously, divide the result by say 1024 to view in KB (when 
returned in bytes) or MB (when returned in KB).  Any ideas?

I am using COUNTERs with check_nt (NSClient++) on RHEL 4 server running Nagios 
v3.0.1 with the latest plugins.

I have tried different combinations of the description field:
check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.f Physical Memory 
Available"
check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.2f Physical Memory 
Available"
check_nt!COUNTER!-l "\\Memory\\Available MBytes","%%.f  Physical Memory 
Available"

All of these return at least one percent sign, and no value, such as:
%f Physical Memory Available

If I leave out the description field (check_nt!COUNTER!-l "\\Memory\\Available 
MBytes") then I get a correct integer value.

I would like the GUI to show (assuming a server / machine with 2gb memory and 
has available 1348MB:
"1348 available out of 2048"
or maybe even use a percentage of available as is in the built-in Memory Usage 
command, but
this looks at the page file, not physical memory.

On another note, since I am using a large amount of COUNTER defs to check 
Windows servers, can someone tell me how to set the warning and critical in the 
check_nt!COUNTER! command?  Say the available memory in the above example 
reaches below 500, I want a warning, and below 250 a critical.

Thanks in advance,
Izz

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] SMS notifications

2008-06-16 Thread Izz Abdullah
I actually face the same issue here in Malaysia.  The provider has an email -> 
sms gateway service, which can be activated and received for free...but they 
charge you MYR 0.15 per sms when you open the email on your phone :)

Just some more global input...
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Mon, 16 Jun 2008 11:18:59 -0500
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] SMS notifications
> 
> 
> On Jun 16, 2008, at 11:06 AM, Luc MAIGNAN wrote:
> 
>> Isn't there a free way to send SMS via Nagios ?
> 
> Most cell phone companies have an e-mail -> sms gateway service.
> 
> --
> Marc
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 host on Solaris 10 (now can monitor from server, but local issue on remote host)

2008-06-15 Thread Izz Abdullah
The allowed hosts only has the local loopback : 127.0.0.1 which confuses me a 
bit as the monitoring server is allowed to get the information.  I would 
imagine it's being over-ridden by the hosts.allow file which allows the 
monitoring server IP in.

As for the tcp_wrappers...I haven't tried yet.  Will try soon and post back.  
Any ideas on why i didn't have to allow the monitoring server IP in the 
allowed_hosts directive of nrpe.cfg?

Thanks again for all the assistance,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Fri, 13 Jun 2008 15:55:34 +0100
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor from
> server, but local issue on remote host)
> 
> 
> 
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:nagios-users-
>> [EMAIL PROTECTED] On Behalf Of Izz Abdullah
>> Sent: 13 June 2008 04:21
>> To: nagios
>> Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor
>> from server, but local issue on remote host)
>> 
>> This is interesting:
>> although running the check_nrpe -H localhost on the remote host returns
>> the error, I am able to monitor from the actual Nagios server.  And
>> yes, LOCAL, localhost, 127.0.0.1, etc. are in the hosts.allow file.
>> 
>> I thought I would take the chance and see if I could monitor since I
>> was receiving some data from the command line, just this one error.
>> And sure enough, can.  Now my question is WHY this is like this?
> 
> What's the value of the allowed_hosts directive in your nrpe.cfg?
> 
> --
> Phil Costelloe
> Foundation IT, Hermitage Berkshire RG18 9SE
> 
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: 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 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your 
desktop!
Check it out at http://www.inbox.com/marineaquarium

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 host on Solaris 10 (now can monitor from server, but local issue on remote host)

2008-06-13 Thread Izz Abdullah
Of course.  It is there.  That's why the Nagios server can communicate with the 
remote host.  The remote host just seems to have a problem to check itself ;-)

Thanks again,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Fri, 13 Jun 2008 10:18:33 +0200
> To: [EMAIL PROTECTED], nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] NRPE host on Solaris 10 (now can monitor from
> server, but local issue on remote host)
> 
> Hello,
> Did you check your /etc/services for "nrpe 5666/tcp"?
> Regards,
> 
> Vincent Alloo
> TI France Design Systems Operations Manager
> Europe and Middle East IT Services
> Texas Instruments France
> 
> E-Mail: [EMAIL PROTECTED]
> Phone: +33 4 93 22 26 97
> Mobile: +33 6 82 13 00 80
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Izz
> Abdullah
> Sent: Friday, June 13, 2008 5:21 AM
> To: nagios
> Subject: Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor from
> server, but local issue on remote host)
> 
> This is interesting:
> although running the check_nrpe -H localhost on the remote host returns
> the error, I am able to monitor from the actual Nagios server.  And yes,
> LOCAL, localhost, 127.0.0.1, etc. are in the hosts.allow file.
> 
> I thought I would take the chance and see if I could monitor since I was
> receiving some data from the command line, just this one error.  And sure
> enough, can.  Now my question is WHY this is like this?
> 
> Thanks again,
> Izz
> 
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> Sent: Thu, 12 Jun 2008 17:25:55 -0800
>> To: nagios-users@lists.sourceforge.net
>> Subject: Re: [Nagios-users] NRPE host on Solaris 10
>> 
>> Also, I should mention this is the latest NRPE version, but more
>> importantly, we ran ./configure without SSL as I have had too many
>> problems with it.
>> 
>> Thanks again,
>> Izz
>> 
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> Sent: Wed, 11 Jun 2008 21:41:25 -0800
>>> To: nagios-users@lists.sourceforge.net
>>> Subject: Re: [Nagios-users] NRPE host on Solaris 10
>>> 
>>> still the same error: Received 0 bytes  from daemon...
>>> 
>>> results from the two commands requested (everything looks ok to me):
>>> 
>>> # svcs svc:/network/nrpe/tcp:default
>>> STATE  STIME   FMRI
>>> online Jun_10  svc:/network/nrpe/tcp:default
>>> 
>>> # inetadm -l svc:/network/nrpe/tcp:default
>>> SCOPE  NAME=VALUE
>>>name="nrpe"
>>>endpoint_type="stream"
>>>proto="tcp"
>>>isrpc=FALSE
>>>wait=FALSE
>>>exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg
>>> -i"
>>>arg0="/usr/local/nagios/bin/nrpe"
>>>user="nagios"
>>> defaultbind_addr=""
>>> defaultbind_fail_max=-1
>>> defaultbind_fail_interval=-1
>>> defaultmax_con_rate=-1
>>> defaultmax_copies=-1
>>> defaultcon_rate_offline=-1
>>> defaultfailrate_cnt=40
>>> defaultfailrate_interval=60
>>> defaultinherit_env=TRUE
>>> defaulttcp_trace=FALSE
>>>tcp_wrappers=TRUE
>>> #
>>> 
>>> The only thing I see different between this output and that on the site
>>> listed where I installed the remote host NRPE is there is no default
>>> for
>>> tcp_wrappers and no connection_backlog.  But this shouldn't be the
>>> problem, right?
>>> 
>>> Thanks again for your assistance,
>>> Izz
>>> 
>>>> -Original Message-
>>>> From: [EMAIL PROTECTED]
>>>> Sent: Wed, 11 Jun 2008 10:21:58 +0100
>>>> To: nagios-users@lists.sourceforge.net
>>>> Subject: Re: [Nagios-users] NRPE host on Solaris 10
>>>> 
>>>>> From: [EMAIL PROTECTED]
>>>>> [mailto:nagios-users-
>>>>> [EMAIL PROTECTED] On Behalf Of Izz Abdullah
>>>>> 
>>>>> I have followed the instructions I found at
>>>>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-
>>>>> on-solaris-10/
>>>>> 
>>>>> but to no avail.  At the end of it all, when I try
>>>>> ./check_nrpe -H localhost
>>>>> 
>>>>>

Re: [Nagios-users] NRPE host on Solaris 10 (now can monitor from server, but local issue on remote host)

2008-06-12 Thread Izz Abdullah
This is interesting:
although running the check_nrpe -H localhost on the remote host returns the 
error, I am able to monitor from the actual Nagios server.  And yes, LOCAL, 
localhost, 127.0.0.1, etc. are in the hosts.allow file.

I thought I would take the chance and see if I could monitor since I was 
receiving some data from the command line, just this one error.  And sure 
enough, can.  Now my question is WHY this is like this?

Thanks again,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Thu, 12 Jun 2008 17:25:55 -0800
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] NRPE host on Solaris 10
> 
> Also, I should mention this is the latest NRPE version, but more
> importantly, we ran ./configure without SSL as I have had too many
> problems with it.
> 
> Thanks again,
> Izz
> 
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> Sent: Wed, 11 Jun 2008 21:41:25 -0800
>> To: nagios-users@lists.sourceforge.net
>> Subject: Re: [Nagios-users] NRPE host on Solaris 10
>> 
>> still the same error: Received 0 bytes  from daemon...
>> 
>> results from the two commands requested (everything looks ok to me):
>> 
>> # svcs svc:/network/nrpe/tcp:default
>> STATE  STIME   FMRI
>> online Jun_10  svc:/network/nrpe/tcp:default
>> 
>> # inetadm -l svc:/network/nrpe/tcp:default
>> SCOPE  NAME=VALUE
>>name="nrpe"
>>endpoint_type="stream"
>>proto="tcp"
>>isrpc=FALSE
>>wait=FALSE
>>exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg
>> -i"
>>arg0="/usr/local/nagios/bin/nrpe"
>>user="nagios"
>> defaultbind_addr=""
>> defaultbind_fail_max=-1
>> defaultbind_fail_interval=-1
>> defaultmax_con_rate=-1
>> defaultmax_copies=-1
>> defaultcon_rate_offline=-1
>> defaultfailrate_cnt=40
>> defaultfailrate_interval=60
>> defaultinherit_env=TRUE
>> defaulttcp_trace=FALSE
>>tcp_wrappers=TRUE
>> #
>> 
>> The only thing I see different between this output and that on the site
>> listed where I installed the remote host NRPE is there is no default for
>> tcp_wrappers and no connection_backlog.  But this shouldn't be the
>> problem, right?
>> 
>> Thanks again for your assistance,
>> Izz
>> 
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> Sent: Wed, 11 Jun 2008 10:21:58 +0100
>>> To: nagios-users@lists.sourceforge.net
>>> Subject: Re: [Nagios-users] NRPE host on Solaris 10
>>> 
>>>> From: [EMAIL PROTECTED] [mailto:nagios-users-
>>>> [EMAIL PROTECTED] On Behalf Of Izz Abdullah
>>>> 
>>>> I have followed the instructions I found at
>>>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-
>>>> on-solaris-10/
>>>> 
>>>> but to no avail.  At the end of it all, when I try
>>>> ./check_nrpe -H localhost
>>>> 
>>>> it gives me a 0 bytes received from daemon.  The first check in the
>>>> list of
>>>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p /
>>>> gives data...I don't know what's wrong here...I haven't configured a
>>>> Solaris box to be monitored...any ideas / assistance?
>>> 
>>> >From your description, it seems like the plugins are working OK but
>>> the
>>> problem is with the service itself. That's not surprising, SMF on
>>> Solaris
>>> 10 can be tricky to get right. I'd double check the entire section in
>>> those instructions from "With Solaris 10, we don't use either inetd
>>> ..."
>>> to "Modify your hosts.allow ...". In particular make sure your
>>> inetd.conf
>>> entry is on one line (as the instructions say but then split over three
>>> lines because of the narrow width of the page). If it's still not
>>> working, post back with the relevant section of inetd.conf and the
>>> output
>>> of
>>> 
>>> svcs svc:/network/nrpe/tcp:default
>>> 
>>> and
>>> 
>>> inetadm -l svc:/network/nrpe/tcp:default
>>> 
>>> --
>>> Phil Costelloe
>>> Foundation IT, Hermitage Berkshire RG18 9SE
>>> 
>>> 
>>> 
>>> 
>>> 

Re: [Nagios-users] NRPE host on Solaris 10

2008-06-12 Thread Izz Abdullah
Also, I should mention this is the latest NRPE version, but more importantly, 
we ran ./configure without SSL as I have had too many problems with it.

Thanks again,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Wed, 11 Jun 2008 21:41:25 -0800
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] NRPE host on Solaris 10
> 
> still the same error: Received 0 bytes  from daemon...
> 
> results from the two commands requested (everything looks ok to me):
> 
> # svcs svc:/network/nrpe/tcp:default
> STATE  STIME   FMRI
> online Jun_10  svc:/network/nrpe/tcp:default
> 
> # inetadm -l svc:/network/nrpe/tcp:default
> SCOPE  NAME=VALUE
>name="nrpe"
>endpoint_type="stream"
>proto="tcp"
>isrpc=FALSE
>wait=FALSE
>exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg -i"
>arg0="/usr/local/nagios/bin/nrpe"
>user="nagios"
> defaultbind_addr=""
> defaultbind_fail_max=-1
> defaultbind_fail_interval=-1
> defaultmax_con_rate=-1
> defaultmax_copies=-1
> defaultcon_rate_offline=-1
> defaultfailrate_cnt=40
> defaultfailrate_interval=60
> defaultinherit_env=TRUE
> defaulttcp_trace=FALSE
>tcp_wrappers=TRUE
> #
> 
> The only thing I see different between this output and that on the site
> listed where I installed the remote host NRPE is there is no default for
> tcp_wrappers and no connection_backlog.  But this shouldn't be the
> problem, right?
> 
> Thanks again for your assistance,
> Izz
> 
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> Sent: Wed, 11 Jun 2008 10:21:58 +0100
>> To: nagios-users@lists.sourceforge.net
>> Subject: Re: [Nagios-users] NRPE host on Solaris 10
>> 
>>> From: [EMAIL PROTECTED] [mailto:nagios-users-
>>> [EMAIL PROTECTED] On Behalf Of Izz Abdullah
>>> 
>>> I have followed the instructions I found at
>>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-
>>> on-solaris-10/
>>> 
>>> but to no avail.  At the end of it all, when I try
>>> ./check_nrpe -H localhost
>>> 
>>> it gives me a 0 bytes received from daemon.  The first check in the
>>> list of
>>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p /
>>> gives data...I don't know what's wrong here...I haven't configured a
>>> Solaris box to be monitored...any ideas / assistance?
>> 
>> >From your description, it seems like the plugins are working OK but the
>> problem is with the service itself. That's not surprising, SMF on
>> Solaris
>> 10 can be tricky to get right. I'd double check the entire section in
>> those instructions from "With Solaris 10, we don't use either inetd ..."
>> to "Modify your hosts.allow ...". In particular make sure your
>> inetd.conf
>> entry is on one line (as the instructions say but then split over three
>> lines because of the narrow width of the page). If it's still not
>> working, post back with the relevant section of inetd.conf and the
>> output
>> of
>> 
>> svcs svc:/network/nrpe/tcp:default
>> 
>> and
>> 
>> inetadm -l svc:/network/nrpe/tcp:default
>> 
>> --
>> Phil Costelloe
>> Foundation IT, Hermitage Berkshire RG18 9SE
>> 
>> 
>> 
>> 
>> -
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-

Re: [Nagios-users] NRPE host on Solaris 10

2008-06-11 Thread Izz Abdullah
still the same error: Received 0 bytes  from daemon...

results from the two commands requested (everything looks ok to me):

# svcs svc:/network/nrpe/tcp:default
STATE  STIME   FMRI
online Jun_10  svc:/network/nrpe/tcp:default

# inetadm -l svc:/network/nrpe/tcp:default
SCOPE  NAME=VALUE
   name="nrpe"
   endpoint_type="stream"
   proto="tcp"
   isrpc=FALSE
   wait=FALSE
   exec="/usr/sfw/sbin/tcpd -c /usr/local/nagios/etc/nrpe.cfg -i"
   arg0="/usr/local/nagios/bin/nrpe"
   user="nagios"
defaultbind_addr=""
defaultbind_fail_max=-1
defaultbind_fail_interval=-1
defaultmax_con_rate=-1
defaultmax_copies=-1
defaultcon_rate_offline=-1
defaultfailrate_cnt=40
defaultfailrate_interval=60
defaultinherit_env=TRUE
defaulttcp_trace=FALSE
   tcp_wrappers=TRUE
#

The only thing I see different between this output and that on the site listed 
where I installed the remote host NRPE is there is no default for tcp_wrappers 
and no connection_backlog.  But this shouldn't be the problem, right?

Thanks again for your assistance,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Wed, 11 Jun 2008 10:21:58 +0100
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] NRPE host on Solaris 10
> 
>> From: [EMAIL PROTECTED] [mailto:nagios-users-
>> [EMAIL PROTECTED] On Behalf Of Izz Abdullah
>> 
>> I have followed the instructions I found at
>> http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-
>> on-solaris-10/
>> 
>> but to no avail.  At the end of it all, when I try
>> ./check_nrpe -H localhost
>> 
>> it gives me a 0 bytes received from daemon.  The first check in the
>> list of
>> /usr/local/nagios/libexec/check_disk -w 10 -c 5 -p /
>> gives data...I don't know what's wrong here...I haven't configured a
>> Solaris box to be monitored...any ideas / assistance?
> 
> >From your description, it seems like the plugins are working OK but the
> problem is with the service itself. That's not surprising, SMF on Solaris
> 10 can be tricky to get right. I'd double check the entire section in
> those instructions from "With Solaris 10, we don't use either inetd ..."
> to "Modify your hosts.allow ...". In particular make sure your inetd.conf
> entry is on one line (as the instructions say but then split over three
> lines because of the narrow width of the page). If it's still not
> working, post back with the relevant section of inetd.conf and the output
> of
> 
> svcs svc:/network/nrpe/tcp:default
> 
> and
> 
> inetadm -l svc:/network/nrpe/tcp:default
> 
> --
> Phil Costelloe
> Foundation IT, Hermitage Berkshire RG18 9SE
> 
> 
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] NRPE host on Solaris 10

2008-06-10 Thread Izz Abdullah
I have followed the instructions I found at 
http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/

but to no avail.  At the end of it all, when I try 
./check_nrpe -H localhost

it gives me a 0 bytes received from daemon.  The first check in the list of 
/usr/local/nagios/libexec/check_disk -w 10 -c 5 -p /
gives data...I don't know what's wrong here...I haven't configured a Solaris 
box to be monitored...any ideas / assistance?

Thanks,
Izz


GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Windows Service detail continued

2008-06-10 Thread Izz Abdullah
I got it working from the check command and it returns to the GUI now...I made 
a typo :(

Correct check_command:
check_nt!COUNTER!-l "\\Process(OUTLOOK)\\Working Set"

With more assistance from meulie.net forum, 
(http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?11229)
I got the data I needed.

Now I have another question, and maybe it has been answered before, but looking 
at the GUI currently, for this process it shows:

Outlook Memory Usage in Bytes   OK  11-06-2008 07:29:18 0d 22h 15m 8s   
1/3 74694700

Which is correct when compared to Task Manager.  What I want to know is, can I 
divide this by 1024 to get into kb AND format it with a comma? :)

I know that is a lot to ask...but would be nice.  There is an optional 
 output for the COUNTER variable, but am unsure of exactly how it 
works, and if this is even the route I should take.

Greatly appreciate any help in advance.

Best Regards,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Sun, 1 Jun 2008 22:02:29 -0800
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Windows Service detail continued
> 
> I guess I should have put in the command again as a refresher:
> check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working
> Set"
> this works from the terminal of the Nagios server.
> 
> Thanks again,
> Izz
> 
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> Sent: Sun, 1 Jun 2008 22:01:07 -0800
>> To: nagios-users@lists.sourceforge.net
>> Subject: [Nagios-users] Windows Service detail continued
>> 
>> Can I just write a shell script to do this for me?  check_nt works just
>> fine with returning the value from the server's terminal console, but as
>> stated before, this doesn't work if I put into the service definitions.
>> I'm using NSClient++.
>> 
>> Also, I am very familiar with WMI scripting, but how to get this
>> information back to the Nagios GUI?  That's my problem at hand.  I can
>> do
>> it from the console, but want everything in the GUI as power users will
>> be monitoring this.  It needs to be a monitor, not an "ok, now let's
>> check". :-)
>> 
>> Thanks in advance,
>> Izz
>> 
>> 
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Anthony
>> Montibello
>> Sent: Friday, May 23, 2008 6:19 AM
>> To: Izz Abdullah
>> Cc: nagios
>> Subject: Re: [Nagios-users] Performance data for service
>> 
>> You could try testing with
>> NC_NEt(http://sourceforge.net/projects/nc-net)
>> or NSCLinet (http://nsclient.ready2run.nl/)
>> 
>> They are both copatible with Check_nt so there will be minimal to no
>> reconfiguration needed on Nagios side,  However the default listen port
>> is 1248 so you would need to at least configure that on the client side.
>> 
>> check_nt does not have a showall for COunters , so that should not havee
>> helped anything.  Run the command help and check the documentation for
>> your windows plugin.  Also check the service description
>> 
>> I prefer to use the following definition:
>> define command{
>>  command_namecheck_nt_with_L
>>  command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD 
>> -v
>> $ARG1$ -l "$ARG2$" $ARG3$
>>  }
>> then the check command:
>> check_nt!COUNTER!Process\(Outlook)\Working Set
>> since the passing to the Command definision may be losing your ""
>> NC_Net would return a -1 when your Counter fails to actually connect but
>> I do not know what nsclient++ returns on a bad counter.
>> You may need to test from the command line what nsclient++ returns when
>> the COunter is incorrect syntex.
>> Tony (Author of NC_NEt)
>> On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah <[EMAIL PROTECTED]>
>> wrote:
>>  Ok, so I found an example using the COUNTER object.  From the Nagios
>> server I can run the following and get correct data back:
>> 
>> check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l
>> "Process\(Outlook)\Working
>> Set"
>> this returns memory for me...
>> 
>> but when i put this into the windows.cfg file as:
>> check_nt!COUNTER!-l "Process\(Outlook)\Working Set"
>> 
>> it verifies as no errors, but the GUI is showing 0, which is not the
>> same
>> as from the command-line.  I also tried the -d SHOWALL option and that
>> didn't work.   Any ideas?
>> 
>> Thanks in advance,
>> Izz
>> 
>> -----Original Message

Re: [Nagios-users] Newbie with Nagios

2008-06-03 Thread Izz Abdullah
Are you using Internet Explorer with anonymous login enabled?  Just a thought...

-Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Tue, 3 Jun 2008 23:24:02 -0400
> To: [EMAIL PROTECTED], nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Newbie with Nagios
> 
>> You really need to read through the documentation.  It is very
>> comprehensive
>> and will show you how to configure alerts, during what time period, how
>> often, and at what notification level you want.  You will find all your
>> answers to these basic (and advanced) questions there.  Start with that
>> first
>> and understand how Nagios works before posting basic questions here that
>> are
>> answered in the documentation.  With only 4 servers it shouldn't take
>> long to
>> configure the way you want.
>> 
>> http://nagios.sourceforge.net/docs/3_0/toc.html
> 
> Hi,
> I read the doc before start posting here. I have Nagios configured in
> Ubuntu Server 8.04 as I said before. Now look like I touch any file
> because when I try to access to "Service Detail" item I get this error:
> 
> It appears as though you do not have permission to view information for
> any of the services you requested...
> If you believe this is an error, check the HTTP server authentication
> requirements for accessing this CGI
> and check the authorization options in your CGI configuration file.
> 
> I check also the corresponding to authentication/authorization topic in
> doc but I can't find where the problem is. I just touch the contact
> address in /usr/local/nagios/etc/contacts.cfg file and now the content
> look like this:
> 
> define contact{
> contact_namenagiosadmin ; Short
> name of user
> use generic-contact ; Inherit
> default values from generic-contact template (defin$
> alias   Nagios Admin; Full
> name of user
> email   [EMAIL PROTECTED]  ; <<*
> CHANGE THIS TO YOUR EMAIL ADDRESS **
> }
> 
> define contactgroup{
> contactgroup_name   admins
> alias   Nagios Administrators
> members nagiosadmin
> }
> 
> So where is the error? Why I can't access to this item?
> Cheers and thanks in advance
> Ing. Reynier Pérez Mira
> Grupo de Soporte al Desarrollo - Dirección Técnica IP
> 
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Ping flapping on Ubuntu client

2008-06-02 Thread Izz Abdullah
This has been happening since we installed the NRPE addon onto the remote host 
for monitoring.  The firewall is stopped / off.  Any ideas on why this is 
happening?  My first thought was the box thought it was being attacked, but I 
am unsure if this is the case and if so how to rectify it.  It will go green 
for a short period of time, and then go back to a warning state and start 
flapping.  It is green / OK maybe once a day.

PING
This service is flapping between states
WARNING 02-06-2008 17:09:10 0d 0h 0m 46s1/4 PING WARNING - 
Packet loss = 0%, RTA = 222.32 ms

Thanks in advance,
Izz

-
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] Windows Service detail continued

2008-06-01 Thread Izz Abdullah
I guess I should have put in the command again as a refresher:
check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working Set"
this works from the terminal of the Nagios server.

Thanks again,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Sun, 1 Jun 2008 22:01:07 -0800
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Windows Service detail continued
> 
> Can I just write a shell script to do this for me?  check_nt works just
> fine with returning the value from the server's terminal console, but as
> stated before, this doesn't work if I put into the service definitions.
> I'm using NSClient++.
> 
> Also, I am very familiar with WMI scripting, but how to get this
> information back to the Nagios GUI?  That's my problem at hand.  I can do
> it from the console, but want everything in the GUI as power users will
> be monitoring this.  It needs to be a monitor, not an "ok, now let's
> check". :-)
> 
> Thanks in advance,
> Izz
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Anthony
> Montibello
> Sent: Friday, May 23, 2008 6:19 AM
> To: Izz Abdullah
> Cc: nagios
> Subject: Re: [Nagios-users] Performance data for service
> 
> You could try testing with NC_NEt(http://sourceforge.net/projects/nc-net)
> or NSCLinet (http://nsclient.ready2run.nl/)
> 
> They are both copatible with Check_nt so there will be minimal to no
> reconfiguration needed on Nagios side,  However the default listen port
> is 1248 so you would need to at least configure that on the client side.
> 
> check_nt does not have a showall for COunters , so that should not havee
> helped anything.  Run the command help and check the documentation for
> your windows plugin.  Also check the service description
> 
> I prefer to use the following definition:
> define command{
>   command_namecheck_nt_with_L
>   command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD 
> -v
> $ARG1$ -l "$ARG2$" $ARG3$
>   }
> then the check command:
> check_nt!COUNTER!Process\(Outlook)\Working Set
> since the passing to the Command definision may be losing your ""
> NC_Net would return a -1 when your Counter fails to actually connect but
> I do not know what nsclient++ returns on a bad counter.
> You may need to test from the command line what nsclient++ returns when
> the COunter is incorrect syntex.
> Tony (Author of NC_NEt)
> On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah <[EMAIL PROTECTED]>
> wrote:
>  Ok, so I found an example using the COUNTER object.  From the Nagios
> server I can run the following and get correct data back:
> 
> check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working
> Set"
> this returns memory for me...
> 
> but when i put this into the windows.cfg file as:
> check_nt!COUNTER!-l "Process\(Outlook)\Working Set"
> 
> it verifies as no errors, but the GUI is showing 0, which is not the same
> as from the command-line.  I also tried the -d SHOWALL option and that
> didn't work.   Any ideas?
> 
> Thanks in advance,
> Izz
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Tue, 20 May 2008 22:00:12 -0400
> To: [EMAIL PROTECTED]
> Subject: Re: [Nagios-users] Performance data for service
> You should be able to get this data through the Process performance
> counter object with the instance set to the process name (as long as you
> can map the process name to an actual counter instance)
> 
> or you should be able to get this data through a WMI querry
> 
> Or you can write a script or program and get the data through NC_NEt or a
> NRPE plugin
> 
> TOny (author of NC_Net)
> On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah <[EMAIL PROTECTED]>
> wrote:
> Not necessarily explorer.exe.
> 
> I am looking more at some java instances, (java.exe, etc.).  I want to
> know CPU load as well as Memory usage of a process.
> 
> Thanks,
> Izz
> 
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> Sent: Tue, 20 May 2008 10:49:48 +0200
>> To: nagios-users@lists.sourceforge.net
>> Subject: Re: [Nagios-users] Performance data for service
>> 
>> Hi Izz,
>> 
>> Izz Abdullah schrieb:
>>> I have enabled performance data for my monitored Windows 2k3 server.  I
>>> am receiving performance data, not extremely clear, but receiving, for
>>> the defaulted services.  What I want is to see performance data on
>>> running processes as well (e.g. the Explorer.exe process has nothing in
>>&g

[Nagios-users] Windows Service detail continued

2008-06-01 Thread Izz Abdullah
Can I just write a shell script to do this for me?  check_nt works just fine 
with returning the value from the server's terminal console, but as stated 
before, this doesn't work if I put into the service definitions.  I'm using 
NSClient++.

Also, I am very familiar with WMI scripting, but how to get this information 
back to the Nagios GUI?  That's my problem at hand.  I can do it from the 
console, but want everything in the GUI as power users will be monitoring this. 
 It needs to be a monitor, not an "ok, now let's check". :-)

Thanks in advance,
Izz


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony 
Montibello
Sent: Friday, May 23, 2008 6:19 AM
To: Izz Abdullah
Cc: nagios
Subject: Re: [Nagios-users] Performance data for service

You could try testing with NC_NEt(http://sourceforge.net/projects/nc-net) or 
NSCLinet (http://nsclient.ready2run.nl/)
 
They are both copatible with Check_nt so there will be minimal to no 
reconfiguration needed on Nagios side,  However the default listen port is 1248 
so you would need to at least configure that on the client side.
 
check_nt does not have a showall for COunters , so that should not havee helped 
anything.  Run the command help and check the documentation for your windows 
plugin.  Also check the service description 
 
I prefer to use the following definition:
define command{
command_namecheck_nt_with_L
command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD 
-v $ARG1$ -l "$ARG2$" $ARG3$
}
then the check command:
check_nt!COUNTER!Process\(Outlook)\Working Set
since the passing to the Command definision may be losing your "" 
NC_Net would return a -1 when your Counter fails to actually connect but I do 
not know what nsclient++ returns on a bad counter.
You may need to test from the command line what nsclient++ returns when the 
COunter is incorrect syntex.
Tony (Author of NC_NEt)
On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah <[EMAIL PROTECTED]> wrote:
 Ok, so I found an example using the COUNTER object.  From the Nagios server I 
can run the following and get correct data back:

check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working Set"
this returns memory for me...

but when i put this into the windows.cfg file as:
check_nt!COUNTER!-l "Process\(Outlook)\Working Set"

it verifies as no errors, but the GUI is showing 0, which is not the same as 
from the command-line.  I also tried the -d SHOWALL option and that didn't 
work.   Any ideas?

Thanks in advance,
Izz

-Original Message-
From: [EMAIL PROTECTED]
Sent: Tue, 20 May 2008 22:00:12 -0400
To: [EMAIL PROTECTED]
Subject: Re: [Nagios-users] Performance data for service
You should be able to get this data through the Process performance counter 
object with the instance set to the process name (as long as you can map the 
process name to an actual counter instance) 
 
or you should be able to get this data through a WMI querry
 
Or you can write a script or program and get the data through NC_NEt or a NRPE 
plugin
 
TOny (author of NC_Net)
On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah <[EMAIL PROTECTED]> wrote:
Not necessarily explorer.exe.

I am looking more at some java instances, (java.exe, etc.).  I want to know CPU 
load as well as Memory usage of a process.

Thanks,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Tue, 20 May 2008 10:49:48 +0200
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Performance data for service
>
> Hi Izz,
>
> Izz Abdullah schrieb:
>> I have enabled performance data for my monitored Windows 2k3 server.  I
>> am receiving performance data, not extremely clear, but receiving, for
>> the defaulted services.  What I want is to see performance data on
>> running processes as well (e.g. the Explorer.exe process has nothing in
>> the performance data field).  Can someone please assist?
>
> What kind of performance data would you expect from explorer.exe? With
> some services, it just doesn't make much sense to have performance
> analyzed, in my opinion.
>
> Greetz, Marcus
>
> -
> 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

FREE 3D EA

[Nagios-users] Windows Service detail continued

2008-06-01 Thread Izz Abdullah
Can I just write a shell script to do this for me?  check_nt works just fine 
with returning the value from the server's terminal console, but as stated 
before, this doesn't work if I put into the service definitions.  I'm using 
NSClient++.

Also, I am very familiar with WMI scripting, but how to get this information 
back to the Nagios GUI?  That's my problem at hand.  I can do it from the 
console, but want everything in the GUI as power users will be monitoring this. 
 It needs to be a monitor, not an "ok, now let's check". :-)

Thanks in advance,
Izz


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony 
Montibello
Sent: Friday, May 23, 2008 6:19 AM
To: Izz Abdullah
Cc: nagios
Subject: Re: [Nagios-users] Performance data for service

You could try testing with NC_NEt(http://sourceforge.net/projects/nc-net) or 
NSCLinet (http://nsclient.ready2run.nl/)
 
They are both copatible with Check_nt so there will be minimal to no 
reconfiguration needed on Nagios side,  However the default listen port is 1248 
so you would need to at least configure that on the client side.
 
check_nt does not have a showall for COunters , so that should not havee helped 
anything.  Run the command help and check the documentation for your windows 
plugin.  Also check the service description 
 
I prefer to use the following definition:
define command{
command_namecheck_nt_with_L
command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s PASSWORD 
-v $ARG1$ -l "$ARG2$" $ARG3$
}
then the check command:
check_nt!COUNTER!Process\(Outlook)\Working Set
since the passing to the Command definision may be losing your "" 
NC_Net would return a -1 when your Counter fails to actually connect but I do 
not know what nsclient++ returns on a bad counter.
You may need to test from the command line what nsclient++ returns when the 
COunter is incorrect syntex.
Tony (Author of NC_NEt)
On Thu, May 22, 2008 at 5:49 AM, Izz Abdullah <[EMAIL PROTECTED]> wrote:
 Ok, so I found an example using the COUNTER object.  From the Nagios server I 
can run the following and get correct data back:

check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working Set"
this returns memory for me...

but when i put this into the windows.cfg file as:
check_nt!COUNTER!-l "Process\(Outlook)\Working Set"

it verifies as no errors, but the GUI is showing 0, which is not the same as 
from the command-line.  I also tried the -d SHOWALL option and that didn't 
work.   Any ideas?

Thanks in advance,
Izz

-Original Message-
From: [EMAIL PROTECTED]
Sent: Tue, 20 May 2008 22:00:12 -0400
To: [EMAIL PROTECTED]
Subject: Re: [Nagios-users] Performance data for service
You should be able to get this data through the Process performance counter 
object with the instance set to the process name (as long as you can map the 
process name to an actual counter instance) 
 
or you should be able to get this data through a WMI querry
 
Or you can write a script or program and get the data through NC_NEt or a NRPE 
plugin
 
TOny (author of NC_Net)
On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah <[EMAIL PROTECTED]> wrote:
Not necessarily explorer.exe.

I am looking more at some java instances, (java.exe, etc.).  I want to know CPU 
load as well as Memory usage of a process.

Thanks,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Tue, 20 May 2008 10:49:48 +0200
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Performance data for service
>
> Hi Izz,
>
> Izz Abdullah schrieb:
>> I have enabled performance data for my monitored Windows 2k3 server.  I
>> am receiving performance data, not extremely clear, but receiving, for
>> the defaulted services.  What I want is to see performance data on
>> running processes as well (e.g. the Explorer.exe process has nothing in
>> the performance data field).  Can someone please assist?
>
> What kind of performance data would you expect from explorer.exe? With
> some services, it just doesn't make much sense to have performance
> analyzed, in my opinion.
>
> Greetz, Marcus
>
> -
> 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

FREE 3D EA

Re: [Nagios-users] Performance data for service

2008-05-22 Thread Izz Abdullah





 Ok, so I found an example using the COUNTER object.  From the Nagios server I can run the following and get correct data back:check_nt -H 192.168.1.1 -p 12489 -v COUNTER -l "Process\(Outlook)\Working Set"this returns memory for me...but when i put this into the windows.cfg file as:check_nt!COUNTER!-l "Process\(Outlook)\Working Set"it verifies as no errors, but the GUI is showing 0, which is not the same as from the command-line.  I also tried the -d SHOWALL option and that didn't work.   Any ideas?Thanks in advance,Izz-Original Message-From: [EMAIL PROTECTED]Sent: Tue, 20 May 2008 22:00:12 -0400To: [EMAIL PROTECTED]Subject: Re: [Nagios-users] Performance data for serviceYou should be able to get this data through the Process performance counter object with the instance set to the process name (as long as you can map the process name to an actual counter instance) 
 
or you should be able to get this data through a WMI querry
 
Or you can write a script or program and get the data through NC_NEt or a NRPE plugin
 
TOny (author of NC_Net)
On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah <[EMAIL PROTECTED]> wrote:
Not necessarily explorer.exe.I am looking more at some java instances, (java.exe, etc.).  I want to know CPU load as well as Memory usage of a process.
Thanks,Izz


> -Original Message-> From: [EMAIL PROTECTED]> Sent: Tue, 20 May 2008 10:49:48 +0200> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Performance data for service>> Hi Izz,>> Izz Abdullah schrieb:>> I have enabled performance data for my monitored Windows 2k3 server.  I>> am receiving performance data, not extremely clear, but receiving, for
>> the defaulted services.  What I want is to see performance data on>> running processes as well (e.g. the Explorer.exe process has nothing in>> the performance data field).  Can someone please assist?
>> What kind of performance data would you expect from explorer.exe? With> some services, it just doesn't make much sense to have performance> analyzed, in my opinion.>> Greetz, Marcus
>> -> 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
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!Check it out at http://www.inbox.com/earth


-This SF.net email is sponsored by: MicrosoftDefy all challenges. Microsoft(R) Visual Studio 2008.http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.::: Messages without supporting info will risk being sent to /dev/null




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] check_nrpe issues

2008-05-20 Thread Izz Abdullah
I have a remote Linux host (ubuntu), and the monitoring server is Redhat Linux 
Enterprise 4.  I have disabled SSL for check_nrpe and when testing the 
connection to the remote host with the /usr/local/nagios/libexec/check_nrpe -H 
192.168.0.1 command, I receive the following error:
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for 
error messages.

There are no firewalls in-between the monitoring server and the remote host, 
and the remote host can check itself and get the NRPE version number.

Help is greatly appreciated as I am banging my head on this one :)

-Izz

-
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] Performance data for service

2008-05-20 Thread Izz Abdullah
Not necessarily explorer.exe.

I am looking more at some java instances, (java.exe, etc.).  I want to know CPU 
load as well as Memory usage of a process.

Thanks,
Izz

> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Tue, 20 May 2008 10:49:48 +0200
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Performance data for service
> 
> Hi Izz,
> 
> Izz Abdullah schrieb:
>> I have enabled performance data for my monitored Windows 2k3 server.  I
>> am receiving performance data, not extremely clear, but receiving, for
>> the defaulted services.  What I want is to see performance data on
>> running processes as well (e.g. the Explorer.exe process has nothing in
>> the performance data field).  Can someone please assist?
> 
> What kind of performance data would you expect from explorer.exe? With
> some services, it just doesn't make much sense to have performance
> analyzed, in my opinion.
> 
> Greetz, Marcus
> 
> -
> 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


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth

-
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] Performance data for service

2008-05-18 Thread Izz Abdullah
I have enabled performance data for my monitored Windows 2k3 server.  I am 
receiving performance data, not extremely clear, but receiving, for the 
defaulted services.  What I want is to see performance data on running 
processes as well (e.g. the Explorer.exe process has nothing in the performance 
data field).  Can someone please assist?

Thank you,
Izz


FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!

-
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