[Nagios-users] Monitor Java Process

2010-03-02 Thread Jatin Davey
Hi

I want to know how i can monitor the java process running on remote box 
, basically i want to keep monitoring it and raise an email alert if it 
has re-started or stopped functioning. Please let me know how this can 
be achieved using nagios.

Thanks
Jatin

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 Java Process

2010-03-02 Thread Jim Avery
On 2 March 2010 11:26, Jatin Davey  wrote:
> Hi
>
> I want to know how i can monitor the java process running on remote box
> , basically i want to keep monitoring it and raise an email alert if it
> has re-started or stopped functioning. Please let me know how this can
> be achieved using nagios.
>
> Thanks
> Jatin


Someone hereabouts recently mentioned you can use jmx4perl
http://labs.consol.de/lang/de/jmx4perl/

I can't say I've tried it myself yet.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 Java Process

2010-03-02 Thread Asrai khn
On Tue, Mar 2, 2010 at 4:26 PM, Jatin Davey  wrote:

> Hi
>
> I want to know how i can monitor the java process running on remote box
> , basically i want to keep monitoring it and raise an email alert if it
> has re-started or stopped functioning. Please let me know how this can
> be achieved using nagios.
>
>
You can monitor process on remote box using nrpe + check_procs

1. you have to install nrpe on remote box
2. and then have to configure command in nrpe.cfg eg check_procs

for more infor

./check_procs -h
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] on call rotation with check

2010-03-02 Thread shadih rahman
Is it possible to maintain a on call rotation via a service check?   Also
possibly pass in a nagios username to update the on call rotation?  Please
advise on this.   Thanks

-- 
Cordially,
Shadhin Rahman
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Re-send: Notificaitons after the commit

2010-03-02 Thread Yu Watanabe
Hello Assaf

Sorry, for ambiguous expression.

Word "Commit", I used in the meaning of executing the following command,

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios restart

And yes. After the above command, the notification that was been occuring every 
24hours before then
suddenly stopped. So, I doubted the restart procedure if this is doing 
something wrond.

Thank you
Yu Watanabe

Assaf Flatto さんは書きました:
>Yu Watanabe wrote:
>> Hello all.
>>
>> I am re-sending the message again. Message seems to be not sent properly.
>> I apologize if this becomes duplicate message.
>> ---
>>
>> I have a question about the notifications after the commit. 
>> I am wondering whether nagios refreshes the notification history event 
>> though the state retention option
>> is specified.
>>
>> Could someone help us out?
>>
>> I am using the Nagios v3.0.6 and following is the situation:
>>
>> 1. Service Notification interval is set as 24h
>> 2. Host status is UP at that time
>> 3. Normal check interval is set 24h
>>
>> Following is the history from the nagios.log:
>>
>> * HARD status change had occured at Jan 11 08:35 . Notification has been 
>> sent at 08:35
>> * Notification was sent at Jan 12 08:35
>> * Notification was sent at Jan 13 08:35
>> * Commit was executed at Jan 13 22:24
>> * Notification was not sent at Jan 14 08:35 <--** This is the problem ***
>> * Recovery status change had occured from CRITICAL -> OK at Jan 15 08:35. 
>> Notification has been sent at 08:35.
>>
>> I thought that Nagios inherits the last notification time when it restarts 
>> using the nagiostatus.sav. 
>> But it seems to be not the case for this time.
>>
>> Could someone give us an advice?
>>
>> Thank you.
>> Yu Watanabe
>>   
>When you say commit  ? what exactly do you mean ?
>are you committing code upstream of nagios and then testing it on your 
>system ?
>are you performing some action and then the alerts are not generated ?
>
>Please provide more information - or clarify what you mean.
>
>Assaf
>
>--
>Download Intel® Parallel Studio Eval
>Try the new software tools for yourself. Speed compiling, find bugs
>proactively, and fine-tune applications for parallel performance.
>See why Intel Parallel Studio got high marks during beta.
>http://p.sf.net/sfu/intel-sw-dev
>___
>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
>


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 Java Process

2010-03-02 Thread Edwin Zoeller
We monitor the port number assigned to the process. 

-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk] 
Sent: Tuesday, March 02, 2010 7:35 AM
To: Jatin Davey
Cc: Nagios Mailinglist
Subject: Re: [Nagios-users] Monitor Java Process

