Re: [Nagios-users] nagios2: failover

2009-06-15 Thread Andreas Ericsson
Jeremiah Jester wrote:
> Hello Nagios Users,
> 
> I'm attempting to setup a second nagios server up to do failover monitoring
> in case my primary nagios server goes down.
> 
> Running into a odd problem in talking to the nrpe daemon on the master
> server.
> 
> When I run the following cmd prompt, nrpe does not allow me to connect from
> the new host even though it is specified in the master nagios server
> nrpe.cfg file.
> 
> SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load
> Connection refused by host
> 
> However, when i run the same cmd for another host, it returns successfully.
> 
> SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load
> OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0;
> load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;
> 
> **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg
> allowed_hosts directive and the nrpe daemon has been restarted.
> 

Double-check this with cut 'n paste. 9/10, this is actually the issue but
with a typo somewhere, or the same IP written in both nrpe.cfg files.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

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


Re: [Nagios-users] check_nrpe, check_ssh, snmp

2009-06-15 Thread Meyer Jerome
Thanks for your advice...

 

Regards

jerome

 

Von: Mat W [mailto:lmw94...@hotmail.com] 
Gesendet: Montag, 15. Juni 2009 17:55
An: Meyer Jerome; nagios-users@lists.sourceforge.net
Betreff: RE: [Nagios-users] check_nrpe, check_ssh, snmp

 

My "production nagios server" is within my production datacenter.  Since
it is inside the security perimeter of our deployment, I use NRPE over
SSL with only the servers local "nrpe.cfg" file with "allowed_hosts"
configured for only the internal nagios server.

-- 
Mat W. - lmw94...@hotmail.com



 



Date: Mon, 15 Jun 2009 16:41:22 +0200
From: jerome.me...@baldata.ch
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_nrpe, check_ssh, snmp

Hi

 

For the control of the servers I used in nagios(test) the command
check_nrpe and that running well So, now for the nagios(productive),
I'm thinking which is the best solutions: check_nrpe, check_ssh or SNMP?


Someone says that for security ground we should only use SNMP?

 

Which should I use? What does the expert advise me?

 

 

Best regards

jerome

 



Windows Live(tm): Keep your life in sync. Check it out.
 

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

Re: [Nagios-users] nagios2: failover

2009-06-15 Thread Jeremiah Jester
Scratch that. Process was stuck. Killed and restart nagios server.
Thanks!

JJ

On Mon, Jun 15, 2009 at 3:22 PM, Jeremiah Jester
wrote:

> Oops, Looks like i had an error in my configuration file.
>
> Next question: Any idea why check_nagios can't find the running process?
>
> $/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_nagios
> NAGIOS CRITICAL: Could not locate a running Nagios process!
>
> Nothing in /var/log/nagios2/nagios.log about this message. I can verify the
> nrpe and nagios are working as the following command returns succesfully.
>
> $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load
> OK - load average: 1.00, 1.04, 1.05|load1=1.000;15.000;30.000;0;
> load5=1.040;10.000;25.000;0; load15=1.050;5.000;20.000;0;
>
> Thanks,
> JJ
>
>
> On Mon, Jun 15, 2009 at 1:10 PM, Jeremiah Jester  > wrote:
>
>> Hello Nagios Users,
>>
>> I'm attempting to setup a second nagios server up to do failover
>> monitoring in case my primary nagios server goes down.
>>
>> Running into a odd problem in talking to the nrpe daemon on the master
>> server.
>>
>> When I run the following cmd prompt, nrpe does not allow me to connect
>> from the new host even though it is specified in the master nagios server
>> nrpe.cfg file.
>>
>> SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load
>> Connection refused by host
>>
>> However, when i run the same cmd for another host, it returns
>> successfully.
>>
>> SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load
>> OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0;
>> load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;
>>
>> **Note thta the IP for the nagios failover server IS listed in the
>> nrpe.cfg allowed_hosts directive and the nrpe daemon has been restarted.
>>
>> Any insight on this issue? I am running Nagios 2.11.
>>
>> Thanks,
>>  JJ
>>
>
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] nagios2: failover

2009-06-15 Thread Jeremiah Jester
Oops, Looks like i had an error in my configuration file.

Next question: Any idea why check_nagios can't find the running process?