On 2 March 2010 11:26, Jatin Davey  wrote:
> Hi
>
> I want to know how i can monitor the java process running on remote 
> box , basically i want to keep monitoring it and raise an email alert 
> if it has re-started or stopped functioning. Please let me know how 
> this can be achieved using nagios.
>
> Thanks
> Jatin


Someone hereabouts recently mentioned you can use jmx4perl
http://labs.consol.de/lang/de/jmx4perl/

I can't say I've tried it myself yet.


--
Download Intel® Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 Java Process

2010-03-02 Thread Max
You could use check_proc via NRPE or al custom SNMP base check SNMP
agent (HR MIB or an agent specific MIB).   A number of SnMP agents can
be configured to send SnMP trpas when monitored processes exit.

The Sun JVM also has a built in SNMP agent that exposes thread count,
heap size and some other base JVM metrics.  This agent can easily be
proxied through an agent like Net-SNMP so you don't have multiple
agent ports to work with.

If you are using weblogic, it's built in SNMP agent can be configured
to send a variety of SNMP traps, including starting up and shutting
down traps.

Max

On 3/2/10, Jatin Davey  wrote:
> Hi
>
> I want to know how i can monitor the java process running on remote box
> , basically i want to keep monitoring it and raise an email alert if it
> has re-started or stopped functioning. Please let me know how this can
> be achieved using nagios.
>
> Thanks
> Jatin
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> 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
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Re-send: Notificaitons after the commit

2010-03-02 Thread Robert Wolfe
I am curious here...

If all you are doing is restarting Nagios, why not just use:

/etc/init.d/nagios restart

Instead of all the other commands and parameters?

-Original Message-
From: Yu Watanabe [mailto:yu.watan...@jp.fujitsu.com] 
Sent: Tuesday, March 02, 2010 9:12 AM
To: Assaf Flatto
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit

Hello Assaf

Sorry, for ambiguous expression.

Word "Commit", I used in the meaning of executing the following command,

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios restart

And yes. After the above command, the notification that was been occuring every 
24hours before then
suddenly stopped. So, I doubted the restart procedure if this is doing 
something wrond.

Thank you
Yu Watanabe

Assaf Flatto さんは書きました:
>Yu Watanabe wrote:
>> Hello all.
>>
>> I am re-sending the message again. Message seems to be not sent properly.
>> I apologize if this becomes duplicate message.
>> ---
>>
>> I have a question about the notifications after the commit. 
>> I am wondering whether nagios refreshes the notification history event 
>> though the state retention option
>> is specified.
>>
>> Could someone help us out?
>>
>> I am using the Nagios v3.0.6 and following is the situation:
>>
>> 1. Service Notification interval is set as 24h
>> 2. Host status is UP at that time
>> 3. Normal check interval is set 24h
>>
>> Following is the history from the nagios.log:
>>
>> * HARD status change had occured at Jan 11 08:35 . Notification has been 
>> sent at 08:35
>> * Notification was sent at Jan 12 08:35
>> * Notification was sent at Jan 13 08:35
>> * Commit was executed at Jan 13 22:24
>> * Notification was not sent at Jan 14 08:35 <--** This is the problem ***
>> * Recovery status change had occured from CRITICAL -> OK at Jan 15 08:35. 
>> Notification has been sent at 08:35.
>>
>> I thought that Nagios inherits the last notification time when it restarts 
>> using the nagiostatus.sav. 
>> But it seems to be not the case for this time.
>>
>> Could someone give us an advice?
>>
>> Thank you.
>> Yu Watanabe
>>   
>When you say commit  ? what exactly do you mean ?
>are you committing code upstream of nagios and then testing it on your 
>system ?
>are you performing some action and then the alerts are not generated ?
>
>Please provide more information - or clarify what you mean.
>
>Assaf
>
>--
>Download Intel® Parallel Studio Eval
>Try the new software tools for yourself. Speed compiling, find bugs
>proactively, and fine-tune applications for parallel performance.
>See why Intel Parallel Studio got high marks during beta.
>http://p.sf.net/sfu/intel-sw-dev
>___
>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
>


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Re-send: Notificaitons after the commit

2010-03-02 Thread Martin Melin
2010/3/2 Robert Wolfe 

> I am curious here...
>
> If all you are doing is restarting Nagios, why not just use:
>
>/etc/init.d/nagios restart
>
> Instead of all the other commands and parameters?
>