$/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_nagios
NAGIOS CRITICAL: Could not locate a running Nagios process!

Nothing in /var/log/nagios2/nagios.log about this message. I can verify the
nrpe and nagios are working as the following command returns succesfully.

$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load
OK - load average: 1.00, 1.04, 1.05|load1=1.000;15.000;30.000;0;
load5=1.040;10.000;25.000;0; load15=1.050;5.000;20.000;0;

Thanks,
JJ

On Mon, Jun 15, 2009 at 1:10 PM, Jeremiah Jester
wrote:

> Hello Nagios Users,
>
> I'm attempting to setup a second nagios server up to do failover monitoring
> in case my primary nagios server goes down.
>
> Running into a odd problem in talking to the nrpe daemon on the master
> server.
>
> When I run the following cmd prompt, nrpe does not allow me to connect from
> the new host even though it is specified in the master nagios server
> nrpe.cfg file.
>
> SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load
> Connection refused by host
>
> However, when i run the same cmd for another host, it returns successfully.
>
> SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load
> OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0;
> load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;
>
> **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg
> allowed_hosts directive and the nrpe daemon has been restarted.
>
> Any insight on this issue? I am running Nagios 2.11.
>
> Thanks,
> JJ
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NConf 1.2.5 released

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

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

 

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


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

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




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


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


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


Re: [Nagios-users] check_mailq, nrpe, and root perms on client

2009-06-15 Thread Marc Powell

On Jun 15, 2009, at 2:02 PM, Kevin Freels wrote:

> I've done my research on seeing if sudo can be set to not log certain
> commands/users/groups, but haven't found anything. I think that's
> because sudo was never meant to be ignored when a command is run; you
> *want* to be notified if someone runs a root comand as a mortal user.

Not particularly. IMHO, you've given them permission to run the  
command; isn't that good enough? That's why most of the mail_* options  
are to notify you of exceptions to that.

> It's unwieldable to set up mail filters to filter out those messages,
> since, as I said, sudo's purpose it to inform. Add that you'd need  
> to do
> this every time a new client is added, and it's simply not an elegant
> solution.
>
> Obviously, someone wrote check_mailq and it was included in the
> distributions, so it must have worked at one point in time (or there  
> was
> a workaround to get it to work).

It is working and there's no workaround needed in standard installs.  
The choice made in your specific sudo configuration (mail_always =  
yes), isn't the norm IMHO so you're seeing different behavior. There  
may not be a workaround that isn't unwieldy (filters and the like) or  
that potentially compromises your security (suid, etc).

--
Marc


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


[Nagios-users] nagios2: failover

2009-06-15 Thread Jeremiah Jester
Hello Nagios Users,

I'm attempting to setup a second nagios server up to do failover monitoring
in case my primary nagios server goes down.

Running into a odd problem in talking to the nrpe daemon on the master
server.

When I run the following cmd prompt, nrpe does not allow me to connect from
the new host even though it is specified in the master nagios server
nrpe.cfg file.

SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load
Connection refused by host

However, when i run the same cmd for another host, it returns successfully.

SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load
OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0;
load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;

**Note thta the IP for the nagios failover server IS listed in the nrpe.cfg
allowed_hosts directive and the nrpe daemon has been restarted.

Any insight on this issue? I am running Nagios 2.11.

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

Re: [Nagios-users] check_mailq, nrpe, and root perms on client

2009-06-15 Thread Marc Powell

On Jun 15, 2009, at 2:07 PM, Kevin Freels wrote:

>> I personally don't like any of those options. I don't use
>> check_mailq and wrote my own that fits our environment better
>> but at the heart of it, I use 'sudo /usr/lib/sendmail...' so
>> there's my vote ;)
>
> I don't like them either for the security risks that they entail.
> However, I would be interested in your solution.

My solution was to use sudo, with the default sudoers option of  
mail_always set to off. ;)

--
Marc


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


[Nagios-users] Chan, Brian is out of the office.

2009-06-15 Thread Brian Chan

I will be out of the office starting  06/15/2009 and will not return until
06/22/2009.

I will respond to your message when I return.



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


Re: [Nagios-users] check_mailq, nrpe, and root perms on client