Running nagios -v nagios.cfg haves Nagios verify the configuration, this is
best practice because otherwise you risk a typo stopping your monitoring for
the time it takes for you to correct the configuration :-)


>
> -Original Message-
> From: Yu Watanabe [mailto:yu.watan...@jp.fujitsu.com]
> Sent: Tuesday, March 02, 2010 9:12 AM
> To: Assaf Flatto
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit
>
> Hello Assaf
>
> Sorry, for ambiguous expression.
>
> Word "Commit", I used in the meaning of executing the following command,
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
> /etc/init.d/nagios restart
>

Tip: don't use restart when you just want Nagios to load new
configuration.Your init script should handle reload instead, which will send
a HUP signal to Nagios. This means that Nagios doesn't stop and start back
up, it only re-reads the configuration files.

So, for your specific problem, I think you'd be fine by simply using this
instead:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios reload


>
> And yes. After the above command, the notification that was been occuring
> every 24hours before then
> suddenly stopped. So, I doubted the restart procedure if this is doing
> something wrond.
>

Check your retention settings in nagios.cfg, especially
retention_update_interval and retain_state_information.

-- 
Martin Melin

op5 AB
http://www.op5.com

http://www.op5.org/
http://www.op5.com/op5/products/network-monitor/nagios/
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Help with nagiosgraph?

2010-03-02 Thread Litwin, Matthew
I thought I might try posting this here in case someone has lots of experience 
with nagiosgraph.

I am setting up nagiosgraph-1.4.1 on a nagos 3.0.6 installation on CentOS 5.2 
and I have this peculiar problem where only some of the hosts and services are 
having their rrd data populating. It seems totally random as to which hosts are 
being selected, like one or two hosts from most of my hostgroups. Also, which 
services that are being collected is also spotty. What is even weirder is that 
the service data that is being collected is getting updated and goes back to 
when I set everything up, but other hosts don't even have it's host directory 
under the rrd data root.

I have nagiosgraph running in debug mode and I don't see anything particularly 
offensive, but it does seem to hit an empty perfdata.log that I would expect. I 
feel data is simply getting missed in the churn or something. Any ideas?

Here is a chuck of nagiosgraph.log:

Tue Mar  2 18:26:42 2010 insert.pl debug inputdata()
Tue Mar  2 18:26:42 2010 insert.pl debug inputdata empty 
/usr/local/nagios/var/perfdata.log
Tue Mar  2 18:26:42 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 18:26:50 2010 insert.pl debug 
getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata()
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata empty 
/usr/local/nagios/var/perfdata.log
Tue Mar  2 18:26:50 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 18:26:50 2010 insert.pl debug 
getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata()
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata empty 
/usr/local/nagios/var/perfdata.log
Tue Mar  2 18:26:50 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 18:26:50 2010 insert.pl debug 
getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata()
Tue Mar  2 18:26:50 2010 insert.pl debug processdata(1)
Tue Mar  2 18:26:50 2010 insert.pl debug getdebug(insert, 
srwc01cca002, CPU Utilization)
Tue Mar  2 18:26:50 2010 insert.pl debug getdebug found 
debug_insert
Tue Mar  2 18:26:50 2010 insert.pl debug getdebug found 
debug_insert_host
Tue Mar  2 18:26:50 2010 insert.pl debug processdata data = [
 '1267554396',
 'srwc01cca002',
 'CPU Utilization',
 'CPU USAGE OK - 1% (usr=0 sys=0 idle=99)',
 'usage=1 usr=0 sys=0 idle=99
'
];
Tue Mar  2 18:26:50 2010 insert.pl warn perfdata not 
recognized: servicedescr:CPU Utilization
output:CPU USAGE OK - 1% (usr=0 sys=0 idle=99)
perfdata:usage=1 usr=0 sys=0 idle=99