2009-06-15 Thread Kevin Freels
> Where are the e-mails coming from? sudo logs normally but 
> only sends an e-mail if you've specifically configured it to 
> do so (mail_always).  
> That's off by default in all the distributions I have 
> experience with (and that I can recall)... If that's 
> something you don't really need then turn it off. If you're 
> concerned about security then perhaps some of the other 
> mail_* settings in sudoers might be more useful.

Yes, it does come from sudo. And, yes, we are pretty stringient about
security. Although I was not the one who config'd sudo on the systems
I'm monitoring, some of them are of a sensitive nature and I agree that
they should be tracked. But I'll investigate the other mail_* options; I
didn't see anything that could be turned off in the sudoers file for
commands/users/grounps.

> > I also thought of:
> >
> > -- running nrpe as "root" (not comfortable with that)
> > -- SUID on check_mailq
> > -- chown'ing check_mailq root:root
> 
> I personally don't like any of those options. I don't use 
> check_mailq and wrote my own that fits our environment better 
> but at the heart of it, I use 'sudo /usr/lib/sendmail...' so 
> there's my vote ;)

I don't like them either for the security risks that they entail.
However, I would be interested in your solution.

> Marc

Thanks!!

k

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


Re: [Nagios-users] check_mailq, nrpe, and root perms on client

2009-06-15 Thread Kevin Freels
Hi, Mat!

Actually (as below), I did get sudo to work; it's just that I get
bombarded with an email for each command run. For certain clients, the
three services (check_mailq, check_mem, and check_log) all need it, and
when Nagios makes it's checks every five minutes, that's 36 sudo
messages sent to root every hour. Ten nrpe clients, and suddenly it's
360 messages an hour. In a weekend, it would be thousands. 

I've done my research on seeing if sudo can be set to not log certain
commands/users/groups, but haven't found anything. I think that's
because sudo was never meant to be ignored when a command is run; you
*want* to be notified if someone runs a root comand as a mortal user.
It's unwieldable to set up mail filters to filter out those messages,
since, as I said, sudo's purpose it to inform. Add that you'd need to do
this every time a new client is added, and it's simply not an elegant
solution.

Obviously, someone wrote check_mailq and it was included in the
distributions, so it must have worked at one point in time (or there was
a workaround to get it to work).

As for check_mem, it does work just fine on some systems, but not on
others (I think it's the ones that require vmstat as the base for
checking the memory).

k
-=-=-=-  

> -Original Message-
> From: Mat W [mailto:lmw94...@hotmail.com] 
> Sent: Monday, June 15, 2009 11:27 AM
> To: Kevin Freels; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] check_mailq, nrpe, and root perms 
> on client
> 
> hrm, i don't run check_mem as root and it works fine.
>  
> Is the check_mem script owned by the nagios user and/or 
> executable by the nagios user?
>  
> As for mailq, I would suggest SUDO as the best route.  You 
> can configure very specific sudo permissions to only allow 
> the Nagios user to run very specific commands.
> 
> --
> Mat W. - http://www.techadre.com  
> 
> 
>  
> > Date: Mon, 15 Jun 2009 10:59:10 -0700
> > From: kfre...@sendmail.com
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] check_mailq, nrpe, and root perms on client
> > 
> > Greetings!!!
> > 
> > Errata: Nagios 3.0
> > 
> > I have nrpe running quite well on several clients, but I am 
> having some
> > problems with running root-perm'd commands on the client 
> via nrpe. The
> > critical one I need is check_mailq, which calls the standard UNIX
> > "mailq" command, but there are also others (check_mem, check_log)
> > 
> > The problem is that mailq requires root priv's to do this. 
> Since I run
> > nrpe in daemon mode under the nagios user, it fails with: 
> > 
> > CRITICAL: Error code 78 returned from /usr/bin/mailq
> > 
> > Just for sanity check, I su'd into the nagios user and 
> tried to run it,
> > and it fails. I was able to get it working with sudo by 
> adding the user
> > nagios to the client's sudoers with only that command, and 
> then adding
> > the appropriate "sudo" in front of the check_mailq command 
> in nrpe.cfg:
> > 
> > command[check_mailq]=sudo 
> /usr/local/nagios/libexec/check_mailq -w 50
> > -c 75
> > 
> > It also works on the client as the nagios user.
> > 
> > However, as sudo is designed to do, it logs every command 
> run under it,
> > so I wind up getting an email for every instance the check is made.
> > Multiply that times several servers and services, and I am 
> now getting
> > flooded with emails that are essentially unnecessary.
> > 
> > I also thought of:
> > 
> > -- running nrpe as "root" (not comfortable with that)
> > -- SUID on check_mailq
> > -- chown'ing check_mailq root:root
> > 
> > I'm stumped
> > 
> > Any ideas are greatly appreciated! Thanks in advance!!
> > 
> > 
> > k 
> > -=-=-=- 
> > Kevin Freels
> > Director of Information Technology
> > Sendmail, Inc.
> > kfre...@sendmail.com 510/594.5572
> > 
> > 
> --
> 
> > Crystal Reports - New Free Runtime and 30 Day Trial
> > Check out the new simplified licensing option that enables unlimited
> > royalty-free distribution of the report engine for 
> externally facing 
> > server and web deployment.
> > http://p.sf.net/sfu/businessobjects
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and 
> OS when reporting any issue. 
> > ::: Messages without supporting info will risk being sent 
> to /dev/null
> 
> 
> 
> 
> Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage. 
> Get it on your BlackBerry or iPhone. 
>  5GB_062009> 
> 

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free d