Tue Mar  2 18:26:50 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 18:26:50 2010 insert.pl debug 
getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata()
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata empty 
/usr/local/nagios/var/perfdata.log
Tue Mar  2 18:26:50 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 18:26:50 2010 insert.pl debug 
getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata()
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata empty 
/usr/local/nagios/var/perfdata.log
Tue Mar  2 18:26:50 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 18:26:50 2010 insert.pl debug 
getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata()
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata empty 
/usr/local/nagios/var/perfdata.log
Tue Mar  2 18:26:50 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 18:26:50 2010 insert.pl debug 
getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata()
Tue Mar  2 18:26:50 2010 insert.pl debug inputdata empty 
/usr/local/nagios/var/perfdata.log
Tue Mar  2 18:26:50 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 18:27:00 2010 insert.pl debug 
getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar  2 18:27:00 2010 insert.pl debug inputdata()
Tue Mar  2 18:27:00 2010 insert.pl debug inputdata empty 
/usr/local/nagios/var/perfdata.log
Tue Mar  2 18:27:00 2010 insert.pl debug 
insert.pl exited
Tue Mar  2 

Re: [Nagios-users] multiple check_interval with single service check

2010-03-02 Thread Matt Simmons
You could write a wrapper around the plugin to check the time of day
and execute it as needed.




On Mon, Mar 1, 2010 at 2:47 PM, shadih rahman  wrote:
> All,
>    Is it possible to use multiple check_interval based on the hours of the
> day for a single check?  For example during day time service should be
> executed every 15 minutes and during night it will get executed every 2
> hours.  Can someone please show me how its done.  Thanks
>
> --
> Cordially,
> Shadhin Rahman
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> 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
>



-- 
LITTLE GIRL: But which cookie will you eat FIRST?
COOKIE MONSTER: Me think you have misconception of cookie-eating process.

COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the
NJ-PICC Sysadmin Conference! http://www.picconf.org

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Re-send: Notificaitons after the commit

2010-03-02 Thread C. Bensend

> Running nagios -v nagios.cfg haves Nagios verify the configuration, this
> is
> best practice because otherwise you risk a typo stopping your monitoring
> for
> the time it takes for you to correct the configuration :-)

...

> Tip: don't use restart when you just want Nagios to load new
> configuration.Your init script should handle reload instead, which will
> send
> a HUP signal to Nagios. This means that Nagios doesn't stop and start back
> up, it only re-reads the configuration files.
>
> So, for your specific problem, I think you'd be fine by simply using this
> instead:
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
> /etc/init.d/nagios reload

For exactly this reason, I have had two command aliases for years:

preflight (which does a -v against the configuration file to check the
   sanity of my Nagios configuration)

reload (which sends the Nagios process a SIGHUP)

I *always* do a preflight before the reload, just to be sure my
configuration is sane, no matter how minor a change I made.  It's
a good habit to be in.

Benny


-- 
"Show me on the doll where the marketing touched you."
   -- "Mally" on Fazed.net



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Re-send: Notificaitons after the commit

2010-03-02 Thread Wolfe, Robert
This is funny because I have script called 'sanity_check' that runs Nagios with 
the -v switch to check my configs :)


From: C. Bensend [be...@bennyvision.com]
Sent: Tuesday, March 02, 2010 2:21 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit

> Running nagios -v nagios.cfg haves Nagios verify the configuration, this
> is
> best practice because otherwise you risk a typo stopping your monitoring
> for
> the time it takes for you to correct the configuration :-)

...

> Tip: don't use restart when you just want Nagios to load new
> configuration.Your init script should handle reload instead, which will
> send
> a HUP signal to Nagios. This means that Nagios doesn't stop and start back
> up, it only re-reads the configuration files.
>
> So, for your specific problem, I think you'd be fine by simply using this
> instead:
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
> /etc/init.d/nagios reload

For exactly this reason, I have had two command aliases for years:

preflight (which does a -v against the configuration file to check the
   sanity of my Nagios configuration)

reload (which sends the Nagios process a SIGHUP)

I *always* do a preflight before the reload, just to be sure my
configuration is sane, no matter how minor a change I made.  It's
a good habit to be in.

Benny


--
"Show me on the doll where the marketing touched you."
   -- "Mally" on Fazed.net



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Re-send: Notificaitons after the commit

2010-03-02 Thread Wolfe, Robert
I know that.  However, I always run the command with the -v immediately after 
making changes.  After I have verified the changes work, then I restart Nagios. 
 But, I guess the old adage "There is more than one way to skin a cat" can 
apply here, yes? :)


From: Martin Melin [mart...@op5.org]
Sent: Tuesday, March 02, 2010 12:35 PM
To: Robert Wolfe
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit

2010/3/2 Robert Wolfe mailto:rwo...@i-evolve.com>>
I am curious here...

If all you are doing is restarting Nagios, why not just use:

   /etc/init.d/nagios restart