Re: [Nagios-users] ndo utils question

2009-06-15 Thread shadih rahman
I am running nagios version 3.0.6 and ndoutils 1.47b.  My nagios is running
properly without any error.  However in my ndoutils database I am seeing
is_active is always 0.  Can someone direct me to right direction to solve
this problem.  Thanks

On Fri, Jun 12, 2009 at 12:38 PM, shadih rahman  wrote:

>
> Can someone please tell me why am I seeing all my nagios_objects are
> shwoing is_active 0 in nagios_objects table of my ndoutils database?  Thanks
> in advance.
>
>
> On Wed, Jun 10, 2009 at 11:17 AM, shadih rahman wrote:
>
>> is_active shows 0 for all my entries nagios_object.  Can someone tell me
>> if is it due configuration issue or a bug?  Please advise on this.  Thanks
>>
>>
>> On Tue, Jun 9, 2009 at 1:04 PM, Andreas Ericsson  wrote:
>>
>>> shadih rahman wrote:
>>>
 All,
   I have been running ndoutils with nagios for a while.  When I
 initially
 setup my nagios, I played around with a lot of different service checks
 and
 changed around a lot of config parameters.  Now, I have a solid setup
 and I
 have not changed configuration for a while.  When I go into the database
 and
 look at nagios_objects tables, I see all sorts of old objects which do
 not
 exist in my current setup.  Does ndoutils clean up and throw away old
 config
 when we start nagios?

>>>
>>> No, but it marks them as inactive (or some such).
>>>
>>> --
>>> Andreas Ericsson   andreas.erics...@op5.se
>>> OP5 AB www.op5.se
>>> Tel: +46 8-230225  Fax: +46 8-230231
>>>
>>> Considering the successes of the wars on alcohol, poverty, drugs and
>>> terror, I think we should give some serious thought to declaring war
>>> on peace.
>>>
>>
>>
>>
>> --
>> Cordially,
>> Shadhin Rahman
>>
>
>
>
> --
> Cordially,
> Shadhin Rahman
>



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

Re: [Nagios-users] check_mailq, nrpe, and root perms on client

2009-06-15 Thread Marc Powell

On Jun 15, 2009, at 12:59 PM, Kevin Freels wrote:

> However, as sudo is designed to do, it logs every command run under  
> it,
> so I wind up getting an email for every instance the check is made.
> Multiply that times several servers and services, and I am now getting
> flooded with emails that are essentially unnecessary.

Where are the e-mails coming from? sudo logs normally but only sends  
an e-mail if you've specifically configured it to do so (mail_always).  
That's off by default in all the distributions I have experience with  
(and that I can recall)... If that's something you don't really need  
then turn it off. If you're concerned about security then perhaps some  
of the other mail_* settings in sudoers might be more useful.

> I also thought of:
>
> -- running nrpe as "root" (not comfortable with that)
> -- SUID on check_mailq
> -- chown'ing check_mailq root:root