Instead of all the other commands and parameters?

Running nagios -v nagios.cfg haves Nagios verify the configuration, this is 
best practice because otherwise you risk a typo stopping your monitoring for 
the time it takes for you to correct the configuration :-)


-Original Message-
From: Yu Watanabe 
[mailto:yu.watan...@jp.fujitsu.com]
Sent: Tuesday, March 02, 2010 9:12 AM
To: Assaf Flatto
Cc: 
nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit

Hello Assaf

Sorry, for ambiguous expression.

Word "Commit", I used in the meaning of executing the following command,

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios restart

Tip: don't use restart when you just want Nagios to load new configuration.Your 
init script should handle reload instead, which will send a HUP signal to 
Nagios. This means that Nagios doesn't stop and start back up, it only re-reads 
the configuration files.

So, for your specific problem, I think you'd be fine by simply using this 
instead:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios reload


And yes. After the above command, the notification that was been occuring every 
24hours before then
suddenly stopped. So, I doubted the restart procedure if this is doing 
something wrond.

Check your retention settings in nagios.cfg, especially 
retention_update_interval and retain_state_information.

--
Martin Melin

op5 AB
http://www.op5.com

http://www.op5.org/
http://www.op5.com/op5/products/network-monitor/nagios/
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Re-send: Notificaitons after the commit

2010-03-02 Thread Marc Powell

On Mar 2, 2010, at 11:35 AM, Martin Melin wrote:

> 2010/3/2 Robert Wolfe 
> I am curious here...
> 
> If all you are doing is restarting Nagios, why not just use:
> 
>/etc/init.d/nagios restart
> 
> Instead of all the other commands and parameters?
> 
> Running nagios -v nagios.cfg haves Nagios verify the configuration, this is 
> best practice because otherwise you risk a typo stopping your monitoring for 
> the time it takes for you to correct the configuration :-)

The init script already does this and doesn't restart if verification fails.

--
Marc


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Re-send: Notificaitons after the commit

2010-03-02 Thread Wolfe, Robert
So consider me a little more educated :)


From: Marc Powell [m...@ena.com]
Sent: Tuesday, March 02, 2010 2:43 PM
To: nagios-users Mailinglist
Subject: Re: [Nagios-users] Re-send: Notificaitons after the commit

On Mar 2, 2010, at 11:35 AM, Martin Melin wrote:

> 2010/3/2 Robert Wolfe 
> I am curious here...
>
> If all you are doing is restarting Nagios, why not just use:
>
>/etc/init.d/nagios restart
>
> Instead of all the other commands and parameters?
>
> Running nagios -v nagios.cfg haves Nagios verify the configuration, this is 
> best practice because otherwise you risk a typo stopping your monitoring for 
> the time it takes for you to correct the configuration :-)

The init script already does this and doesn't restart if verification fails.

--
Marc


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] cgi_base_url - change in latest build?

2010-03-02 Thread Andres L. Figari
Hello,

Recently my monitor server crashed and I decided to go with a the latest 
version of Nagios rather than backups.   I did not really notice the automatic 
update feature - though I may have opted for it anyhow.  Suddenly my cgis are 
not working:

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

I had my cgi.cnf set up like this... 

url_html_path=/

Anyone know what it was that changed that I cannot configure this anymore via 
the cgi.cnf?

I read the update notes and could not tell any mention of the cgi_base_url nor 
url_html_path

Thanks for any help!

Regards,

Andres


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] cgi_base_url - change in latest build?

2010-03-02 Thread Andres L. Figari
BTW - i got a work around by editing my httpd.conf file - but still curios as 
to how I can have control of this...

Thanks!

Andres
  - Original Message - 
  From: Andres L. Figari 
  To: nagios-users@lists.sourceforge.net 
  Sent: Tuesday, March 02, 2010 1:07 PM
  Subject: [Nagios-users] cgi_base_url - change in latest build?


  Hello,

  Recently my monitor server crashed and I decided to go with a the latest 
version of Nagios rather than backups.   I did not really notice the automatic 
update feature - though I may have opted for it anyhow.  Suddenly my cgis are 
not working:

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

  I had my cgi.cnf set up like this... 

  url_html_path=/

  Anyone know what it was that changed that I cannot configure this anymore via 
the cgi.cnf?

  I read the update notes and could not tell any mention of the cgi_base_url 