I personally don't like any of those options. I don't use check_mailq  
and wrote my own that fits our environment better but at the heart of  
it, I use 'sudo /usr/lib/sendmail...' so there's my vote ;)

--
Marc


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


Re: [Nagios-users] check_mailq, nrpe, and root perms on client

2009-06-15 Thread Mat W

hrm, i don't run check_mem as root and it works fine.

 

Is the check_mem script owned by the nagios user and/or executable by the 
nagios user?

 

As for mailq, I would suggest SUDO as the best route.  You can configure very 
specific sudo permissions to only allow the Nagios user to run very specific 
commands.

-- 
Mat W. - http://www.techadre.com


 
> Date: Mon, 15 Jun 2009 10:59:10 -0700
> From: kfre...@sendmail.com
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_mailq, nrpe, and root perms on client
> 
> Greetings!!!
> 
> Errata: Nagios 3.0
> 
> I have nrpe running quite well on several clients, but I am having some
> problems with running root-perm'd commands on the client via nrpe. The
> critical one I need is check_mailq, which calls the standard UNIX
> "mailq" command, but there are also others (check_mem, check_log)
> 
> The problem is that mailq requires root priv's to do this. Since I run
> nrpe in daemon mode under the nagios user, it fails with: 
> 
> CRITICAL: Error code 78 returned from /usr/bin/mailq
> 
> Just for sanity check, I su'd into the nagios user and tried to run it,
> and it fails. I was able to get it working with sudo by adding the user
> nagios to the client's sudoers with only that command, and then adding
> the appropriate "sudo" in front of the check_mailq command in nrpe.cfg:
> 
> command[check_mailq]=sudo /usr/local/nagios/libexec/check_mailq -w 50
> -c 75
> 
> It also works on the client as the nagios user.
> 
> However, as sudo is designed to do, it logs every command run under it,
> so I wind up getting an email for every instance the check is made.
> Multiply that times several servers and services, and I am now getting
> flooded with emails that are essentially unnecessary.
> 
> I also thought of:
> 
> -- running nrpe as "root" (not comfortable with that)
> -- SUID on check_mailq
> -- chown'ing check_mailq root:root
> 
> I'm stumped
> 
> Any ideas are greatly appreciated! Thanks in advance!!
> 
> 
> k 
> -=-=-=- 
> Kevin Freels
> Director of Information Technology
> Sendmail, Inc.
> kfre...@sendmail.com 510/594.5572
> 
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null

_
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] check_mailq, nrpe, and root perms on client

2009-06-15 Thread Kevin Freels
Greetings!!!

Errata: Nagios 3.0

I have nrpe running quite well on several clients, but I am having some
problems with running root-perm'd commands on the client via nrpe. The
critical one I need is check_mailq, which calls the standard UNIX
"mailq" command, but there are also others (check_mem, check_log)

The problem is that mailq requires root priv's to do this. Since I run
nrpe in daemon mode under the nagios user, it fails with: 

 CRITICAL: Error code 78 returned from /usr/bin/mailq

Just for sanity check, I su'd into the nagios user and tried to run it,
and it fails. I was able to get it working with sudo by adding the user
nagios to the client's sudoers with only that command, and then adding
the appropriate "sudo" in front of the check_mailq command in nrpe.cfg:

 command[check_mailq]=sudo /usr/local/nagios/libexec/check_mailq -w 50
-c 75

It also works on the client as the nagios user.

However, as sudo is designed to do, it logs every command run under it,
so I wind up getting an email for every instance the check is made.
Multiply that times several servers and services, and I am now getting
flooded with emails that are essentially unnecessary.

I also thought of:

-- running nrpe as "root" (not comfortable with that)
-- SUID on check_mailq
-- chown'ing check_mailq root:root

I'm stumped

Any ideas are greatly appreciated! Thanks in advance!!


k 
-=-=-=- 
Kevin Freels
Director of Information Technology
Sendmail, Inc.
kfre...@sendmail.com  510/594.5572

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


Re: [Nagios-users] Issue with NRPE

2009-06-15 Thread shadih rahman
Sharada,
check the permission on the monitoring server for the actual plugin you
are calling.  Make sure check_nrpe has the proper permission.  Also make
sure you have the right version of nrpe and nrpe plugin.  The nrpe server
and the check_nrpe has to be same version.  I always found it easy to
install it from the source than working with prebuilt package.  I hope this
works for you.  Thanks

On Mon, Jun 15, 2009 at 10:10 AM, Sharada  wrote:

> Hi,
>
> On my monitoring server Nagios is monitoring 3 remote servers. NRPE check
> is working fine on 2 of them. NRPE was installed using debian packages here.
> On my 3rd server I have a mail server running Centos 4.5 . I installes NRPE
> using - nrpe-2.12-3.el4.i386.rpm. ( rpm -ivh nrpe-2.12-3.el4.i386.rpm ). I
> also had my nagios plugins which I moved to /usr/share/nagios/plugins/  [
> nagios/ and nagios/plugins in /ush/share was manualy created by me ]
>
> The /etc/nagios/nrpe.cfg has been configured to allow monitoring server to
> access it.
>
> NRPE is running on the mail server - /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg
> -d
>
> Now, On the monitoring server I see SSL handshake issue with NRPE.
> So,  tried - /check_nrpe -n -H hostname
> Now I get error saying - CHECK_NRPE: Error receiving data from daemon
>
> On the mail servr itself I get this error :
> ./check_nrpe -H localhost
> ./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot
> open
>
> Should I install anything else on the mail server?
>
> thanks!
>
>
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



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

[Nagios-users] Issue with NRPE

2009-06-15 Thread Sharada
Hi,

On my monitoring server Nagios is monitoring 3 remote servers. NRPE check is
working fine on 2 of them. NRPE was installed using debian packages here. On
my 3rd server I have a mail server running Centos 4.5 . I installes NRPE
using - nrpe-2.12-3.el4.i386.rpm. ( rpm -ivh nrpe-2.12-3.el4.i386.rpm ). I
also had my nagios plugins which I moved to /usr/share/nagios/plugins/  [
nagios/ and nagios/plugins in /ush/share was manualy created by me ]

The /etc/nagios/nrpe.cfg has been configured to allow monitoring server to
access it.

NRPE is running on the mail server - /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg
-d

Now, On the monitoring server I see SSL handshake issue with NRPE.
So,  tried - /check_nrpe -n -H hostname
Now I get error saying - CHECK_NRPE: Error receiving data from daemon

On the mail servr itself I get this error :
./check_nrpe -H localhost
./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot
open

Should I install anything else on the mail server?

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

Re: [Nagios-users] Issue with NRPE

2009-06-15 Thread Mat W

sounds like you did not have the appropriate SSL libraries available at the 
time of NRPE installation?  Or perhaps it could not locate the library during 
install.  

 

do you have any libssl.so file present?  usually install the ssl devel package 
fixes alot of ssl type errors w/ nagios/nrpe.


-- 
Mat W. - http://www.techadre.com


 


Date: Mon, 15 Jun 2009 13:10:02 -0400
From: vittal.shar...@gmail.com
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Issue with NRPE

Hi,

On my monitoring server Nagios is monitoring 3 remote servers. NRPE check is 
working fine on 2 of them. NRPE was installed using debian packages here. On my 
3rd server I have a mail server running Centos 4.5 . I installes NRPE using - 
nrpe-2.12-3.el4.i386.rpm. ( rpm -ivh nrpe-2.12-3.el4.i386.rpm ). I also had my 
nagios plugins which I moved to /usr/share/nagios/plugins/  [ nagios/ and 
nagios/plugins in /ush/share was manualy created by me ]

The /etc/nagios/nrpe.cfg has been configured to allow monitoring server to 
access it.

NRPE is running on the mail server - /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d

Now, On the monitoring server I see SSL handshake issue with NRPE.
So,  tried - /check_nrpe -n -H hostname 
Now I get error saying - CHECK_NRPE: Error receiving data from daemon

On the mail servr itself I get this error : 
./check_nrpe -H localhost
./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot open

Should I install anything else on the mail server?

thanks!



_
Insert movie times and more without leaving Hotmail®. 
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Issue with NRPE

2009-06-15 Thread Sharada
Hi,