nor url_html_path

  Thanks for any help!

  Regards,

  Andres





--


  --
  Download Intel® Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev


--


  ___
  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


--



  No virus found in this incoming message.
  Checked by AVG - www.avg.com 
  Version: 9.0.733 / Virus Database: 271.1.1/2718 - Release Date: 03/01/10 
23:34:00
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] cgi_base_url - change in latest build?

2010-03-02 Thread Marc Powell

On Mar 2, 2010, at 3:07 PM, Andres L. Figari wrote:

> Hello,
>  
> Recently my monitor server crashed and I decided to go with a the latest 
> version of Nagios rather than backups.   I did not really notice the 
> automatic update feature - though I may have opted for it anyhow.  Suddenly 
> my cgis are not working:
>  
> The requested URL /nagios/cgi-bin/status.cgi was not found on this server.
>  
> I had my cgi.cnf set up like this... 
>  
> url_html_path=/
> Anyone know what it was that changed that I cannot configure this anymore via 
> the cgi.cnf


It's a compile-time option --

$ ./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

{snip}

--with-cgiurl= sets URL for cgi programs (do not use a trailing 
slash)
--with-htmurl= sets URL for public html


I expect you previously used  '--with-htmurl= --with-cgiurl=/cgi-bin' for your 
old install.

--
Marc


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] cgi_base_url - change in latest build?

2010-03-02 Thread Andres L. Figari
Thanks - no I did not set anything in my configure out of the ordinary, I 
did the whole install with defaults and then edited the cgi.cnf and it 
worked.

I just changed my httpd.conf file and it fixed itself anyhow - thanks again!

Andres
- Original Message - 
From: "Marc Powell" 
To: "nagios-users Mailinglist" 
Sent: Tuesday, March 02, 2010 2:54 PM
Subject: Re: [Nagios-users] cgi_base_url - change in latest build?