On my monitoring server Nagios is monitoring 3 remote servers. NRPE check is
working fine on 2 of them. NRPE was installed using debian packages here. On
my 3rd server I have a mail server running Centos 4.5 . I installes NRPE
using - nrpe-2.12-3.el4.i386.rpm. ( rpm -ivh nrpe-2.12-3.el4.i386.rpm ). I
also had my nagios plugins which I moved to /usr/share/nagios/plugins/  [
nagios/ and nagios/plugins in /ush/share was manualy created by me ]

The /etc/nagios/nrpe.cfg has been configured to allow monitoring server to
access it.

NRPE is running on the mail server - /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg
-d

Now, On the monitoring server I see SSL handshake issue with NRPE.
So,  tried - /check_nrpe -n -H hostname
Now I get error saying - CHECK_NRPE: Error receiving data from daemon

On the mail servr itself I get this error :
./check_nrpe -H localhost
./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot
open

Should I install anything else on the mail server?

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

Re: [Nagios-users] Checking OWA

2009-06-15 Thread p1
Very cool, thanks Jon for pointing me in the right direction.
I'm now actually able to drill down all the way to an individual message
and check for content:

check_http -H ExchServ1 --ssl -a "dom1\nagios":NagiosPass1 -u
/exchange/nagios/Inbox/Nagios%20OWA%20content%20check%20-%20DO%20NOT%20D
ELETE.EML?Cmd=open -s "monitor OWA functionality"  

Exactly what I wanted and then some :)

--
Paul

-Original Message-
From: Jon Angliss [mailto:j...@netdork.net] 
Sent: Friday, June 12, 2009 5:27 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Checking OWA

On Fri, 12 Jun 2009 11:43:29 -0700,  wrote:

>Trying to use check_http to monitor OWA.  I can monitor the site's
>response, SSL and even login, but not content, which would be a truly
>thorough test I used to be able to do some time back.  Getting stuck
>with this error, seen in verbose output from the plugin:
> 
>This page uses frames, but your browser doesn't support them.

That's exactly what I'd expect to see when you don't actually request
the page with content, and just call the main frameset page.

> 
>I see the same error if I disable frame support in Firefox.  Anyone
else
>monitoring OWA content?

What content are you actually looking for? Is there a specific email
you're looking for?  If so, you don't want to call /exchange/nagios,
you want to look for the INBOX instead.  If you view the source of the
frameset page, you will see two frame calls, the body looks something
like this:


  
  
  
This page uses frames, but your browser doesn't support
them.
 


Note, I have trimmed the code to make it actually readable.  You can
see the navigation bar, and the inbox calls.  So your nagios
check_http call should in fact look like this:

./check_http -H exchange -u "/exchange/nagios/Inbox/?Cmd=contents" -a
"dom1\nagios":nagiospass1 -s ""

Another note, you'll find the code for {name} : INBOX is split by HTML
code, so your check needs to account for it.  In my case, the check
would be:

   -s 'Jonathan Angliss



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



--
ea926p

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


Re: [Nagios-users] check_nrpe, check_ssh, snmp

2009-06-15 Thread Mat W

My "production nagios server" is within my production datacenter.  Since it is 
inside the security perimeter of our deployment, I use NRPE over SSL with only 
the servers local "nrpe.cfg" file with "allowed_hosts" configured for only the 
internal nagios server.

-- 
Mat W. - lmw94...@hotmail.com



 


Date: Mon, 15 Jun 2009 16:41:22 +0200
From: jerome.me...@baldata.ch
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_nrpe, check_ssh, snmp





Hi
 
For the control of the servers I used in nagios(test) the command check_nrpe 
and that running well…. So, now for the nagios(productive), I’m thinking which 
is the best solutions: check_nrpe, check_ssh or SNMP? 
Someone says that for security ground we should only use SNMP?
 
Which should I use? What does the expert advise me?
 
 
Best regards
jerome
_
Windows Live™: Keep your life in sync. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] check_nrpe, check_ssh, snmp

2009-06-15 Thread Meyer Jerome
Hi

 

For the control of the servers I used in nagios(test) the command
check_nrpe and that running well So, now for the nagios(productive),
I'm thinking which is the best solutions: check_nrpe, check_ssh or SNMP?


Someone says that for security ground we should only use SNMP?

 

Which should I use? What does the expert advise me?

 

 

Best regards

jerome

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

Re: [Nagios-users] Nagios Reboot Notification