>
> On Mar 2, 2010, at 3:07 PM, Andres L. Figari wrote:
>
>> Hello,
>>
>> Recently my monitor server crashed and I decided to go with a the latest 
>> version of Nagios rather than backups.   I did not really notice the 
>> automatic update feature - though I may have opted for it anyhow. 
>> Suddenly my cgis are not working:
>>
>> The requested URL /nagios/cgi-bin/status.cgi was not found on this 
>> server.
>>
>> I had my cgi.cnf set up like this...
>>
>> url_html_path=/
>> Anyone know what it was that changed that I cannot configure this anymore 
>> via the cgi.cnf
>
>
> It's a compile-time option --
>
> $ ./configure --help
> `configure' configures this package to adapt to many kinds of systems.
>
> Usage: ./configure [OPTION]... [VAR=VALUE]...
>
> {snip}
>
> --with-cgiurl= sets URL for cgi programs (do not use a trailing 
> slash)
> --with-htmurl= sets URL for public html
>
>
> I expect you previously used  '--with-htmurl= --with-cgiurl=/cgi-bin' for 
> your old install.
>
> --
> Marc
>
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> 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






No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2718 - Release Date: 03/01/10 
23:34:00


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Getting Notifications Outside of Defined Time Periods

2010-03-02 Thread Matt Baer
I'm having an issue with Nagios sending me notifications during time periods 
that are not included within the designated period. I've tested this by setting 
the time period to 'never', restarting Nagios and I STILL get notifications. 

I have a backup that runs on my Mail Server 3-4 times a week. In order to do 
the backup process, I have to down my mail server. So you can imagine that I'm 
getting dozens of emails at very early times in the morning. Any ideas? 
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Getting Notifications Outside of Defined Time Periods

2010-03-02 Thread Martin Melin
It sounds like the check_time_period of your checks is not being set to what
you think it is.

I suggest that you use config.cgi (View Config in the sidebar menu) to check
what Nagios is actually using as the running configuration. Go to Services,
check the Check Period value. Then go to Time Periods and verify what the
definition of that Check Period alias is ("never" is not a magic word, it is
just an alias so it could conceivably be something else than never).

On Wed, Mar 3, 2010 at 1:07 AM, Matt Baer  wrote:

> I'm having an issue with Nagios sending me notifications during time
> periods that are not included within the designated period.  I've tested
> this by setting the time period to 'never', restarting Nagios and I STILL
> get notifications.
>
> I have a backup that runs on my Mail Server 3-4 times a week.  In order to
> do the backup process, I have to down my mail server.  So you can imagine
> that I'm getting dozens of emails at very early times in the morning.  Any
> ideas?
>
>
-- 
Martin Melin

May your delusions be benign and your compulsions have utility

op5 AB
http://www.op5.com

http://www.op5.org/
http://www.op5.com/op5/products/network-monitor/nagios/
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Getting Notifications Outside of Defined Time Periods

2010-03-02 Thread Matt Baer
SImply genious . That appears to be the issue, but I haven't a clue how to fix 
it, as it appears to be a formatting error. 

Here's what the cfg file shows: 

# Mail Server Downtime 
define timeperiod{ 
timeperiod_name MailServ 
alias Monitored 24x7 Except During A Backup 
sunday 00:00-02:45,03:30-24:00 
monday 00:00-02:45,03:30-24:00 
tuesday 00:00-02:45,03:30-24:00 
wednesday 00:00-02:45,03:30-24:00 
thursday 00:00-02:45,03:30-24:00 
friday 00:00-02:45,03:30-24:00 
saturday 00:00-02:45,03:30-24:00 
} 


And here's what's given with the method you described: 

MailServMonitored 24x7 Except During A Backup   
sunday  03:30:00 - 24:00:00, 00:00:00 - 02:45:00 

monday  03:30:00 - 24:00:00, 00:00:00 - 02:45:00 

tuesday 03:30:00 - 24:00:00, 00:00:00 - 02:45:00 

wednesday   03:30:00 - 24:00:00, 00:00:00 - 02:45:00 

thursday03:30:00 - 24:00:00, 00:00:00 - 02:45:00 

friday  03:30:00 - 24:00:00, 00:00:00 - 02:45:00 

saturday03:30:00 - 24:00:00, 00:00:00 - 02:45:00 
Is the formatting an issue? 

define host{ 
use generic-host 
host_name Mail 
alias Mail_Server 
address 10.0.0.10 
check_command check-host-alive 
max_check_attempts 10 
notification_interval 10 
notification_period MailServ 
notification_options d,u,r 
} 




- Original Message - 
From: "Martin Melin"  
To: "Matt Baer"  
Cc: "nagios-users"  
Sent: Tuesday, March 2, 2010 7:07:50 PM 
Subject: Re: [Nagios-users] Getting Notifications Outside of Defined Time 
Periods 

It sounds like the check_time_period of your checks is not being set to what 
you think it is. 


I suggest that you use config.cgi (View Config in the sidebar menu) to check 
what Nagios is actually using as the running configuration. Go to Services, 
check the Check Period value. Then go to Time Periods and verify what the 
definition of that Check Period alias is ("never" is not a magic word, it is 
just an alias so it could conceivably be something else than never). 


On Wed, Mar 3, 2010 at 1:07 AM, Matt Baer < m...@baerconsult.com > wrote: 




I'm having an issue with Nagios sending me notifications during time periods 
that are not included within the designated period. I've tested this by setting 
the time period to 'never', restarting Nagios and I STILL get notifications. 

I have a backup that runs on my Mail Server 3-4 times a week. In order to do 
the backup process, I have to down my mail server. So you can imagine that I'm 
getting dozens of emails at very early times in the morning. Any ideas? 


-- 
Martin Melin 

May your delusions be benign and your compulsions have utility 
 
op5 AB 
http://www.op5.com 

http://www.op5.org/ 
http://www.op5.com/op5/products/network-monitor/nagios/ 
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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 Java Process

2010-03-02 Thread Jatin Davey
my remote box where i need to monitor the java process is a windows box 
, googled on how to monitor windows boxes i found that i needed to install


nsclient++

i want to know whether i can now use the check_procs plugin now to monitor the 
remotely running java process using the
check_procs plugin in nagios.

Please let me know about it.

Thanks
Jatin


On 3/2/2010 7:40 PM, Asrai khn wrote:



On Tue, Mar 2, 2010 at 4:26 PM, Jatin Davey > wrote:


Hi

I want to know how i can monitor the java process running on
remote box
, basically i want to keep monitoring it and raise an email alert
if it
has re-started or stopped functioning. Please let me know how this can
be achieved using nagios.


You can monitor process on remote box using nrpe + check_procs

1. you have to install nrpe on remote box
2. and then have to configure command in nrpe.cfg eg check_procs

for more infor

./check_procs -h



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev


___
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
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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