2009-06-15 Thread Mat W

One way to check on a system reboot I've used before is with NagEventLog.  We 
use NagEventLog to look for certain errors posted to the system/app eventlogs.  
Note these are "passive" checks so how soon you get notified will depend on the 
configuration of said passive checks as well as Nagios config. NagEventLog is 
reasonably configurable to filter our or only look for specific events such as 
an "unexpected shutdown".

-- 
Mat W.

http://www.techadre.com



 


Date: Thu, 11 Jun 2009 16:29:40 -0700
From: teckad...@gmail.com
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios Reboot Notification


Marc,
 
I don't think this will work for me ...reason being Nagios will do its check, 
lets say every minute.  If the server reboots unexpectedly and comes up in 
between that check period, Nagios will never see the reboot.  I could be wrong, 
but is that not accurate?
 
Other application will notify you as soon as the server shuts down or reboots.  
Is this because its being monitored differently or different checks are being 
executed.  As a Nagios newb, it seems that Nagios has cycles of running checks 
that the user defines. 
 
But I would like to try you suggestion.  Will I simply add the define command 
in the commands.cfg config file and then reference that with the check_command 
in the hosts.cfg file?
 
 
Thanks,
 
Kevin M.
_
Insert movie times and more without leaving Hotmail®. 
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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

2009-06-15 Thread Sascha . Runschke
"Kaplan, Andrew H."  schrieb am 10.06.2009 
19:49:04:

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

You configured nagvis to use the ndo with the name "default",
or to be more exact - it is the default setting.
The database you named in the nagvis.ini does not contain
any ndo instance with the name "default".

There's 2 reasons:

1. You did not install ndo at all
2. You configured ndo to use an instance name other then "default"

The solution should be obvious.

Regards
Sascha



GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522

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

[Nagios-users] Allow Users to schedule downtimes

2009-06-15 Thread Simon Kainz
Hi list!

I'm currently working on the following problem:

My Nagios server is not user-accessible (nice and secure behind several
firewalls :-)) I want to grant some selected users rights to schedule
downtime (eg. network department changing fibre links, they know when
this will happen, so _they_ should be able to schedule a downtime, not
me ;-) ). So I thought about a setup where my Nagios server pulls this
scheduled downtimes from another server. Is there already something
which could help me in setting this up ? Or do you have another
suggestions ?

Regards,
-- 
DI Simon Kainz
Graz, University of Technology
Department Computing
Phone: ++43 (0) 316 / 873 6885



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

Re: [Nagios-users] Export RRD Data to CSV file

2009-06-15 Thread Michael Friedrich

apt-get install librrds-perl

vim exportrrd2csv.pl

#!/usr/bin/perl

use RRDs;
user warnings;
use strict;

my $fstart = time - 3600;
my ($start,$step,$names,$rrddata) = RRDs::fetch($file, 
"--start=$fstart", "AVERAGE");

my $ERR=RRDs::error;

open CSV, ">rrd.csv";

foreach my $line(@rrdata) {

   //do sth with data array

   print CSV "$line[0],$line[1]\n";
}

close CSV;

--

use it as a sample code and configure your params for RRDs::fetch

hope that helps.

Kind regards,
Michael

Mohandas K wrote the following on 15.06.2009 10:12:


Hi,

I am using RRDTOOL 1.2 to create graphs for memory utilization, CPU 
utilization etc. Now using this RRD data I need to create CSV file. So 
can anyone tell me how can I export these RRD data to CSV file. Any 
kind of help would be really appreciable.


Thanks & Regards,
Mohandas Kudva K
Mailto: mohanda...@tcs.com
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



  



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

http://p.sf.net/sfu/businessobjects


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


--
DI (FH) Michael Friedrich
michael.friedr...@univie.ac.at
Tel: +43 1 4277 14359

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

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

[Nagios-users] Export RRD Data to CSV file

2009-06-15 Thread Mohandas K
Hi,

I am using RRDTOOL 1.2 to create graphs for memory utilization, CPU 
utilization etc. Now using this RRD data I need to create CSV file. So can 
anyone tell me how can I export these RRD data to CSV file. Any kind of 
help would be really appreciable. 

Thanks & Regards,
Mohandas Kudva K
Mailto: mohanda...@tcs.com
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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