Re: [Nagios-users] Acknowledgement notifications, getting details

2010-03-11 Thread Marcel
there is the notify-service-bby-email command, you should try:

# 'notify-service-by-email' command definition
define command{
command_namenotify-service-by-email
command_line/usr/bin/printf "%b" "* Nagios
*\n\nNotification
 Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
$HOSTALIAS$\nAddress:
 $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional
 Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$\n\n$USER10$?host=$HOSTNAME$\n\n$S
ERVICEACKCOMMENT$\n$SERVICEACKAUTHORALIAS$" | /bin/mail -s "**
$NOTIFICATIONTYPE
$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **"
$CONTACTEMAIL$
}


On Thu, Mar 11, 2010 at 3:28 PM, Rob Tanner  wrote:

>  Hi,
>
> When an acknowledgement notification gets sent, it includes the hostname,
> the state and the IP address, and that’s all.  I would also like to see the
> time and date, the name of the tech that acknowledged the problem, and the
> text of his or her comment.  I presume the command I need to modify is
> notify-by-email in misccommand.cfg, but the command line includes
> “Date/Time: $LONGDATETIME$” while all I see in the actual email message is
> “Date/Time: $”.
>
> Any idea what’s going on?
>
> Thanks,
> Rob
>
>
>
> *Rob Tanner
> *UNIX Services Manager
> Linfield College, McMinnville Oregon
>
>
>
> --
> 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] Acknowledgement notifications, getting details

2010-03-11 Thread Marcel
Ops, my USER10 macro is to place a link for the service in question.

On Thu, Mar 11, 2010 at 5:06 PM, Marcel  wrote:

> there is the notify-service-bby-email command, you should try:
>
> # 'notify-service-by-email' command definition
> define command{
> command_namenotify-service-by-email
> command_line/usr/bin/printf "%b" "* Nagios
> *\n\nNotification
>  Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
> $HOSTALIAS$\nAddress:
>  $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
> $LONGDATETIME$\n\nAdditional
>
>  
> Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$\n\n$USER10$?host=$HOSTNAME$\n\n$S
> ERVICEACKCOMMENT$\n$SERVICEACKAUTHORALIAS$" | /bin/mail -s "**
> $NOTIFICATIONTYPE
> $ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **"
> $CONTACTEMAIL$
> }
>
>
> On Thu, Mar 11, 2010 at 3:28 PM, Rob Tanner  wrote:
>
>>  Hi,
>>
>> When an acknowledgement notification gets sent, it includes the hostname,
>> the state and the IP address, and that’s all.  I would also like to see the
>> time and date, the name of the tech that acknowledged the problem, and the
>> text of his or her comment.  I presume the command I need to modify is
>> notify-by-email in misccommand.cfg, but the command line includes
>> “Date/Time: $LONGDATETIME$” while all I see in the actual email message is
>> “Date/Time: $”.
>>
>> Any idea what’s going on?
>>
>> Thanks,
>> Rob
>>
>>
>>
>> *Rob Tanner
>> *UNIX Services Manager
>> Linfield College, McMinnville Oregon
>>
>>
>>
>> --
>> 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] Python module for talking to nsca

2010-03-12 Thread Marcel
in the source code?

On Thu, Mar 11, 2010 at 6:32 PM, Jelle Smet  wrote:

> Hi list,
>
> Anyone knows how to connect to nsca from python?
> I've understood it's not that difficult to do so, but if there's a module
> made for it, It saves the trouble.
>
> If not, where can I find the nsca specifications to write a module myself?
>
> Thanks,
>
> --
> Jelle Smet
> http://www.smetj.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] Accessing Nagios for the first time

2010-03-12 Thread Marcel
have you restarted httpd?

On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson  wrote:

> Any other ideas?
>
>
> On Thu, Mar 11, 2010 at 12:44 PM, Tim Tompson wrote:
>
>> Apache is working: "Apache is functioning normally"
>>
>> Yes, I have a few other sites on this box, all functioning properly.
>>
>> When I navigate to myserverip/nagios I get a 404 Not Found.
>>
>> :(
>>
>>
>> On Thu, Mar 11, 2010 at 4:40 AM, Aidan Anderson > > wrote:
>>
>>> Tim Tompson wrote:
>>> > My nagios.conf:
>>> >
>>> > ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF
>>> >
>>> > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
>>> >
>>> > 
>>> >
>>> >
>>> >Options ExecCGI
>>> >
>>> >AllowOverride None
>>> >
>>> >Order allow,deny
>>> >
>>> >Allow from all
>>> >
>>> >AuthType Digest
>>> >
>>> >AuthName "Nagios Access"
>>> >
>>> >AuthUserFile /usr/local/nagios/etc/.digest_pw
>>> >
>>> >
>>> >Require valid-user
>>> >
>>> > 
>>> >
>>> >
>>> >
>>> > Alias /nagios "/usr/local/nagios/share"
>>> >
>>> > 
>>> >
>>> >Options None
>>> >
>>> >AllowOverride None
>>> >
>>> >
>>> >Order allow,deny
>>> >
>>> >Allow from all
>>> >
>>> >AuthType Digest
>>> >
>>> >AuthName "Nagios Access"
>>> >
>>> >AuthUserFile /usr/local/nagios/etc/.digest_pw
>>> >
>>> >Require valid-user
>>> >
>>> > 
>>> >
>>> >
>>> > ## END APACHE CONFIG SNIPPETS
>>> >
>>> > I followed the instructions at:
>>> > http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure
>>> > my install, and thats where I got the above .conf file.
>>> >
>>> > Its set to "Allow from all", shouldn't that work?
>>> >
>>>
>>> It should and so should connecting to serveripaddress/nagios.  It looks
>>> like Apache is your issue. Is it running?  Are there other web sites
>>> running on the same box?  Are they working?
>>>
>>> Aidan
>>>
>>>
>>>
>>> --
>>> 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] Accessing Nagios for the first time

2010-03-15 Thread Marcel
404 means that either you don't have the nagios.conf sourced in httpd.conf
or you haven't restarted httpd, don't see any other choice here.

On Sun, Mar 14, 2010 at 4:36 PM, Tim Tompson  wrote:

> Yes, I restarted during the installation process.
>
> Any other ideas?  Thanks!
>
>
> On Fri, Mar 12, 2010 at 6:12 PM, Marcel  wrote:
>
>> have you restarted httpd?
>>
>> On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson wrote:
>>
>>> Any other ideas?
>>>
>>>
>>> On Thu, Mar 11, 2010 at 12:44 PM, Tim Tompson wrote:
>>>
>>>> Apache is working: "Apache is functioning normally"
>>>>
>>>> Yes, I have a few other sites on this box, all functioning properly.
>>>>
>>>> When I navigate to myserverip/nagios I get a 404 Not Found.
>>>>
>>>> :(
>>>>
>>>>
>>>> On Thu, Mar 11, 2010 at 4:40 AM, Aidan Anderson <
>>>> m...@aidananderson.co.uk> wrote:
>>>>
>>>>> Tim Tompson wrote:
>>>>> > My nagios.conf:
>>>>> >
>>>>> > ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF
>>>>> >
>>>>> > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
>>>>> >
>>>>> > 
>>>>> >
>>>>> >
>>>>> >Options ExecCGI
>>>>> >
>>>>> >AllowOverride None
>>>>> >
>>>>> >Order allow,deny
>>>>> >
>>>>> >Allow from all
>>>>> >
>>>>> >AuthType Digest
>>>>> >
>>>>> >AuthName "Nagios Access"
>>>>> >
>>>>> >AuthUserFile /usr/local/nagios/etc/.digest_pw
>>>>> >
>>>>> >
>>>>> >Require valid-user
>>>>> >
>>>>> > 
>>>>> >
>>>>> >
>>>>> >
>>>>> > Alias /nagios "/usr/local/nagios/share"
>>>>> >
>>>>> > 
>>>>> >
>>>>> >Options None
>>>>> >
>>>>> >AllowOverride None
>>>>> >
>>>>> >
>>>>> >Order allow,deny
>>>>> >
>>>>> >Allow from all
>>>>> >
>>>>> >AuthType Digest
>>>>> >
>>>>> >AuthName "Nagios Access"
>>>>> >
>>>>> >AuthUserFile /usr/local/nagios/etc/.digest_pw
>>>>> >
>>>>> >Require valid-user
>>>>> >
>>>>> > 
>>>>> >
>>>>> >
>>>>> > ## END APACHE CONFIG SNIPPETS
>>>>> >
>>>>> > I followed the instructions at:
>>>>> > http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure
>>>>> > my install, and thats where I got the above .conf file.
>>>>> >
>>>>> > Its set to "Allow from all", shouldn't that work?
>>>>> >
>>>>>
>>>>> It should and so should connecting to serveripaddress/nagios.  It looks
>>>>> like Apache is your issue. Is it running?  Are there other web sites
>>>>> running on the same box?  Are they working?
>>>>>
>>>>> Aidan
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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] Two IP for the Same server

2010-03-16 Thread Marcel
Well,

This could be completely out of line, but what if custom macros and a custom
host check was baked for this kind of situation?

He could associate a custom macro and a custom host check that uses that
custom macro to try to achieve what he wants.

Any ideas?

On Mon, Mar 15, 2010 at 8:49 PM,  wrote:

> On Sat, 13 Mar 2010, Digital Edge wrote:
>
> >
> >
> > > From: perld...@webwizarddesign.com
> > > Date: Fri, 12 Mar 2010 13:15:46 -0500
> > > To: nagios-users@lists.sourceforge.net
> > > Subject: Re: [Nagios-users] Two IP for the Same server
> > >
> > > On Fri, Mar 12, 2010 at 11:52 AM, Digital Edge 
> wrote:
> > > > Dear List,
> > > >
> > > > I have a server , which is having 2 NIC with IP assign. I wanted to
> add in
> > > > nagios those two IP with same hostname & relevant service checks.
> > > >
> > > > Will it be possible.
> > >
> > > Not with a single host definition; however this can be modeled with 3
> > > host definitions:
> > > * One virtual parent host object that has as a host check ping checks
> > > for both IPs
> > > * One virtual host object that represents NIC1 on the host
> > > * One virtual host object that represents NIC2 on the host
> > >
> > > Parent --> A - NIC 1
> > > |
> > > |---> B - NIC 2
> > >
> > > The two hosts representing the NICs would have the parent host as
> > > their parent so that if the ping checks fail for the two hosts you
> > > only get notified that the parent host object is down.
> > >
> >
> >
> > What I mean to say that ,
> >
> > define host{
> > use generic-servers
> > host_name   Example1
> > alias   Example1 - Used for Cookie
> > address 192.168.1.100
> > address1 192.168.1.101
> > }
> >
> > Is anyway it possible to add multiple address field in the host
> definition, if the same server having more than one IP address.
>
> To quote the original reply:
>
> > > Not with a single host definition
>
>
> --
> 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] Performance

2010-03-16 Thread Marcel
well, SNMP is a proper Nagios client.

With rocommunity and firewall rules, security isn't a big deal.

I'm using SNMP to actively issue checks when passive transport get stalled.
It tries to send the passive result, expecting good return code from
send_nsca (and could check for cron, try to determine if server is
thrashing, and so on), or, sends back to snmpget the result.

Cheers,
Marcel

On Tue, Mar 16, 2010 at 3:56 AM, Giorgio Zarrelli  wrote:

> Hi,
>
> If you just want to check if a host is alive, icmp is the protocol
> that's always been used for this purpose.
>
> I use snmp mostly for appliances, eg. Routers, firewall and switches,
> wherr I can't install a proper Nagios client to rely on.
>
> Ciao,
>
> Giorgio
>
> Il giorno 15/mar/2010, alle ore 23.02, Eduardo Barreto
>  ha scritto:
>
> > Hi All, Could anybody tell me what's better, checking hosts through
> > icmp protocol or snmp? What are the risks or may set the network at
> > all on a poor status?
> >
> > Cheers
> >
> > Eduardo Barreto
> > ---
> > ---
> > ---
> > -
> > 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] nagios alert

2010-03-19 Thread Marcel
at least it's not a question about notifications *not* being sent.

what do you mean about nagios sending alerts very often? Isn't that why you
setup it for?

On Fri, Mar 19, 2010 at 12:09 PM, Rutul Patel wrote:

> Hi,
>
> I need to configure nagios such a way that it sends alert when host is down
> and when host is up,
> Currently nagios is sending alert very often.
>
> Please advice,
>
> Thanks,
> Rutul
>
> --
> 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] Setup Nagios on an HP-UX Server

2010-04-08 Thread Marcel
If you don't want to read the manual, trying to do it yourself first, the
come here with your doubts and problems faced, then you could pay anyone to
do this for you...

On Thu, Apr 8, 2010 at 5:02 PM, Bertino, Paul <
paul_bert...@cable.comcast.com> wrote:

>   I had hoped someone could give me some direction here. I would
> appreciate any help in this matter!
>
>
>
> Thanks,
>
>
>
> *Paul Bertino*
>
> *Senior Administrator*
>
> *System Support Group*
>
> Comcast Cable Communications, Inc.
>
> MS 22044
>
> 1354 Boot Road
>
> West Chester, PA. 19380
>
> 215-286-2225
>
> *From:* Bertino, Paul [mailto:paul_bert...@cable.comcast.com]
> *Sent:* Wednesday, April 07, 2010 12:32 PM
> *To:* nagios-users@lists.sourceforge.net
> *Subject:* Re: [Nagios-users] Setup Nagios on an HP-UX Server
>
>
>
> Hello,
>
>
>
> > First I am inexperienced with setting up monitoring. I think what I
>
> > would like to do is
>
> > have Nagios and the net-snmp reside on the same server to monitor it
>
> > resources on the HP-UX server.
>
> > I hope this explains it.
>
> I am trying to setup net-snmp with Nagios on an HP-UX with Unix OS
>
> > version 11.23. Could you
>
> >
>
> > point me in the right direction to get this information or do you have
>
> > any on the site? I would
>
> >
>
> > appreciate any assistance on this.
>
> Thanks,
>
>
>
> *Paul J. Bertino*
>
> Platforms, I&O, NE&TO
>
> Senior Systems Admin
>
> Comcast Cable Communications, Inc.
>
> 1354 Boot Road
>
> MS 22044
>
> West Chester, PA. 19380
>
> 610-732-2225
>
>
>
>
>
>
> --
> 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] Nagios Monitoring with out NRPE

2010-04-09 Thread Marcel
/usr/local/nagios/libexec/check_http --help

On Fri, Apr 9, 2010 at 4:32 PM, akp geek  wrote:

> Hi all -
>
> Would it be possible to monitor a website, whether the web site is up or
> not using nagios. I have nagios sset up to monitor the  databases
>
> Appreciate your help
>
> Regards
>
>
> --
> 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] Fw: nagios web only show 400 node?

2010-04-13 Thread Marcel
On Mon, Apr 12, 2010 at 11:38 PM, wwanghongrui wrote:

>  >- You haven't reloaded or restarted nagios since adding them
>
> I exectue "/etc/init.d/nagios reload" every time after edit something.
>
>
> >
>  The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in 
> a cfg_dir in nagios.cfg). (run /path/to/nagios ->v /path/to/nagios.cfg and 
> see if the numbers presented are reasonable).
>
>
> BL680-127:~ # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>  Nagios Core 3.2.0
> Copyright (c) 2009 Nagios Core Development Team and Community Contributors
> Copyright (c) 1999-2009 Ethan Galstad
> Last Modified: 08-12-2009
> License: GPL
>  Website: http://www.nagios.org
> Reading configuration data...
>Read main config file okay...
> Processing object config file '/usr/local/nagios/etc/hosts.cfg'...
> Processing object config file '/usr/local/nagios/etc/services.cfg'...
> Processing object config file '/usr/local/nagios/etc/misccommands.cfg'...
> Processing object config file '/usr/local/nagios/etc/checkcommands.cfg'...
> Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
> Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
> Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
> Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
> Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
> Processing object config file '/usr/local/nagios/etc/escalations.cfg'...
> Processing object config file '/usr/local/nagios/etc/dependencies.cfg'...
> Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
> Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
> Processing object config file '/usr/local/nagios/etc/meta_commands.cfg'...
>
> Processing object config file '/usr/local/nagios/etc/meta_contactgroup.cfg'...
> Processing object config file '/usr/local/nagios/etc/meta_contact.cfg'...
>
> Processing object config file '/usr/local/nagios/etc/meta_dependencies.cfg'...
>
> Processing object config file '/usr/local/nagios/etc/meta_escalations.cfg'...
> Processing object config file '/usr/local/nagios/etc/meta_hostgroup.cfg'...
> Processing object config file '/usr/local/nagios/etc/meta_host.cfg'...
> Processing object config file '/usr/local/nagios/etc/meta_services.cfg'...
>
> Processing object config file '/usr/local/nagios/etc/meta_timeperiod.cfg'...
>Read object config files okay...
>  Running pre-flight check on configuration data...
>  Checking services...
> Checked 2794 services.
> Checking hosts...
> Warning: Host 'Centreon-Server' has no services associated with it!
> Warning: Host 'localhost' has no services associated with it!
> Checked 430 hosts.
> Checking host groups...
> Checked 5 host groups.
> Checking service groups...
> Checked 4 service groups.
> Checking contacts...
> Checked 10 contacts.
> Checking contact groups...
> Checked 4 contact groups.
> Checking service escalations...
> Checked 0 service escalations.
> Checking service dependencies...
> Checked 0 service dependencies.
> Checking host escalations...
> Checked 0 host escalations.
> Checking host dependencies...
> Checked 0 host dependencies.
> Checking commands...
> Checked 103 commands.
> Checking time periods...
> Checked 7 time periods.
> Checking for circular paths between hosts...
> Checking for circular host and service dependencies...
> Checking global event handlers...
> Checking obsessive compulsive processor commands...
> Checking misc settings...
>  Total Warnings: 2
> Total Errors:   0
>
>
>
> >- If you have authentication enabled, the user you log in as is not a 
> >contact for the hosts in question.
> I log in as nagios admin. I think that user have privilage to see any
> hosts.
>
>
> >-You have multiple nagios daemons running at the same time and there is 
> >contention over the status file.
>
>  BL680-127:~ # service nagios status
> nagios (pid 18513) is running...
>  BL680-127:~ # ps -ef |grep nagios.cfg
>
> nagios   13648 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
> -d /usr/local/nagios/etc/nagios.cfg
>
> nagios   13658 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
> -d /usr/local/nagios/etc/nagios.cfg
>
> nagios   13662 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
> -d /usr/local/nagios/etc/nagios.cfg
>
> nagios   13666 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
> -d /usr/local/nagios/etc/nagios.cfg
>
> nagios   13689 18513  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
> -d /usr/local/nagios/etc/nagios.cfg
> root 13707  3121  0 10:28 pts/000:00:00 grep nagios.cfg
>
> nagios   18513 1  2 Apr12 ?00:24:40 /usr/local/nagios/bin/nagios 
> -d /usr/local/nagios/etc/nagios.cfg
>  BL680-127:~ # ps -ef |grep nagios.cfg
>
> nagios   14090 1  0 10:28 ?

Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1

2010-04-20 Thread Marcel
from the docs, $SERVICEOUTPUT$ just prints the first output line. If by any
chance your plugin is outputting "\n$SERVICEOUTPUT$\n" the all you'll get
would be a blank line.

However, you can try using $LONGSERVICEOUTPUT$, as it prints everything from
plugins' output.

On Tue, Apr 20, 2010 at 2:43 PM, Peter Kranz  wrote:

> Confirmed:
>
> >service_notification_commands   notify-by-email
>
> Apparently some reported similar issues in the past under the 2.0 chain..
>
> > http://osdir.com/ml/network.nagios.devel/2005-11/msg4.html
>
> -Peter
>
> -Original Message-
> From: Marc Powell [mailto:li...@xodus.org]
> Sent: Tuesday, April 20, 2010 4:34 AM
> To: Nagios Users List
> Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios
> 3.2.1
>
>
> On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote:
>
> > It's the default that comes with the .tar:
> >
> > # 'notify-by-email' command definition define command{
> >command_namenotify-by-email
> >command_line/usr/bin/printf "%b" "* Nagios
> > *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
> > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
> > $SERVICESTATE$\n\nDate/Time:$LONGDATETIME$\n\nAdditional
> > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$
> > alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
> >}
>
> Make sure the contact is using 'notify-by-email' as their service
> notification command. There have been no reports of this as a bug so I'd
> greatly lean toward it being a configuration issue.
>
> --
> 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 mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_snmp Not Compiling

2010-04-22 Thread Marcel
make sure you have:

yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP



On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe  wrote:

> Hi all!  I am trying to get the check_snmp code to compile, but for some
> reason it does not want to compile when I go to build the modules from the
> Nagios-plugins tarball.  Running CentOS 5.4 64 bit, latest Nagios release.
>
> .
> .
> .
> .
> .
> .
> .
> .
> *** Message Virus Free.  Email scanned by I-FILTER ***
> Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com
> .
>
>
>
>
>
>
> --
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_snmp Not Compiling

2010-04-22 Thread Marcel
glad to be of any help

On Thu, Apr 22, 2010 at 4:39 PM, Robert Wolfe  wrote:

>  Thanks!  Was missing all of these.  Ran this command and everything is
> set now!  Thanks again!
>
>
>
> *From:* Marcel [mailto:mits...@gmail.com]
> *Sent:* Thursday, April 22, 2010 2:15 PM
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] check_snmp Not Compiling
>
>
>
> make sure you have:
>
> yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP
>
>
>  On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe 
> wrote:
>
> Hi all!  I am trying to get the check_snmp code to compile, but for some
> reason it does not want to compile when I go to build the modules from the
> Nagios-plugins tarball.  Running CentOS 5.4 64 bit, latest Nagios release.
>
> .
> .
> .
> .
> .
> .
> .
> .
> *** Message Virus Free.  Email scanned by I-FILTER ***
> Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com
> .
>
>
>
>
>
>
> --
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
>
> --
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Host unreachable what's nagios do.

2010-04-22 Thread Marcel
(assuming nagios 3.x series) please read this:
http://nagios.sourceforge.net/docs/3_0/toc.html

On Thu, Apr 22, 2010 at 5:14 PM, Albert Shih  wrote:

> Hi all.
>
> I would like to known what nagios with the child host when a parent is
> unreachable.
>
> Does he continu to check something ? For example trying to known when a
> child return to normal.
>
> Regards.
>
> JAS
> --
> Albert SHIH
> SIO batiment 15
> Observatoire de Paris Meudon
> 5 Place Jules Janssen
> 92195 Meudon Cedex
> Téléphone : 01 45 07 76 26/06 86 69 95 71
> Heure local/Local time:
> Jeu 22 avr 2010 22:12:23 CEST
>
>
> --
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Next Scheduled Check is N/A or set in the past.

2010-04-23 Thread Marcel
Look if you have more than one nagios process running.

/etc/init.d/nagios stop; ps -fu nagios

If after nagios stop you still have nagios processes, then killall nagios.

then fresh start and see if scheduling is ok.

if not the you have clock/timezone problems, or something alien..


On Fri, Apr 23, 2010 at 3:04 PM, Noel R. Morais  wrote:

> Hi Guys,
>
> Im using Nagios 3.2.1 and it isn´t checking my services. When nagios
> starts the "Next Scheduled Check" is N/A. If I force a check, it
> checks and sets the "Next Scheduled Check" in the past.
>
> did someone have this problem?
>
> Thanks,
>
> --
> Noel Rocha
> http://blog.noelrocha.com.br
>
>
> --
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] how to restart httpd service on remote server

2010-05-03 Thread Marcel
cfengine, mon, rmon, cron, watchdogs in general, daemontools, and many many
many many others...

On Mon, May 3, 2010 at 2:06 PM, Max  wrote:

> As can puppet, Chef, Monit, Net-SNMP, and many others :) .. always a
> balance with deciding where process restarts should happen - the
> larger the network, the more benefit there is to having autonomous
> agents handle restarts and have Nagios focus purely on polling /
> asynchronous event handling.
>
>
> --
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] nagios newbie looking for guidance

2010-05-10 Thread Marcel
On Mon, May 10, 2010 at 7:29 PM, Ari Echt  wrote:

> Nagios newbie here looking to setup monitoring for 4 servers. Any
> helpful guides out there that anyone recommends would be greatly
> appreciated.
>

http://nagios.sourceforge.net/docs/3_0/ -- Assuming you're using the 3.X
branch.

have fun!
--

___
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] 2 nagios

2010-05-11 Thread Marcel
Yeah, read about Distributed/Redundant setup and the OCSP/OCHP command
definitions. There you'll find your answer!

Happy monitoring!

On Tue, May 11, 2010 at 3:01 PM, Leonardo Carneiro - Veltrac <
lscarne...@veltrac.com.br> wrote:

> Hi everyone,
>
> I have two datacenters. One of then is already being monitored by
> nagios, and i'll start the install in the second one this week. Is it
> possible to get then both talking to each other so i can access all data
> through a single web interface? Tks in advance.
> --
> Leonardo Carneiro
>
>
> --
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--

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

Re: [Nagios-users] Problems with distributed monitoring

2010-05-14 Thread Marcel
With only 150 services, it should not delay that much nor stops execution of
the main process.
Please check you main nagios.cfg file and look for *command_check_interval*,
if the value attributed to that variable isn't *"-1"* then there is your
problem.

Also, which nagios version are you running?


On Fri, May 14, 2010 at 2:28 PM, Trisha Hoang  wrote:

> Hi Sergio,
> Some of the directives I found helpful for our MASTER server are listed
> below.
>
> Since status.dat and nagios.cmd are disk bound, put them on ramdisk will be
> faster.
> status_file=/mnt/ramdisk/status.dat
> command_file=/mnt/ramdisk/nagios.cmd
>
> I don't think aggressive_host_checking is needed as nagios checks for host
> when a service is in error anyway.
> use_aggressive_host_checking=0
> check_host_freshness=0
>
> Service freshness is important as the MASTER tends to process passive
> checks much slower so the services may go stale. However, since our checks
> are 5 min interval, having the MASTER wait for the next round of check is
> fine.
> check_service_freshness=1
> service_freshness_check_interval=420
>
> We use nagios-3.2.1 and I think these directives are still experimental but
> they seem to help. You will see defunct nagios processes that come and go. I
> think it's caused by child forked once instead of twice so one gets killed
> (my theory), but again, it seems to be running ok.
> use_large_installation_tweaks=0
> child_processes_fork_twice=0
>
> Our MASTER receives ~7000 passive checks from the SLAVE but it could only
> process max ~5000 passive checks per 5 min. The latency is about <10 secs.
> For the rest, the MASTER actively checks them. If you or someone knows a way
> to improve passive check processing, that will be great.
>
> Also, in our setup, we don't use NSCA. The slaves have
> ocsp_command=send_service_check where this command inserts the checks into a
> file that gets sent every 5 sec to the master. On the master, there's a
> script that opens this file and inserts the lines directly into the
> nagios.cmd pipe every 5 sec.
>
> Trisha
>
>
>
> --
>
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--

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

Re: [Nagios-users] Problems with distributed monitoring

2010-05-14 Thread Marcel
Make sure you understand the underlying design of distributed nagios setup.
Obssessive-Compulsive (ocsp) command need to be correctly configurated on
nagios slave.

2010/5/14 Sérgio Afonso 

> Hello Marcel,
>
> My nagios version is 3.2.0.  About my command_check_interval I
> couldn't understand very well what you mean. My command_check_interval
> is set to -1
>
> Rgs,
>
> Sérgio.
>
> On Fri, May 14, 2010 at 1:50 PM, Marcel  wrote:
> > With only 150 services, it should not delay that much nor stops execution
> of
> > the main process.
> > Please check you main nagios.cfg file and look for
> command_check_interval,
> > if the value attributed to that variable isn't "-1" then there is your
> > problem.
> >
> > Also, which nagios version are you running?
> >
> >
> > On Fri, May 14, 2010 at 2:28 PM, Trisha Hoang 
> wrote:
> >>
> >> Hi Sergio,
> >> Some of the directives I found helpful for our MASTER server are listed
> >> below.
> >>
> >> Since status.dat and nagios.cmd are disk bound, put them on ramdisk will
> >> be faster.
> >> status_file=/mnt/ramdisk/status.dat
> >> command_file=/mnt/ramdisk/nagios.cmd
> >>
> >> I don't think aggressive_host_checking is needed as nagios checks for
> host
> >> when a service is in error anyway.
> >> use_aggressive_host_checking=0
> >> check_host_freshness=0
> >>
> >> Service freshness is important as the MASTER tends to process passive
> >> checks much slower so the services may go stale. However, since our
> checks
> >> are 5 min interval, having the MASTER wait for the next round of check
> is
> >> fine.
> >> check_service_freshness=1
> >> service_freshness_check_interval=420
> >>
> >> We use nagios-3.2.1 and I think these directives are still experimental
> >> but they seem to help. You will see defunct nagios processes that come
> and
> >> go. I think it's caused by child forked once instead of twice so one
> gets
> >> killed (my theory), but again, it seems to be running ok.
> >> use_large_installation_tweaks=0
> >> child_processes_fork_twice=0
> >>
> >> Our MASTER receives ~7000 passive checks from the SLAVE but it could
> only
> >> process max ~5000 passive checks per 5 min. The latency is about <10
> secs.
> >> For the rest, the MASTER actively checks them. If you or someone knows a
> way
> >> to improve passive check processing, that will be great.
> >>
> >> Also, in our setup, we don't use NSCA. The slaves have
> >> ocsp_command=send_service_check where this command inserts the checks
> into a
> >> file that gets sent every 5 sec to the master. On the master, there's a
> >> script that opens this file and inserts the lines directly into the
> >> nagios.cmd pipe every 5 sec.
> >>
> >> Trisha
> >>
> >>
> >>
> >>
> --
> >>
> >>
> >> ___
> >> Nagios-users mailing list
> >> Nagios-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/nagios-users
> >> ::: Please include Nagios version, plugin version (-v) and OS when
> >> reporting any issue.
> >> ::: Messages without supporting info will risk being sent to /dev/null
> >
> >
> >
> --
> >
> >
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting
> > any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
>
> --
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--

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

[Nagios-users] Full Throttle Nagios

2010-05-18 Thread Marcel
Hi list,

Several times I'm asked about Nagios latency when the number of services go
over a certain number.

Is there any tweak to have nagios scale checkings more than it would after
tweaking every configuration option for boosting performance?

It seems that nagios don't do the best job at taking the hardware to its
real limits.

When I have more than, say, 10k checks, I start seen check latency rises and
there just isn't anything that could be done, even distributed monitoring
have the nagios.cmd write-lock bottleneck.

I'm asking if there is by design that nagios don't thrases the server when
the number of checks reaches certain limits.

Any thoughts would be appreciated.

Thank you
--

___
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] Full Throttle Nagios

2010-05-18 Thread Marcel
Again, thank you for all the quick answers. This list/community is
awesome!!!

I'm already using tmpfs, increased named pipe buffer size, did everything
that one is supposed to do in order to increase performance.

I think I'd go with removing sleep calls in the code. I'm at version 3.2.1
and would love to have a look at Max's patch!

Notification is not my bottleneck, and this is not for my own nagios
install, it's for someone else, so I cannot post nagios.cfg here. Sorry.

But again, thanks for all the answers!!!

On Tue, May 18, 2010 at 5:49 PM, Mike Lindsey wrote:

> Marcel wrote:
> > When I have more than, say, 10k checks, I start seen check latency rises
> > and there just isn't anything that could be done, even distributed
> > monitoring have the nagios.cmd write-lock bottleneck.
>
> So, I've just gone through this, and the single greatest bottleneck I
> had to deal with is notifications.  But, I have a lot of people in the
> notification tree, and pull in a lot of meta-data to make ticket
> tracking and issue resolution easier and faster.  Since Nagios needs to
> know the exit status of notification commands, it doesn't fork before
> notifications.. it just plods along waiting for the notification command
> to exit.
>
> I switched all our non-pager notification commands to drop a spool file
> in a directory, letting another process read the spool files, generate
> email contents, query ticket databases, pull in documentation or
> extended testing information (full mysql processlist output, for dbas..
> etc) and caching it for subsequent notifications for that event.
>
> That showed a HUGE improvement to my master server's performance.
>
> If notifications aren't your bottleneck, you can move all your temporary
> files to ramdisk.
>
> You can also increase your FIFO pipe size, but that only delays the
> issue and doesn't really solve the problem if you're always running hot.
>  It also probably involves recompiling your kernel.
>
> If you're using nsca, you can cache your updates for a second or two, so
> that multiple updates happen in the same socket connection.
>
> Alternately (or additionally) you can have nsca update the checkresults
> directory, directly, skipping the steps where nagios reads the command
> pipe, and then just writes it back out to the checkresults directory.
>
> I can package up a patch (against 2.7.2) of those last couple changes (I
> need to submit them, anyway).  If you're manlier than I might be, you
> could also consider modifying the core nagios to allow submissions from
> distributed nagios servers, directly to a socket, but doing that right
> might require serious threaded c foo, and depending on your OS and
> threading library, you might be locked to a single core.
>
> So, you have options.  They're not all equal, and aren't all easy.  But
> you wouldn't be working with monitoring if you didn't like challenges...
>  :)
>
> --
> Mike Lindsey
>
>
> --
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--

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

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Marcel
Perhaps if you're upgrading and haven't touched the resources.cfg, then you
could be having issues with $USER1$ defined for your previous installation.

On Wed, May 19, 2010 at 3:09 PM, Michael Maxwell wrote:

>
> > P.S.  My apologies if I seem snippy.  It's a bad day.  If you provide
> > the info, I promise a speedy, polite response.  :)
>
> No thanks.  I'll use an earlier version.  I'm not exactly having a great
> day
> either.  A little civility would get a better response from me as I've been
> nothing but civil and have gone out of my way to provide copious amounts of
> information.  And no, I did NOT "blow anyone off" - at least until now.
> Sorry if it sounded that way.
>
> 
>
>
>
>
> --
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--

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

Re: [Nagios-users] Nagios for iPhone

2010-07-14 Thread Marcel
I use the statuswml.cgi and it works like a charm.

Ah, and I use it as part of the NAGROID, that I looove!!!

On Wed, Jul 14, 2010 at 12:31 PM, Giorgio Zarrelli wrote:

> Hi,
>
> Anyone using an easy interface for Nagios on iPhone?
>
> I do not mean some native iPhone app, I mean something server side like
> Nagios 4 iPhone.
>
> Any hints?
>
> Ciao,
>
> Giorgio
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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 for iPhone

2010-07-14 Thread Marcel
Well,

Android powered devices with rooted Operational Systems have the ability to
connect through VPN and then that's all good.

With certificates and paranoid security stuff!

regards,

On Wed, Jul 14, 2010 at 3:37 PM, Giorgio Zarrelli  wrote:

> Eheheheh,
>
> Thanks for your advice, anyway I neve meant to' expose Nagios. It's for
> internal use only.
>
> Ciao,
>
> Giorgio
>
> Il giorno 14/lug/2010, alle ore 18:19, Andrew Davis  ha
> scritto:
>
> I didn't want to expose our Nagios URL to the world as if it was
> compromised it would give an attacker way too much "inside knowledge" of our
> network. I believe Nagios is fairly secure, but its a lot of PHP and other
> open source scripting languages, as well as third party addons that may not
> hold up too well to brute force attempts or might even have some lazy
> coding. As such, I have an outside server with a hardened access rule that
> acts as a proxy to the inside Nagios URL, then use iNag to monitor it. Best
> $10 I've ever spent.
>
>   A. Davis
>   Email:  ncc...@gmail.com
>
>   "There is no limit to what a man can accomplish
>if he doesn't care who gets the credit." - Ronald Reagan
>
>
> On 7/14/10 11:31 AM, Giorgio Zarrelli wrote:
>
> Hi,
>
> Anyone using an easy interface for Nagios on iPhone?
>
> I do not mean some native iPhone app, I mean something server side like 
> Nagios 4 iPhone.
>
> Any hints?
>
> Ciao,
>
> Giorgio
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first --  
> http://p.sf.net/sfu/sprint-com-first
> ___
> Nagios-users mailing list 
> Nagios-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- 
> http://p.sf.net/sfu/sprint-com-first
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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 plugins return code issue

2010-08-17 Thread Marcel
Are you sure you are trying to test plugin execution with the nagios user?
Try that.

On Tue, Aug 17, 2010 at 5:57 PM,  wrote:

> Hi Melissa,
>  if you disable the embedded perl interpreter in nagios.cfg, does the
> script start to work?
> Diego
> Sent from my BlackBerry® wireless device
>
> -Original Message-
> From: "Matthew J. Salerno" 
> Date: Tue, 17 Aug 2010 12:45:29
> To: Huber, Melissa; Nagios Users List<
> nagios-users@lists.sourceforge.net>
> Reply-To: "Matthew J. Salerno" ,
>Nagios Users List 
> Subject: Re: [Nagios-users] nagios plugins return code issue
>
> What is your command line?  Are you calling the script directly or is it
> wrapped
> in a shell script?  I took a quick look at the script, and it needs quite a
> bit
> of improvement.  Not sure if it was a result of my copy and paste, but
> there is
> only so much I can blame on bad formatting.  I would recommend looking for
> a
> different script that does the same thing.
>
>
>
>
> - Original Message 
> From: "Huber, Melissa" 
> To: Matthew J. Salerno ; Nagios Users List
> 
> Sent: Tue, August 17, 2010 3:20:42 PM
> Subject: RE: [Nagios-users] nagios plugins return code issue
>
> Umm... Not sure.  I just tried uncommenting and got the same results
> though.
> I'm taking over managing the nagios server that we have from another
> collegue
> who left the company.  I've actually migrated everything over to another
> server
> that is now running the latest nagios.  The previous server was 3.0.6 I
> believe.  I tried searching for an updated version of these plugins, but
> couldn't find any.  I'm not that great with perl scripting either.  :/
>
> Missy
>
> -Original Message-
> From: Matthew J. Salerno [mailto:vagabond_k...@yahoo.com]
> Sent: Tuesday, August 17, 2010 2:58 PM
> To: Nagios Users List
> Cc: Huber, Melissa
> Subject: Re: [Nagios-users] nagios plugins return code issue
>
> For starters, why is use strict commented out?
>
>
> 
>
> From: "Huber, Melissa" 
> To: nagios-users@lists.sourceforge.net
> Sent: Tue, August 17, 2010 2:41:23 PM
> Subject: [Nagios-users] nagios plugins return code issue
>
> 
> Hello all,
>
> I've googled around everywhere trying to find an answer here and came up
> unsuccessful, so if anyone has had experience in this situation, I'd
> appreciate
> help!
>
>
> Basically, the issue that I'm having is that I have a couple of temperature
> plugins that are reporting errors in Nagios and at the command line they're
> exiting in 0:
>
> check7204temp.pl  - Return code of 255 is out of bounds and
> checkciscotemp.pl -
> Return code of 9 is out of bounds
>
> If I run a "echo $?" at the command line after running the command
> successfully,
> I get 0.
>
> Thanks for any help anyone can provide!!  My perms are 755 and nagios user
> owns
> the plugins and I've run successfully with nagios user and got 0 output.
>  I'm
> really stumped!!
>
> Here's the code for the plugins:
>
> ***
> check7204temp.pl:
>
> #!/usr/bin/perl -w
>
> # check_ciscotemp.pl
>
> #
>
> # Copyright (C) 2000 Leland E. Vandervort  # # This
> program
> is free software; you can redistribute it and/or # modify it under the
> terms of
> the GNU General Public License # as published by the Free Software
> Foundation;
> either version 2 # of the License, or (at your option) any later version.
>
> #
>
> # This program is distributed in the hope that it will be useful, # but
> WITHOUT
> ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or
> FITNESS
> FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more
> details.
>
> #
>
> # you should have received a copy of the GNU General Public License # along
> with
> this program (or with Nagios); if not, write to the # Free Software
> Foundation,
> Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA
> 
>
> # Nagios pluging to check inlet and outlet temperatures on # Cisco router
> platforms which support environmental monitoring # (7200, 7500,
> GSR12000...)
> 
>
> # default temperature thresholds are 30C for inlet, 40C outlet.
>
> # if input or output is less than thresholds, returns OK # if equal to (the
> temps don't change that rapidly) returns WARNING # if greater than
> threshold,
> returns CRITICAL # if undetermined, or cannot access environmental, returns
> UNKNOWN # (in accordance with the plugin coding guidelines)
> 
>
> use Net::SNMP;
>
> use Getopt::Long;
>
> #use strict;
>
> &Getopt::Long::config('auto_abbrev');
>
> #my $critical_vals;
>
> #my $warning_vals;
>
> #my $inlet_warn;
>
> #my $outlet_warn;
>
> #my $status;
>
> my $response = "";
>
> my $timeout = 10;
>
> my $community = "blah";
>
> my $port = 161;
>
> my $INTAKE_TEMP = "1.3.6.1.4.1.9.9.13.1.3.1.3.1"; my $OUTLET_TEMP =
> "1.3.6.1.4.1.9.9.13.1.3.1.3.3"; my $in_temp; my $out_temp; my $inlet_thr

[Nagios-users] Custom Macros in Service Definitions?

2009-11-17 Thread Marcel
Hi,

I have several webservers that have over 20 (virtual)interfaces each.

So I've defined the host with custom macros for each private IP:

define host{
   use  linux-server
   _ip_private_VIP_1 10.4.200.101
   _ip_private_VIP_2 10.4.201.101
   ...
   }

Now I want to refer to this $_HOSTip_provate_VIP_1$ macro in services
definitions, but nagios is complaining about not finding the service.

The documentation isn't clear whether or not custom macros could be used in
service definitions.

I've a command like this:

define command{
   command_name   check_http_str_return_args
   command_line  $USER1$/check_http -I $ARG1$ $ARG2$
   }

And the service definition:

define service{
   use generic-service
   (...)
   check_command check_http_str_return_args!$_HOSTip_private_VIP_1$!-u / -t
10 -w 3 -c 5 -e HTTP/1.1 200 OK
   }

My question is:

Is it by design that custom macros should NOT be used in service
definitions?

Because I'd need to create ONE COMMAND per VIP just to use custom macros?

I would like to set just one services, to use just ONE command, and be able
to check the whole webserver farm.

Best regards,
Marcel
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] MACRO SPANNING

2009-11-17 Thread Marcel
Hi,

Do nagios does multiple MACRO SPANNING?

I mean... If I define a service with a custom host macro
$_HOST_ip_private_VIP_1$, and the command is defined as $USER1$/check_http
-I $ARG1$, is Nagios able to span the $_HOST_ip_private_VIP_1$ macro when
substituting it by $ARG1$ ??

Best regards,
Marcel
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Custom Macros in Service Definitions?

2009-11-17 Thread Marcel
Greetings Marc,

Well, I've wrapped the command in question with /bin/echo { command_line
def. } >> /tmp/check_http_jmx.log to see what Nagios is issuing.

The -I flag of the check_http command was being issued with just a dollar
sign ($) as it's parameter.

So i think it's a matter of macro double spanning, because there is a custom
macro ($_HOSTIP_PRIVATE_VIP_1$) being passed to be spanned by $ARG1$ at the
command_line definition. I do not know If I ever saw or used a configuration
like this.

I don't think is a problem of quoting, because Nagios should replace
$_HOSTIP_PRIVATE_VIP_1$ by it's custom host value say, 10.0.0.1, and then
pass this value to be replaced at $ARG1$ standard command macro, but all I
see is a dolar sign being issued by nagios as a parameter of -I.

Then my second question in my next email about double macro spanning.

Do you think it could be a configuration problem?

Best regards,
Marcel

On Tue, Nov 17, 2009 at 4:39 PM, Marc Powell  wrote:

>
> On Nov 17, 2009, at 10:45 AM, Marcel wrote:
>
> > Now I want to refer to this $_HOSTip_provate_VIP_1$ macro in services
> definitions, but nagios is complaining about not finding the service.
>
> What is the exact error that you are seeing? I can't see how a problem with
> that macro substitution would generate any error about 'not finding the
> service'.
>
> > The documentation isn't clear whether or not custom macros could be used
> in service definitions.
> >
> > I've a command like this:
> >
> > define command{
> >command_name   check_http_str_return_args
> >command_line  $USER1$/check_http -I $ARG1$ $ARG2$
> >}
> >
> > And the service definition:
> >
> > define service{
> >use generic-service
> >(...)
> >check_command check_http_str_return_args!$_HOSTip_private_VIP_1$!-u /
> -t 10 -w 3 -c 5 -e HTTP/1.1 200 OK
> >}
>
> This is unusual but based on the documentation on how to check service and
> host clusters, I expect this should probably work. Looking in the code it
> looks like macro substitution happens at the right place too... There is a
> problem with the resulting command in that '-e HTTP/1.1 200 OK' will be
> translated to '-e' with an argument of 'HTTP/1.1' and then a dangling 200
> and a dangling OK to the entire command. If you want to match more than
> HTTP/1.1, enclose the entire 'HTTP/1.1 200 OK' in quotes.
>
> > My question is:
> >
> > Is it by design that custom macros should NOT be used in service
> definitions?
>
> I don't recall seeing it stated either way (should/should not). I know that
> you can use other macros in this way and don't believe that custom macros
> are special.
>
> --
> Marc
>
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Custom Object Variables

2009-11-17 Thread Marcel
Hi there,

On Tue, Nov 17, 2009 at 5:33 PM, Eric Emerson  wrote:

> //I am trying to set up some custom Object Variables based on the following
> docs but I must be misunderstanding something:
> define service{
> use someStandardServiceTemplate
> host_name   someSpecificHostName
> service_descriptionSSH
> check_command   check_ssh!-p $_HOSTsshPort$
> }
>

Capitalize the varname: $_HOSTSSHPORT$

Instead of the documentation saying that it is case insensitive, it only
works on TOUPPER variable name representation.

Cheers!
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Custom Object Variables

2009-11-18 Thread Marcel
YES!

On Tue, Nov 17, 2009 at 7:25 PM, Marc Powell  wrote:

>
> On Nov 17, 2009, at 3:14 PM, Marcel wrote:
>
> > Capitalize the varname: $_HOSTSSHPORT$
> >
> > Instead of the documentation saying that it is case insensitive, it only
> works on TOUPPER variable name representation.
>
> Did this come from your _ip_private_VIP_1 troubleshooting? That was it?
>
> --
> Marc
>
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Multiple Users for Web Interface

2009-11-19 Thread Marcel
Hi Brian,

On Thu, Nov 19, 2009 at 8:58 AM, Brian O'Mahony <
brian.omah...@curamsoftware.com> wrote:

> I want specific users to only have certain machines visible, but I cannot
> find the variable to add to the host/hostgroup.
>

You should create a contact, assign it to a contactgroup, and then use this
contactgroup as a object variable in host/service object definitions.

Cheers,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check for memory leaks

2009-11-19 Thread Marcel
Hi Andew,

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

> There are indications that an application on the monitored system is
> causing a slow memory leak.
> Is there a plugin or histogram setting that is available that would help
> check for memory leaks on
> the remote system? Thanks.
>
Trending is more suitable for graphing solutions that uses RRDs.
Nagios is more likely to be used as an exception monitoring tool, though it
might be used to generate graphs as well.

Cheers,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check for memory leaks

2009-11-19 Thread Marcel
Hi Andrew,

On Thu, Nov 19, 2009 at 4:11 PM, Kaplan, Andrew H. wrote:

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

Load means the number of processes per processor waiting in the scheduler's
RUN QUEUE. The load1 is the average of that number in the last minute, load5
it's the same average within 5 minutes, and load15 the same for the last 15
minutes. It does NOT relates to memory leak detection.

On Thu, Nov 19, 2009 at 3:48 PM, Kaplan, Andrew H. wrote:
>
>>  There are indications that an application on the monitored system is
>> causing a slow memory leak.
>> Is there a plugin or histogram setting that is available that would help
>> check for memory leaks on
>> the remote system? Thanks.
>>
> Trending is more suitable for graphing solutions that uses RRDs.
> Nagios is more likely to be used as an exception monitoring tool, though it
> might be used to generate graphs as well.
>

Cheers,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Retain last output

2009-11-19 Thread Marcel
Hi,

On Thu, Nov 19, 2009 at 4:15 PM, Flyinvap  wrote:

> I would like to use last output and last performance data from a
> service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros
> contain this but a said in the doc :
>
> " These macros are not valid for the service they are associated with
> when that service is being checked (i.e. they make no sense, as they
> haven't been determined yet). "
>
> So when the plugin is executed, these macros are empty. How can I
> retrieve these data. I would like to avoid using temporaries files.
>
> Any idea ?
>

You can setup a memcached to hold the last status information for all
services, and a perfdata command or whatever wrapper to input data to
memcache.

Cheers,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] What would you want in a replacement web interface?

2009-11-25 Thread Marcel
I'd like (and i think this is the answer for question #3):

* mobile webpages;
* customizable ajax/web2.0 interface;

Answers:
#1) the tactical overview is fine;
#2) would like to see what check commands nagios is issuing (for the need of
troubleshooting, issuing the same command nagios triggers is a pain) - an
easier way too see configured thresholds and the full command line and
output.


On Mon, Nov 16, 2009 at 2:22 PM, Taylor Dondich
wrote:

> Hi there.  I've been working on a replacement web interface for Nagios,
> and it's coming along great!  However, I wanted to take the time to ask
> the community some questions to get your feedback and roll it into the
> interface.
>
>
> So I have 3 questions to ask you all.  If you could answer with as much
> detail as possible, it would be fantastic.
>
> #1) What is the most important thing you want to see in a Tactical
> Overview replacement?  What are the most essential components?
>
> #2) When looking at a Host or a Service, what are the details you
> want/need to see?  What can you not live without?
>
> #3) What is your biggest gripe regarding the existing Nagios web user
> interface?
>
> --
> Taylor Dondich (tdond...@gmail.com)
> CEO at Lilac Networks (http://www.lilacnetworks.com)
> Provider of quality support for open source monitoring solutions
> View our open source Nagios Configuration Tool at
> http://www.lilacplatform.com
>
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios with MRTG

2009-11-26 Thread Marcel
There is a check_mrtg plugin, if i recall correctly, you can check against
values on the RRD.

On Thu, Nov 26, 2009 at 7:07 AM,  wrote:

>  Dear all,
>
>
>
> I am currently using Nagios 3 in Solaris 10 X86 version, it
> is fine. Also I have install MRTG on the server and configure to collect one
> switch interface traffic for testing.
>
>
>
> Is it possible to integrate MRTG graph about the switch
> interface traffic into Nagios? So that I can use Nagios portal to view the
> switch uptime, or other alert and also view the bandwidth usage of the
> switch in MRTG format.
>
>
>
> Thank you.
>
>
>
> Terry Chow
>
> System Engineer
>
> *Fortis **(Hong Kong) **Limited*
>
> 28/F Fortis Bank Tower
>
> 77-79 Gloucester Road
>
> Hong Kong
>
> Tel : +852-3653-0823
>
> Email : terry.c...@hk.fortisnl.com
>
>
>
> 
> This message (including any attachments ) is confidential and is intended 
> solely for the use of the individual or entity to whom it is addressed. If 
> you have received this message by mistake please notify the sender by return 
> email and delete this message from your system. Any unauthorised use or 
> dissemination of this message in whole or in part is strictly prohibited.
> 
>
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] flapping detection and recovery notifications

2009-11-26 Thread Marcel
Hi list,

If I've flapping detection it supresses a Recovery notification in the event
of the flapping detection start just in the case of a Recovery Notification?


Is there a way to have flapping detection to NOT supress notification in the
Recovery event?

Cheers,
Marcel
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Need help installing opcp

2009-11-30 Thread Marcel
I've to second that. please setup automake & autoconf

On Fri, Nov 27, 2009 at 7:15 AM, Sofia Haschiu  wrote:

> Hi, Dario
>
> I visited your site and since opcp is what I was looking for as a capacity
> planning solution for Nagios I was eager to give it a try. Unfortunately the
> documentation on how to install the opcp is poor and I kindly ask you to
> tell me if there's some more detailed documentation on how to get the opcp
> to work. Or maybe someone who already managed to install this module can
> provide me some step-by-step advices.
>
> Thank you in advance
>
> Sofia Haschiu
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] monitoring hundreds of network switches

2009-11-30 Thread Marcel
I don't know about others on this list, but what I do to start a new
configuration:

On Fri, Nov 27, 2009 at 3:47 PM, D G Teed  wrote:

> With the fping command (not check_fping) I can feed it a list of IPs
> to check from a file.  If I ran fping with -a and did a diff between
> that output and my original list of IPs, I'd get a report of which switches
> are
> down.  I could write a shell script to do this and set up a cron in less
> time
> than it would take to do the same in nagios with my current knowledge
> of the configuration options in nagios.  I'm sure someone will be
> up to the challenge of showing me it is just as easy to set up in nagios.
>
> I saw this example:
> http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html
> but I don't get "allhosts, switches" in the hostgroups configuration.
> Is this some sort of keyword or built-in wildcard?
>

I start creating a directory named after the DataCenter or location, maybe:
/opt/nagios/etc/object/Dallas

There I create several files, each containing one host{} directive, without
hostgroups or whatever.

Then, the first service{name ping\n check_command\t
check_icmp\nhostgroup_name all (...)} is applied to a hostgroup
{hostgroup_name all\n alias all CIs\n members .*} (I've turned on the true
regexp matching).

With just these steps you can have all your CI's setup properly.

HTH,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Help with notifications

2009-11-30 Thread Marcel
Well,

You should tell us some setups:

On Fri, Nov 27, 2009 at 5:38 AM, keshav murthy  wrote:

> Hello all,
>
> We are using Nagios as our primary monitoring tool which is integrated with
> Remedy (ticketing system) by MasterCell.
>
> Current setup:
> *) Nagios identifies critical "Alert"
> *) mposter_service (agent by Mastercell) is invoked and the alert is passed
> to MasterCell
>

please post the define for this service, and what kind of service it is? it
is a by-email notification service?  Or it is a webservice where you tell
nagios to post service-information there?


> *) Some Mastercell + Remedy magic is happening here ( I assume, there is
> priority set to each server in Remedy which is compared) and the tickets are
> generated as P1 tickets all the time even for non-critical server.
>

> In a month, we are getting around 8000 P1 tickets for 1600 Servers
> configured in Nagios 3.0.6
>
> Question:
> Is there a notification method possible where in which we can send the
> alert priority along with the notification?
>

Notifications are just simple commands defined in commands.cfg. You surely
can tailor one of them for your needs (which I'll assume you did as you're
using the mposter_service for integration). If you take a closer look to
commands.cfg, there is a command defined to be the
{host,service}-notification command. I assume you are using another method
differently than email notifications for the creation of your tickets, or
I'm wrong? All parametrization of your service/host-notification command
will depend entirely to you for this integration to be as successfull as it
could be.


> I am also checking with the Mastercell expert who is an external vendor (he
> is very costly too ;-) ).
>
> you help is highly appreciated.
>
> Cheers
> Kesava
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] What would you want in a replacementwebinterface?

2009-11-30 Thread Marcel
Please do not answer if asked why on earth would you use something like
that!!!

On Mon, Nov 30, 2009 at 7:59 PM, Lane Williams
wrote:

> If you have implemented ndo2db, you could write a SQL query tool
> ...PERL... which would find problems for host and services and then dump
> the proper variables into something like:
>
> #!/bin/sh
> # This is a sample shell script showing how you can submit the
> ACKNOWLEDGE_SVC_PROBLEM command
> # to Nagios.  Adjust variables to fit your environment as necessary.
>
> now=`date +%s`
> commandfile='/usr/local/nagios/var/rw/nagios.cmd'
>
> /bin/printf "[%lu] ACKNOWLEDGE_SVC_PROBLEM;$host;$service;1;1;1;Some
> One;Some Acknowledgement Comment\n" $now > $commandfile
>
> References:
> http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com
> mand_id=40
>
> http://old.nagios.org/developerinfo/externalcommands/commandlist.php
>
>
> Lane Williams Jr. | Senior System Administrator | Cellular South
> 1018 Highland Colony Parkway | Suite No. 200| Ridgeland, MS  39157
> Desk (601-974-7713) | Wireless (769-798-7713)
> www.cellularsouth.com
>
>
> -Original Message-
> From: Joe Hartley [mailto:joe.hart...@retailsolutions.com]
> Sent: Monday, November 30, 2009 9:19 AM
> To: nagios List
> Subject: Re: [Nagios-users] What would you want in a
> replacementwebinterface?
>
> From: Noel Platzke [mailto:neuf...@gmail.com]
> > My biggest gripe with the web interface is the inability to select
> multiple
> > hosts/services/groups to ack or put into maintenance mode. I hate
> having to
> > do them one at a time. Also it would be nice if dependent services
> didn't
> > show up in the "Unhandled" view once the parent service was acked.
>
> Oh, so very much *THIS*.
>
> We had a major outage at our co-location facility, which caused my phone
> to
> go crazy with all the alerts.  It took me way too long to acknowledge
> all the
> hosts and services to keep my phone quiet.  I considered just disabling
> notifications all together, but there's more that gets monitored than
> just that
> one facility, so that wasn't really an option.
>
> Individually acknowledging hundreds of services on dozens of hosts
> really sucks.
>
> --
> Joe Hartley | Sr. Linux SysAdmin
> Retail Solutions, Inc.
> 40 Sharpe Drive
> Cranston, RI 02920
> joe.hart...@retailsolutions.com
> +1 401.824.5040 (o) | +1 401.824.5002 (f)
>
>
>
> 
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
> --
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] check_http checking with verbose output breaks performance data

2009-12-01 Thread Marcel
I've had a need of getting the full output from plugins to appear at the
extended status information page:

http://path.to.nagios/nagios/cgi-bin/extinfo.cgi?type=2&host=host_name&service=service_description

Then I've realized that performance data is being mangled by this verbose
command_line.

Is this a bug? Or I should not use verbose output for check_http in
production?


Current Status:
  OK
 (for 0d 0h 0m 47s) Status Information:GET /mfa/ad/script/
User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
Connection: close
Host: ad.adnetwork.com.br


http://174.132.205.30:80/mfa/ad/script/ Performance Data:s=101|c=120|p=2|br=1|?
HTTP/1.0 s=101|c=120|p=2|br=1|? is 664 characters STATUS: HTTP/1.1 200 OK
 HEADER  Date: Tue, 01 Dec 2009 19:06:45 GMT Server: Resin/2.1.17
P3P: CP=" PSA CONo OUR ONL NOI BUS", policyref="/w3c/p3p.xml" Pragma:
no-cache Cache-Control: no-cache Expires: 0 Content-Type: text/html
Set-Cookie: mfa=24292751; path=/; expires=Sun, 30-Nov-2014 19:06:45 GMT
Set-Cookie: limpa=1; path=/; expires=Wed, 02-Dec-2009 02:06:45 GMT
Set-Cookie: c120=770|101|-999|1259694406260; path=/; expires=Sun,
30-Nov-2014 19:06:45 GMT Connection: close  CONTENT 
document.write('http://ad.adnetwork.com.br/mfa/go/rm/;b=770;s=101;u=24292751;c=120;n=495403670
target=_blank>http://www.adserver.com.br/120/bt_mfa.gif border=0 alt=>'); HTTP OK:
Status line output matched "HTTP/1.1 200" HTTP OK HTTP/1.1 200 OK - 0.074
second response time |time=0.074327s;1.00;5.00;0.00
size=664B;;;0 Current Attempt:1/3  (HARD state) Last Check Time:01-12-2009
17:06:46 Check Type:ACTIVE Check Latency / Duration:0.196 / 0.086 seconds Next
Scheduled Check:  01-12-2009 17:11:46 Last State Change:01-12-2009
17:06:46 Last
Notification:N/A (notification 0) Is This Service Flapping?N/A In Scheduled
Downtime?
  NO
Last Update:01-12-2009 17:07:28  ( 0d 0h 0m 5s ago)
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_http checking with verbose output breaks performance data

2009-12-01 Thread Marcel
sorry for replying my own post.

This particular application has it's query string separator as "|", then the
mangled perfdata.

Is it possible to perfdata to parses only the last segment separated by "|"
?

Thanks,

On Tue, Dec 1, 2009 at 5:13 PM, Marcel  wrote:

> I've had a need of getting the full output from plugins to appear at the
> extended status information page:
>
>
> http://path.to.nagios/nagios/cgi-bin/extinfo.cgi?type=2&host=host_name&service=service_description
>
> Then I've realized that performance data is being mangled by this verbose
> command_line.
>
> Is this a bug? Or I should not use verbose output for check_http in
> production?
>
>
> Current Status:
>   OK
>  (for 0d 0h 0m 47s) Status Information:GET /mfa/ad/script/
> User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
> Connection: close
> Host: ad.adnetwork.com.br
>
>
> http://174.132.205.30:80/mfa/ad/script/ Performance 
> Data:s=101|c=120|p=2|br=1|?
> HTTP/1.0 s=101|c=120|p=2|br=1|? is 664 characters STATUS: HTTP/1.1 200 OK
>  HEADER  Date: Tue, 01 Dec 2009 19:06:45 GMT Server: Resin/2.1.17
> P3P: CP=" PSA CONo OUR ONL NOI BUS", policyref="/w3c/p3p.xml" Pragma:
> no-cache Cache-Control: no-cache Expires: 0 Content-Type: text/html
> Set-Cookie: mfa=24292751; path=/; expires=Sun, 30-Nov-2014 19:06:45 GMT
> Set-Cookie: limpa=1; path=/; expires=Wed, 02-Dec-2009 02:06:45 GMT
> Set-Cookie: c120=770|101|-999|1259694406260; path=/; expires=Sun,
> 30-Nov-2014 19:06:45 GMT Connection: close  CONTENT 
> document.write(' href=http://ad.adnetwork.com.br/mfa/go/rm/;b=770;s=101;u=24292751;c=120;n=495403670
> target=_blank<http://ad.adnetwork.com.br/mfa/go/rm/;b=770;s=101;u=24292751;c=120;n=495403670target=_blank>> src=http://www.adserver.com.br/120/bt_mfa.gif border=0 alt=>'); HTTP
> OK: Status line output matched "HTTP/1.1 200" HTTP OK HTTP/1.1 200 OK -
> 0.074 second response time |time=0.074327s;1.00;5.00;0.00
> size=664B;;;0 Current Attempt:1/3  (HARD state) Last Check Time:01-12-2009
> 17:06:46 Check Type:ACTIVE Check Latency / Duration:0.196 / 0.086 seconds Next
> Scheduled Check:  01-12-2009 17:11:46 Last State Change:01-12-2009
> 17:06:46 Last Notification:N/A (notification 0) Is This Service Flapping?
> N/A In Scheduled Downtime?
>   NO
> Last Update:01-12-2009 17:07:28  ( 0d 0h 0m 5s ago)
>
>
>
>
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios email notifications

2009-12-01 Thread Marcel
http://nagios.sourceforge.net/docs/3_0/macros.html

>From this document you should be able to tweak your notification commands to
send customized email notifications.

Cheers,

On Tue, Dec 1, 2009 at 7:17 PM, akp geek  wrote:

> Dear All -
>
>I have installed nagios and it has been working fine. I am
> getting email notifications also. But I would like to edit those
> notifications and customize it. In the emails that I receive now, I don't
> get any subject in the email. Can you please point me / guide me?
>
> Regards
>
>
> --
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] need expert advice/suggestions

2009-12-08 Thread Marcel
define hostgroup{
   hostgroup_name some_name
   members  some_host,another_one,!router
}

define service{
   use some-generic-template
   hostgroup_name some_name
   check_command check_something
   (...)
}

define host{
   use  some-generic-template
   host_name some_name
   hostgroup some_name
}

On Tue, Dec 8, 2009 at 10:36 AM, gmartin  wrote:

>
>
> On Mon, Dec 7, 2009 at 4:29 PM,  wrote:
>
>> Hi Taylor!
>>
>> For what it's worth, Nagios *does* support this.  We routinely use
>> templates which assign a hostgroup to a host, and that hostgroup will
>> have a set of standard check for that type of host assigned to it.  When
>> a new host gets added, all it takes is a "use some_host_template" and
>> all the standard services we run on that type of host just show up.
>>
>
> Patrick, can you explain this a bit further or point me towards another
> post that does the same.  Sounds like an interesting feature I want to
> explore.
>
> Thanks
>
> --
> \\Greg
>
>
>
> --
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NSCA strange behaviour

2009-12-08 Thread Marcel
check openssl versions and compatibility.

On Tue, Dec 8, 2009 at 2:13 PM, Cedric Jeanneret <
cedric.jeanne...@camptocamp.com> wrote:

> Hello again,
>
> In fact, configuration files are dployed via puppet(
> http://reductivelabs.com/trac/puppet/wiki), so all files (should be) are
> the same. I'll check it, but as puppet runs on every hosts, they all should
> have the same files.
> IP addresses are the same (fixed IP, fixed ports).
>
> I'll check files once again.
>
> If anyone has another idea...
>
> Thank you.
>
> Best regards,
>
> C.
>
> On Tue, 8 Dec 2009 08:31:59 -0600
> Greg Pangrazio  wrote:
>
> > It sounds like there is something that changed with the re-install.
> >
> > Is the IP address of the system the same?
> >
> > Did you pick the same encryption type in the nsca config?
> >
> > Can you diff the nsca config with a working host?
> > Greg Pangrazio
> > pangr...@gmail.com
> >
> >
> >
> >
> >
> > On Tue, Dec 8, 2009 at 8:14 AM, Cedric Jeanneret
> >  wrote:
> > > Hello,
> > >
> > > As far as I can see, only new one. Even if they are just reinstalled
> (client22 was in nagios config before it was reinstalled).
> > >
> > > Best regards,
> > >
> > > C.
> > >
> > > On Tue, 8 Dec 2009 08:08:03 -0600
> > > Greg Pangrazio  wrote:
> > >
> > >> Do all of your clients fail, or just the new one?
> > >>
> > >> Greg Pangrazio
> > >> pangr...@gmail.com
> > >>
> > >>
> > >>
> > >>
> > >> On Tue, Dec 8, 2009 at 4:40 AM, Cedric Jeanneret
> > >>  wrote:
> > >> > Hello,
> > >> >
> > >> > I'm having troubles with NSCA.
> > >> > What we have :
> > >> >
> > >> > - about 47 passive hosts
> > >> > - about 220 passive services
> > >> >
> > >> > Versions : all are redhat servers, with:
> > >> > - NSCA 2.7.2 (latest one)
> > >> > - Nagios 3.1.2
> > >> >
> > >> > We have a single "nagios aggregator", which collect all NSCA status
> from the other hosts.
> > >> >
> > >> > What's happening:
> > >> > a host was reinstalled yesterday (say client22), and now it seems
> NSCA daemon on the aggregator (say server01) doesn't seem to collect data.
> > >> >
> > >> > What I've done:
> > >> >
> > >> > - tcpdump on both client22 and server01, both show me traffic
> between them, on NSCA default port (5667)
> > >> >
> > >> > - checked iptables rules, all is ok (as tcpdump shows me traffic,
> that's a confirmation)
> > >> >
> > >> > - trying to push status by hand from client22 to server01; ALL
> packets are sent successfully """1 data packet(s) sent to host
> successfully.""". I've done this with a loop like that:
> > >> > for i in $(seq 1000); do /usr/local/bin/submit_ochp $(hostname -f)
> UP 'Host is up'; sleep 2; done
> > >> >
> > >> > - Enbling debug for nsca on server01 doesn't show me anything
> interesting. I just don't see where nsca catch up client22 status, and it
> keeps on saying :
> > >> > Warning: The results of host 'client22.domain.lt' are stale by 0d
> 0h 2m 0s (threshold=0d 0h 6m 0s).  I'm forcing an immediate check of the
> host.
> > >> >
> > >> > On another hand, it shows me:
> > >> > [1260267958.216051] [016.1] [pid=23191] Check results for service
> 'Cron service' on host 'client22.domain.lt' are fresh.
> > >> >
> > >> >
> > >> > I really don't know where to find a solution, neither where is the
> real problem. We have another network with about 200 passive hosts and over
> 350 passive services, and it works fine.
> > >> >
> > >> > The only differences are :
> > >> > - the working network is debian-only
> > >> > - the working network's NSCA server doesn't do anything else than
> central nagios server. server01 does some other stuff, like syslog server
> and collectd server... maybe there's a bottleneck in there, but I can't be
> sure about that.
> > >> >
> > >> > Does anyone of you have an idea ?
> > >> >
> > >> > Thank you in advance.
> > >> >
> > >> > Best regards,
> > >> >
> > >> > C.
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > Cédric Jeanneret |  System Administrator
> > >> > 021 619 10 32|  Camptocamp SA
> > >> > cedric.jeanne...@camptocamp.com  |  PSE-A / EPFL
> > >> >
> > >> >
> --
> > >> > Return on Information:
> > >> > Google Enterprise Search pays you back
> > >> > Get the facts.
> > >> > http://p.sf.net/sfu/google-dev2dev
> > >> >
> > >> > ___
> > >> > Nagios-users mailing list
> > >> > Nagios-users@lists.sourceforge.net
> > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > >> > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> > >> > ::: Messages without supporting info will risk being sent to
> /dev/null
> > >> >
> > >
> > >
> > > --
> > > Cédric Jeanneret |  System Administrator
> > > 021 619 10 32|  Camptocamp SA
> > > cedric.jeanne...@camptocamp.com  |  PSE-A / EPFL
> > >
> > >
> 

Re: [Nagios-users] Nagios does not send email notifications

2009-12-08 Thread Marcel
*or*

On Tue, Dec 8, 2009 at 6:26 PM, Marcel  wrote:

> either you don't have printf of mail.
>
> On Tue, Dec 8, 2009 at 5:41 PM, ReynierPM  wrote:
>
>> Hi every:
>> I have problems now with email notification unless I didn't receive one.
>>   I check Nagios Event Logs and see this:
>>
>> [12-08-2009 14:53:28] Warning: Attempting to execute the command
>> "/usr/bin/printf "%b" "* Nagios *\n\nNotification Type:
>> PROBLEM\n\nService: Bacula Dir Daemon\nHost: bacula\nAddress:
>> 10.128.50.11\nState: UNKNOWN\n\nDate/Time: Tue Dec 8 14:53:28 CST
>> 2009\n\nAdditional Info:\n\nRemote command execution failed: Permission
>> denied, please try again." | /bin/mail -s "** PROBLEM Service Alert:
>> bacula/Bacula Dir Daemon is UNKNOWN **" rper...@uci.cu" resulted in a
>> return code of 127. Make sure the script or binary you are trying to
>> execute actually exists...
>>
>> But the mail never arrive to my Inbox. Why? My config is as follow:
>>
>> define command{
>>command_namenotify-host-by-email
>>command_line/usr/bin/printf "%b" "* Nagios
>> *\n\nNotification
>> Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress:
>> $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" |
>> /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is
>> $HOSTSTATE$ **" $CONTACTEMAIL$
>> }
>>
>> # 'notify-service-by-email' command definition
>> define command{
>>command_namenotify-service-by-email
>>command_line/usr/bin/printf "%b" "* Nagios
>> *\n\nNotification
>> Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
>> $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
>> $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s
>> "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is
>> $SERVICESTATE$ **" $CONTACTEMAIL$
>> }
>>
>> Cheers and thanks in advance
>> --
>> ReynierPM
>>
>>
>> --
>> Return on Information:
>> Google Enterprise Search pays you back
>> Get the facts.
>> http://p.sf.net/sfu/google-dev2dev
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios does not send email notifications

2009-12-08 Thread Marcel
either you don't have printf of mail.

On Tue, Dec 8, 2009 at 5:41 PM, ReynierPM  wrote:

> Hi every:
> I have problems now with email notification unless I didn't receive one.
>   I check Nagios Event Logs and see this:
>
> [12-08-2009 14:53:28] Warning: Attempting to execute the command
> "/usr/bin/printf "%b" "* Nagios *\n\nNotification Type:
> PROBLEM\n\nService: Bacula Dir Daemon\nHost: bacula\nAddress:
> 10.128.50.11\nState: UNKNOWN\n\nDate/Time: Tue Dec 8 14:53:28 CST
> 2009\n\nAdditional Info:\n\nRemote command execution failed: Permission
> denied, please try again." | /bin/mail -s "** PROBLEM Service Alert:
> bacula/Bacula Dir Daemon is UNKNOWN **" rper...@uci.cu" resulted in a
> return code of 127. Make sure the script or binary you are trying to
> execute actually exists...
>
> But the mail never arrive to my Inbox. Why? My config is as follow:
>
> define command{
>command_namenotify-host-by-email
>command_line/usr/bin/printf "%b" "* Nagios
> *\n\nNotification
> Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress:
> $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" |
> /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is
> $HOSTSTATE$ **" $CONTACTEMAIL$
> }
>
> # 'notify-service-by-email' command definition
> define command{
>command_namenotify-service-by-email
>command_line/usr/bin/printf "%b" "* Nagios
> *\n\nNotification
> Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
> $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
> $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s
> "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is
> $SERVICESTATE$ **" $CONTACTEMAIL$
> }
>
> Cheers and thanks in advance
> --
> ReynierPM
>
>
> --
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] ? on Notification of threshold being exceeded

2009-12-09 Thread Marcel
Hello,

On Tue, Dec 8, 2009 at 8:43 PM,  wrote:

> Hello All,
>
> Is it possible to set up a check for nagios where an admin is notified when
> a threshold value has been exceeded in a specific time frame?
>

Sure. With a proper service check or with escalations.


> For example, send me a notification when a check_ping has failed 20 times
> during the past hour for a server but only send me the notification 1 time
> for that hour time frame.
>

I'd setup a ping service that has max_check_attempts set to 20 and
normal_check_interval set to 300 - That way you'd only receive notifications
in one hour of ping errors.


> We get 100's or 1000s of emails from Tivoli for alerts and want to somehow
> keep track of the alerts but only send out the notification when deemed
> critical.  Thought Nagios could do it better than Tivoli. :)
>

If Tivoli floods your mailbox, and all of them are false positives, then you
have a Tivoli setup problem, or a network related issue.
Nagios maybe at the same point of view of Tivoli, if you're having network
issues.

HTH,
Marcel
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios2 process overwhelmed by NSCA daemon?

2009-12-10 Thread Marcel
In my last job, I was dealing with a nagios install a little bit over than
yours,

On Wed, Dec 9, 2009 at 9:06 PM, Jonathan Call  wrote:

> I recently added two new slaves to a distributed Nagios system. The
> central server now passively processes 17,000+ service checks on 3000+
> servers.
>
> It's been over an hour and a half since I brought those new slaves
> online and I have about 150 hosts still stuck in 'Pending' and about
> 1300 services in the same state. In addition to that it seems that the
> service check results from the other slaves that were working normally
> are now arbitrarily disappearing. For example, on one host three of the
> service checks have been updated relatively recently (i.e. 5-30 minutes
> ago) but three other service checks haven't been updated for almost an
> hour. The slaves all appear operational and the hosts are being checked
> on time. Is it possible I've overwhelmed Nagios' ability to process data
> from the NSCA daemon or struck some internal Nagios bottleneck? Any
> suggestions would be appreciated.
>

With 4K servers and just over 24K service checks, with 12 or 13 distributed
servers.

Well, I've ran into many kinds of problems because of nagios poor design of
distributed monitoring setup.
Appears that distributed setup was done almost as a poor patch just to have
to overcome some limitation .

We ended up doing some custom passive plugins. They were built to send
status information updates just in case of state change. In that way the
load on NSCA side was very much reduced (it was Load Balanced with a Virtual
IP, batch updates, but problems would still occur). This set of plugins were
a little hard to mantain, because configuration of each server needed to be
at the monitored server, puppet ftw. All checks were logged and later
synchronized with ndo to have last checks history.

NDO and the database schema has had to be modified too. The volume of
inserts was way too high to be handled correctly in a timely manner,
recurrent restarts of the database causing staled results, every sort of
problem in managing those systems, even after a thorough tunning of the
database. After adding logic to update only when state change ocurred, and
another batch update to update last check and the fields that needed to be
updated with last check information, the database load was normalized and
scalability could be proven.

So what I'd suggest to you, is to first tweak with the large installation
procedures, tmpfs for the status.dat, objects.cache, retention.dat, setting
batch jobs to send_nsca output to central/master nagios instance, and so on.
Also, you can do some nagios setup magic aswell, having distributed nodes
checking in a frequency (normal_check_interval) different than central
nagios expects, say, setup central nagios to wait for status information on
30 minutes frequency, but have the distributed nodes to send them at 15
minutes freq., something like that.

For what I know, it's really a cumbersome job to have enterprise scalability
nagios configuration. For tiny and trivial installs it's like using Zennoss
or Zabbixx, but with a lot of extra configuration-files pain. I think that
no other competitor's tool (Z*bbnn*ssxx) would scale too when you need
enterprise huge installs, so nagios is a little ahead and gives flexibility,
but with an associated cost that scares anyone (ending up buying another
tool to much less for much more).

That's why I've liked Gabès Jean's Shinken approach to have scalability and
to ease interoperability with puppet. That would be the
übber-super-mega-ultra tool. Also, with nginx and asynchronicity of
front-end, back-end, and checks, would end up with the most robust, easy,
enterprise NMS.

So, Gèan, continue on that path to have your Shinken working with
backcompatibility with nagios setups, but also think ahead on design to have
puppet integrated to handle configuration convergence (maybe eventhandlers
too?).

Cheers,
M
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios as a Service Resiliency Manager

2009-12-10 Thread Marcel
Maybe this would help:
http://onlamp.com/onlamp/2006/05/25/self-healing-networks.html

On Thu, Dec 10, 2009 at 3:08 PM, Christopher McAtackney
wrote:

> Hi all,
>
> I have a need to control an Active / Passive pair of components and
> was wondering if anyone had tackled this problem with Nagios?
>
> The scenario is as follows;
>
> Host A has SERVICE_1 installed and running. Host B has SERVICE_2
> installed, but not running.
>
> The desired functionality is to detect when SERVICE_1 is not running
> (or that Host A is down / unreachable), and then to start SERVICE_2 on
> Host B.
>
> I believe I can do this with Nagios by defining an event handler on
> SERVICE_1 which will make the appropriate call to start SERVICE_2 on
> Host B
>
> Would it make sense to store the relationship between SERVICE_1 and
> Host B / SERVICE_2 as a service macro, e.g.
> $_SERVICE_PASSIVE_HOSTNAME, $_SERVICE_PASSIVE_SERVICENAME?
>
> There are too many scenarios in which the SERVICE_1 might come back up
> to try automate the switching off of SERVICE_2 I believe, e.g. if
> someone pulled a network cable on Host A accidently, then plugged it
> in 15 minutes later - during which time Nagios detects that it is down
> and so starts up SERVICE_2. The user then plugs the network lead back
> in and now we have two Active instances running - which is what we
> specifically wanted to avoid. Even if Nagios detects that the primary
> component is up, it's still too late because any Active / Active
> overlap will cause problems for this particular application.
>
> I can't think of any way to automate that side of things - but does
> the general concept of having Nagios start up a Passive partner make
> sense?
>
> Thanks for any insight you have,
>
> Chris
>
>
> --
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] [Nagios-devel] Alternatives to NSCA?

2009-12-11 Thread Marcel
Once upon a time, I've tweaked syslog-ng to write to the command pipe. That
worked like a charm.

On Fri, Dec 11, 2009 at 10:05 AM,  wrote:

> Greetings,
>
> does anybody know of a NSCA replacement, which does the job without the
> need
> of unsupported libraries? The requirement of libmcrypt makes NSCA a real
> hassle
> to use for us, since we have to manually install third party libraries -
> which we really
> do not want to. RedHat won't support libmcrypt, as its development is long
> dead.
>
> Any alternatives out there, my google searches didn't come up with anything
> sadly.
>
> Or might it be easier to patch NSCA to use libgcrypt for example, which is
> available
> in every distribution?
>
> 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
>
> --
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
>
> ___
> Nagios-devel mailing list
> nagios-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
>
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios Plug-Ins

2009-12-13 Thread Marcel
# /opt/nagios/libexec/check_http --version
check_http v2053 (nagios-plugins 1.4.13)
#

On Mon, Dec 14, 2009 at 12:20 AM, dOE  wrote:

> I have inherited a Nagios 3.0.3 server, and have been trying to get
> acquainted with it.  How could I tell which plugin version I have, and is it
> worth upgrading the plugins and Nagios to the latest?
>
>
> --
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Notification Question

2010-01-04 Thread Marcel
yeah, just set your normal_check_interval to 6 (minutes if you don't change
the interval_length), and max_check_attempts to 10, then, after 60 minutes
you would be notified. Or the oposite, maybe setting the check interval to
10 and the number of checks to notify to 6. That way you'll always know that
in the last 6 (or 10) checks in the last 60 minutes, you had a threshold
verification alert, but notifications are only sent after reaching the
max_check_attempts.

HTH.


On Mon, Jan 4, 2010 at 1:52 PM, steve f  wrote:

>  Hello & Happy New Year,
>
> Is it possible to have Nagios notify me of a service problem once an hour
> AND tell me how many times it alerted during that hour time frame?
>
> For example, if I run a plugin, I don't necessarily want to have a
> notification every time the threshold was met but after 1 hour, send me a
> notification that during that hour time period, the threshold was exceeded
> 10 times?
>
> I know that via the notification cfg I can set the time frame for sending a
> notification but can I keep a running total of the number of alerts for that
> 1 hour timeframe?
>
> Thanks,
> Steve
>
> --
> Hotmail: Trusted email with powerful SPAM protection. Sign up 
> now.
>
>
> --
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] DRBD for status.dat, nagios.cmd, objects.cache?

2010-01-06 Thread Marcel
Anyone has any advice about this kind of HA strategy?

I'm thinking about using drbd for nagios-HA environment, where nagios.cmd,
status.dat and objects.cache would be in drbd partition and master/stand-by
scripts for keeping nagios running at all times when master fails and
stand-by took over.

TIA,
Marcel
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Adjusting time interval for max_check_attempts

2007-09-25 Thread Marcel
what if one craft a check-host-alive command with a sleep 60; check_icmp -H
xxx.xxx.xxx.xxx ???

On 9/13/07, Patrick Morris <[EMAIL PROTECTED]> wrote:
>
> On Thu, 13 Sep 2007, DeBattista, Joe wrote:
>
> > Hi,
> >  I running nagios 2.5 (yes, I know it?s old) and I?m trying to
> figure out how to adjust the interval time when a host check notices a
> problem.  I currently have my max_check_attempts in my host definition set
> to 10, and when that host goes down, it seems to only have a 3 second
> interval on its checking, so the 10 checks take only 30 seconds before
> switching from a SOFT state to HARD, and sending out a notification.  I know
> there?s an retry_check_interval option for service definitions, but didn?t
> see an equivalent for the host definitions.  I looked in nagios.cfg and
> didn?t see anything there.  I?d like to adjust this so that it waits about
> 60 seconds between each check.  Thanks.
>
> What you're looking to do isn't possible in Nagios 2.x.  There is no way
> to adjust the host check interval.
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Adjusting time interval for max_check_attempts

2007-09-25 Thread Marcel
Well, but it _is_ possible, against what patrick stated.

Sure it's dumb, though, but impossible would be too hard on Nagios.

cheers,

On 9/25/07, Andreas Ericsson <[EMAIL PROTECTED]> wrote:
>
> Marcel wrote:
> > what if one craft a check-host-alive command with a sleep 60; check_icmp
> -H
> > xxx.xxx.xxx.xxx ???
> >
>
> That would be a very bad idea indeed, as pre-3.0 nagios stops everything
> to
> run host checks. The 3.x-series, which unfortunately is still in beta, can
> do host checks while doing other things too.
>
> Trying out the latest beta would most likely be your best bet.
>
> --
> Andreas Ericsson   [EMAIL PROTECTED]
> OP5 AB www.op5.se
> Tel: +46 8-230225  Fax: +46 8-230231
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagvis without DB

2008-01-15 Thread Marcel
I'm using NDO with 11 distributed nagios servers instances and over 15k
services fine, thanks!

Nagvis is running fine either, thanks! Service and Hostgroup views of
products, thanks!

I'm very thankful by the way! :)

Cheers

On Jan 15, 2008 12:27 PM, Giles Coochey <[EMAIL PROTECTED]> wrote:

>  As far as I am aware, NagVis requires the data in a database, via NDO and
> there is no easy way to bypass this requirement.
>
>
>
> It causes some pain for me too, I 'need' the 'nice' visuals that NagVis
> produces, but the instability of NDO is a real pain.
>
>
>   --
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Leandro Silva
> *Sent:* 15 January 2008 16:23
> *To:* Nagios-users@lists.sourceforge.net
> *Subject:* [Nagios-users] Nagvis without DB
>
>
>
> Anyone knows a way to use nagvis without a database using only the files
> of nagios where store the status of the host and services?
>
>
>
> Leandro
>
> Brazil
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Marcel
I guess that in 3.0rc3 you can modify service check configuration on-demand.


Not implemented yet, but you should be able to do something like changing
normal_check_interval until it reaches an OK state.

Anyone here already come up with a solution to this problem?

Cheers

On Fri, Mar 7, 2008 at 10:44 AM, Tom Sommer <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I wish to setup the following check interval:
>
> Check the service every 5 minutes
>  -> If down then check the service every 1 minute for 3 minutes/times
>   -> If still down, notify and continue to check the service every 1
> minute until it recovers.
>
> I'm having a few problems with the last condition. Basically once the
> notification is sent, Nagios seems to revert to the "normal" check
> interval, which is 5 minutes - resulting in a substantial delay for the
> recovery notification to be sent.
>
> My settings are:
> max_check_attempts 3
> check_interval 5
> retry_interval 1
>
> Did I miss anything or is the above simply not possible?
>
> Using 3.0rc3
>
> Thanks
> --
> Tom Sommer
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Marcel
here it is:

http://nagios.sourceforge.net/docs/3_0/adaptive.html



On Fri, Mar 7, 2008 at 3:10 PM, Marcel <[EMAIL PROTECTED]> wrote:

> I guess that in 3.0rc3 you can modify service check configuration
> on-demand.
>
> Not implemented yet, but you should be able to do something like changing
> normal_check_interval until it reaches an OK state.
>
> Anyone here already come up with a solution to this problem?
>
> Cheers
>
>
> On Fri, Mar 7, 2008 at 10:44 AM, Tom Sommer <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I wish to setup the following check interval:
> >
> > Check the service every 5 minutes
> >  -> If down then check the service every 1 minute for 3 minutes/times
> >   -> If still down, notify and continue to check the service every 1
> > minute until it recovers.
> >
> > I'm having a few problems with the last condition. Basically once the
> > notification is sent, Nagios seems to revert to the "normal" check
> > interval, which is 5 minutes - resulting in a substantial delay for the
> > recovery notification to be sent.
> >
> > My settings are:
> > max_check_attempts 3
> > check_interval 5
> > retry_interval 1
> >
> > Did I miss anything or is the above simply not possible?
> >
> > Using 3.0rc3
> >
> > Thanks
> > --
> > Tom Sommer
> >
> >
> > -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Marcel
I"ve meant:

"I have NOT implemented yet..." - sorry for my bad english.



On Fri, Mar 7, 2008 at 3:10 PM, Marcel <[EMAIL PROTECTED]> wrote:

> I guess that in 3.0rc3 you can modify service check configuration
> on-demand.
>
> Not implemented yet, but you should be able to do something like changing
> normal_check_interval until it reaches an OK state.
>
> Anyone here already come up with a solution to this problem?
>
> Cheers
>
>
> On Fri, Mar 7, 2008 at 10:44 AM, Tom Sommer <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I wish to setup the following check interval:
> >
> > Check the service every 5 minutes
> >  -> If down then check the service every 1 minute for 3 minutes/times
> >   -> If still down, notify and continue to check the service every 1
> > minute until it recovers.
> >
> > I'm having a few problems with the last condition. Basically once the
> > notification is sent, Nagios seems to revert to the "normal" check
> > interval, which is 5 minutes - resulting in a substantial delay for the
> > recovery notification to be sent.
> >
> > My settings are:
> > max_check_attempts 3
> > check_interval 5
> > retry_interval 1
> >
> > Did I miss anything or is the above simply not possible?
> >
> > Using 3.0rc3
> >
> > Thanks
> > --
> > Tom Sommer
> >
> >
> > -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Dual-port monitoring

2008-03-17 Thread Marcel
If you would have a round-robin dns setup to reach that particular host, you
would be fine tweaking a check_host_alive command with high lost percentage,
but still reachable. But you will rely on dns name resolution to do that.

HTH,
Marcel

On Mon, Mar 17, 2008 at 4:45 PM, Israel Brewster <[EMAIL PROTECTED]>
wrote:

> On Mar 17, 2008, at 11:03 AM, Cook, Garry wrote:
>
> Do you have the ability to use loopback addresses on these devices? If so,
> that would be used as the host address, and then you could use other checks
> for the interfaces. For instance, all of my Cisco routers have a loopback
> setup. I then use 'check_ifstatus' to check the individual interfaces.
>
> Thanks,
> Garry
>
>
>
> I assume the check_ifstatus for the interfaces are services associated
> with the host? If so, then what do you use for your host check? How do you
> get the host to show as down if all the interfaces are down, but not if one
> or both (or more, if you have more than two, although that is not the case
> with any of our devices) are up?
>
> ---
> Israel Brewster
> Computer Support Technician
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> ---
>
> *From:* [EMAIL PROTECTED] [
> mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> ] *On Behalf Of *Israel Brewster
> *Sent:* Monday, March 17, 2008 12:41 PM
> *To:* Nagios Users Mailinglist
> *Subject:* Re: [Nagios-users] Dual-port monitoring
>
> On Mar 17, 2008, at 9:03 AM, Gary Every wrote:
>
>
> In your services file:
>
> define service {
>   use   generic-service
>   name  Ping
>   host_namemulti_homed_server_name
>   service_description   Ping Second IFace
>   check_command check_ping2!10.1.1.100!3000,10%!1,20%
>   contact_groupsUnix
> }
>
> for your checkcommands:
>
> define command{
> command_namecheck_ping2
> command_line/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w
> $ARG2$ -c $ARG3$ -p 5
> }
>
>
> check_ping2 adds the first ARG as the ip address that you want monitored -
> This means that the HOSTNAME will remain the same, but a diff interface will
> be checked.
>
>
> Thanks for the response. If I understand your reply correctly, though,
> this just adds a second service for the host, with a separate IP from that
> specified in the host directive. it does not, however, allow me to monitor
> the HOST on two separate IP's, taking into account that if either interface
> is up, the host is up. Perhaps my question wasn't quite clear enough. Take,
> for example, the following situation:
>
> host a has two network interfaces: a primary with an IP of 10.1.1.100 and
> a secondary with an IP of 10.1.1.101.
> Host a can be reached through either interface.
> Host a has its host address defined as the primary of 10.1.1.100, with a
> check command of check_ping
> Host a also has a service defined as above, checking the secondary
> interface (10.1.1.101)
>
> If the secondary interface goes down, then everything is fine: nagios
> notices that the service for the secondary interface is critical, checks the
> host on the primary, sees that as being fine, and sends an alert about the
> service (secondary port), while leaving the host in an OK state. This is
> exactly as it should be.
>
> However, now imagine that the primary interface goes down instead. Nagios
> attempts to check the host on the primary interface, which also fails (sicne
> the interface is down), and therefore nagios alerts that the host is down,
> and any devices behind it are unreachable. This, however, is incorrect-since
> the secondary interface is still connected and fully functional, the host
> and everything behind it is still up and reachable. What I want is a
> situation where Nagios will send me an alert if either interface of a host
> is down, but only consider the host to be down if BOTH interfaces on the
> host are down. As I explained in my original posting, I have considered a
> couple of options that may accomplish this, but neither seems as elegant as
> I would like. Thanks for any thoughts!
>
> ---
> Israel Brewster
> Computer Support Technician
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> ---
>
>
> On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster <
> [EMAIL PROTECTED]> wrote:
> I have a number of devices on my network that have dual-interfaces
> such that ei

Re: [Nagios-users] Nagios Config Script

2008-03-18 Thread Marcel
Learn scripting. Read docs and mailing list archives, ask smart.

But, in meanwhile, fruity is getting back on track, and monarch is still a
good choice of nagios config tool. I've never used Nace nor NagioSQL, but
there are people out there using them.

To complete automate monitoring related configuration within nagios, you
should know how to script and automate tasks, or you will end with a web
based config tool.


On 17 Mar 2008 19:50:19 -, Nair <[EMAIL PROTECTED]> wrote:

> Sure.
>
> I need to monitor CPU/MEM/HDD/Application etc on a Data Center Environment
> having more than 200 Servers right now and it keeps on adding.
>
> I need to automate Nagios *.cfg file creation and updation. Say i will
> mention all system IPs and services, contact , contact group etc in a tab
> seperated text file and a script should take care of file creation and
> updation.
>
> Could not find much details NACE and not good at scripting :(
>
> Can you give some ideas, how to go ahead on this.
>
> Thanks,
>
> Nair.
>
>
>
>
> On Thu, 13 Mar 2008 Russell Adams wrote :
>
> >Care to elaborate on your requirements? I'd be happy to give you some
> >ideas where NACE might help.
> >
> >Thanks.
> >
> >On Thu, Mar 13, 2008 at 12:26:15AM -, Nair wrote:
> > > Hi friends,
> > >
> > > I got to monitor my data centre with Nagios.
> > >
> > > Please share your thoughts on automated *.cfg file creation.
> > >
> > > Thank you,
> > >
> > > Manu.
> > >
> >
> > >
> -
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > > ___
> > > Nagios-users mailing list
> > > Nagios-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> > > ::: Messages without supporting info will risk being sent to /dev/null
> >
> >
> >--
> >Russell Adams[EMAIL PROTECTED]
> >
> >PGP Key ID:0x1160DCB3  http://www.adamsinfoserv.com/
> >
> >Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
> >
> >-
> >This SF.net email is sponsored by: Microsoft
> >Defy all challenges. Microsoft(R) Visual Studio 2008.
> >http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> >___
> >Nagios-users mailing list
> >Nagios-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
> >::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> >::: Messages without supporting info will risk being sent to /dev/null
>
>
> [image: 
> ICL]  PROTECTED]/2069675_2062292/2069751/1?PARTNER=3&OAS_QUERY=null>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NDOUtils Problem

2008-04-03 Thread Marcel
>From NDOUtils 1.4.b7 Changelog:

1.4b7 - 10/31/2007
-
NOTE: ** Requires Nagios 2.7 or higher, or Nagios 3.0b6
- Makefile fixes for compilation flags
- Fix for bug where service check table always had same start/end time
- Added sample init script for SLES (Bruno Quintais)
- Added --with-ndo2db-user and --with-ndo2db-group configure script options
- Fix for configfilevariables table not holding multiple entries for various
variables
- Changed/added indexes on various DB tables
- Added some very basic debug file capabilities (not complete yet)
- Fix for handling (backwards) system time changes
- Fix for missing SUN_LEN definition and strtof() functions on Solaris 8
(Christian Masopust)
- Fix for segfault when importing duplicate log file entries (Hendrik
Frenzel)
- Updated to support latest Nagios 3.x code (3.0b6)

So, I think Nagios3.0.X isn't supported yet. I'm having issues with ndomod
for nagios 3-x installs, so I've sticked with nagios 2.11 with 1.4b7 and it
works fine. Hold your migration, for a new release of the mod.

Cheers,


On Thu, Apr 3, 2008 at 5:22 PM, Joe Precious <[EMAIL PROTECTED]> wrote:

>  Hi
>
> I'm having some problems getting NDOUtils running on a new Nagios
> installation.  I have it running fine on a Nagios 3.0rc3 installation on
> Ubuntu 6.06 server but I need to move to a new server.  I've gone to Nagios
> 3.0 on a Ubuntu 7.10 machine which is all running fine but when I can't get
> NDOUtils running.  I run through the installation several times to make sure
> I've done everything, double-checked all config files, confirmed the
> database and access but it won't run.  I see the following in the Nagios
> log:-
>
> [04-03-2008 13:32:47] ndomod: Successfully reconnected to data sink! 0
> items lost, 78 queued items to flush.
> [04-03-2008 13:32:31] ndomod: Error writing to data sink! Some output may
> get lost...
> [04-03-2008 13:32:31] ndomod: Successfully flushed 289 queued items to
> data sink.
> [04-03-2008 13:32:31] ndomod: Successfully reconnected to data sink! 0
> items lost, 289 queued items to flush.
> [04-03-2008 13:32:15] ndomod: Error writing to data sink! Some output may
> get lost. 194 queued items to flush.
> [04-03-2008 13:32:15] ndomod: Successfully reconnected to data sink! 0
> items lost, 505 queued items to flush.
> [04-03-2008 13:31:59] ndomod: Error writing to data sink! Some output may
> get lost. 424 queued items to flush.
> [04-03-2008 13:31:59] ndomod: Successfully reconnected to data sink! 0
> items lost, 588 queued items to flush.
> [04-03-2008 13:31:43] ndomod: Error writing to data sink! Some output may
> get lost. 499 queued items to flush.
> [04-03-2008 13:31:43] ndomod: Successfully reconnected to data sink! 0
> items lost, 676 queued items to flush.
> [04-03-2008 13:31:27] ndomod: Error writing to data sink! Some output may
> get lost...
> [04-03-2008 13:31:27] Finished daemonizing... (New PID=14596)
> [04-03-2008 13:31:27] Event broker module
> '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully.
> [04-03-2008 13:31:27] ndomod: Successfully connected to data sink. 0
> queued items to flush.
> [04-03-2008 13:31:27] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c)
> 2005-2007 Ethan Galstad ([EMAIL PROTECTED])
> [04-03-2008 13:31:27] LOG VERSION: 2.0
> [04-03-2008 13:31:27] Local time is Thu Apr 03 13:31:27 BST 2008
> [04-03-2008 13:31:27] Nagios 3.0 starting... (PID=14594)
>
> I've found a few threads on the internet with similar errors but not found
> a resolution.  I'm at a loss how to proceed with troubleshooting.
>
> Thanks
>
> Joe
>
> Joe Precious
> ProtronicsTel:  0845 458 3234
> [EMAIL PROTECTED] Fax: 0207 407 2441
> --
>Business Driven IT
>Microsoft Gold Certified Partner
>   Cisco SMB Select Partner
> --
> Accounts • Networks • Development • Training
> --
>
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;

Re: [Nagios-users] nagios 3.01 and NDOUtils

2008-04-08 Thread Marcel
There is a thread about creating some indexes, search on.

On Tue, Apr 8, 2008 at 12:49 PM, Rusty Hall <[EMAIL PROTECTED]>
wrote:

>  I have nagios 3.01 and the latest version of ndoutils,
> nagvis and pnp4nagios installed on redhat 5.1.  Everything runs on the same
> server including  mysql . After a restart of nagios  everything runs  fine
> for about  5  minutes then I get the dreaded message "*NDO claims that
> nagios did no status Update for more than 180 seconds. Make sure that nagios
> and ndo2db are running"*.  The only way to get it back and running  is do
> rm   /usr/local/nagios/var/ndo.sock and then restart and  again it works for
> about 5 minutes. I have double and triple  check the config files in
> ndoutils, but I fear the issue is actually in nagios  itself, because if I
> tail /usr/local/nagios/var/nagios.log I see a bunch stale service checks
> being  queued up.
>
>
>
> Any help would be greatly appreciated
>
> -
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] NC_Net Testers needed- Windows Monitoring

2008-04-23 Thread Marcel
I would be glad to test it. 64 bits, vista, 2003 servers, and all kinds of
monitoring needs.

On Tue, Apr 22, 2008 at 11:25 PM, Anthony Montibello <[EMAIL PROTECTED]>
wrote:

> Hi List;
>
> Well its been a very busy year for me,  but the long awaited next release
> of NC_NEt is almost complete.
> a few items have been added to NC_Net and I could use a few users to help
> testing before the official release.
> Email me at [EMAIL PROTECTED] and I respond with the current Test
> version.
> The Only download Source of NC_NEt is on SourceForgeL
> http://sourceforge.net/projects/nc-net
>
> Fore those not familiar with NC_Net:
> NC_NEt is a Windows plugin, that can submit passive checks using NSCA  or
> be active checks using check_nt for standard tests or  check_nc_net that not
> only allows access to the extra NC_NEt commands but is fully compatible with
> any plugin that uses check_nt. NC_NEt offers simple
> installation with additional configuration when using standard defaults.
>
> NC_NEt offers all the command that check_nt has, as well as, Event Logs,
> WMI, Script Running, Enumeration Commands, Remote configuration, Grouping
> checks into a single command.  Security features include, IP or FQDN testing
> of incomming Active checks, Stripping  Relative Paths out of Script Calls,
> XOR (Default) NSCA, and naturally changing the Password of check_nt.
> Alternate Encryption can be used with NSCA though using win32_send_nsca.
>
>
> This version is still using Dot Net 2.0 and will be the last release
> before upgrading to Dot Net 3.5
>
> IT would be nice to get some feedback from 64Bit Servers, and Vista USers.
>
> Thank you
> TOny
>
> NC_Net is opensource and does not require any fees,
> however, donations for NC_NEt are appreciated and accepted through paypal
> at Montitech.com
>
>
> -
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] Can I configure my own shell scripts

2008-05-26 Thread Marcel
#!/bin/bash
# nusers.sh

WARN_T=$1;
CRIT_T=$2;
UPTIME="/usr/bin/uptime";

NUSERS_NOW=`$UPTIME|awk '{print $4}'`;

[[ $NUSERS_NOW -lt $WARN_T ]] || ( echo "WARNING"; exit 1);
[[ $NUSERS_NOW -gt $CRIT_T ]] && (echo "CRITICAL"; exit 2);

echo "UKNOWN"; exit 3;

#end nusers.sh

On Mon, May 26, 2008 at 12:39 PM, Andy Shellam <
[EMAIL PROTECTED]> wrote:

> Install the Nagios sample configuration files and you will see how the
> configuration is laid out.
> The documentation (supplied with the installation) is really decent; at
> least have a look and then come back with specific questions.
>
> Andy
>
> Mangesh Dhamale wrote:
> > hi,
> >
> > Can you give me any example.
> >
> > Regards,
> >
> > Mangesh Dhamale
> > -
> > System Administrator
> > Suma Soft Pvt. Ltd.
> > Suma Center, IInd Floor, Opp. Himali Society,
> > Near Mangeshkar Hospital, Erandwane, Pune - 411004
> > Ph : +91-20-40130400 Extn : 327
> > Cell : +91-98508 87775
> > www.sumasoft.com
> > --
> >
> > - Original Message -
> > From: "Andreas Ericsson" <[EMAIL PROTECTED]>
> > To: "Mangesh Dhamale" <[EMAIL PROTECTED]>
> > Cc: 
> > Sent: Monday, May 26, 2008 3:46 PM
> > Subject: Re: [Nagios-users] Can I configure my own shell scripts
> >
> >
> >
> >> Mangesh Dhamale wrote:
> >>
> >>> Hello Everyone,
> >>>
> >>> I have one query, can I monitor my own shell scripts.
> >>>
> >>>
> >> Yes.
> >>
> >> --
> >> Andreas Ericsson   [EMAIL PROTECTED]
> >> OP5 AB www.op5.se
> >> Tel: +46 8-230225  Fax: +46 8-230231
> >>
> >>
> > --
> > Confidentiality Note: This e-mail message and any attachments to it are
> > intended only for the named recipients and may contain legally privileged
> > and/or confidential information. If you are not one of the intended
> > recipients, please forward this mail to [EMAIL PROTECTED] and do not
> duplicate or forward this
> > e-mail message and immediately delete it from your computer.
> > --
> >
> > -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] nagios.cmd denial of service

2008-06-16 Thread Marcel
Hi list,

I'm a huge nagios fan, using it about 3 years now. Need to know how to get
around a problem.

This is for my central nagios instance alone. (nagios 2.9 + ndomod)

The problem appears to be related to the number of passive result checks
being cached at CHKBUF variables. When the problem occurs,
USEDCHKBUF=HIGHCHKBUF=TOTALCHKBUF=40960(40KB), then a restart would bring
back Nagios to it's normal operation. Also, for diagnostic's relevancy sake,
it was found that a malign script was flooding Nagios with 450 to 500
passive check results per minute.

If I'm making the correct assertions, Nagios configured with
command_check_interval=-1, and with LOTS of passive checks coming through
nagios.cmd, there is a conjunction of factors still unknown to me that
causes Nagios to hang, perhaps because of Nagios not being able to reaper
services frequently enough (service_reaper_frequency=1. Could not set it to
0, though), Nagios CMD Buffers remains stable, not reaching TOTBUFs, and not
increasing HIGHBUFs. As a initial troubleshooting, I've unset sleep_time
variable. Could it be done to service_reaper_frequency as well or it would
use default values?

Well, I'm just writing this down to see if someone had the same problems
regarding CHKBUFs not being consumed.

Thanks you in advance,

Marcel Mitsuto.
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Bunch of strange issues

2008-06-18 Thread Marcel
Yes,

Double Nagios instances would write twice to the status.dat file, whence
doubling the objects reported by the cgis, which parse the status.dat file
to render the web pages.

On Wed, Jun 18, 2008 at 3:04 PM, Drew Weaver <[EMAIL PROTECTED]> wrote:

> As much as I hate replying to myself. It turns out I had two Nagios
> instances running simultaneously and that was causing 80% of my issues.
>
> (naughty init script...)
>
> Does anyone know what would cause the configuration section of CGI to show
> double hosts/services/contacts (it's still doing that..)
>
> -Drew
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Drew Weaver
> Sent: Wednesday, June 18, 2008 1:53 PM
> To: 'Marcel'
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Bunch of strange issues
>
> I'm pretty sure there may be something 'worse' going on than previously
> thought.
>
> If I view the 'configuration' section of the nagios web interface
>
> It shows me 2x for each host and 2x for each service, if I am on the
> tactical overview and I keep refreshing over and over, about 50% of the time
> I see:
>
> # Active Host / Service Checks:
> 2 / 9
>
> The other 50% of the time I see:
>
> # Active Host / Service Checks:
> 8 / 38
>
> The 8/38 is correct.
>
> If I run:
>
> /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg
>
> Nagios 3.0.1
> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
> Last Modified: 04-01-2008
> License: GPL
>
> Timing information on object configuration processing is listed
> below.  You can use this information to see if precaching your
> object configuration would be useful.
>
> Object Config Source: Config files (uncached)
>
> OBJECT CONFIG PROCESSING TIMES  (* = Potential for precache savings
> with -u option)
> --
> Read: 0.002732 sec
> Resolve:  0.18 sec  *
> Recomb Contactgroups: 0.03 sec  *
> Recomb Hostgroups:0.03 sec  *
> Dup Services: 0.50 sec  *
> Recomb Servicegroups: 0.02 sec  *
> Duplicate:0.01 sec  *
> Inherit:  0.07 sec  *
> Recomb Contacts:  0.00 sec  *
> Sort: 0.01 sec  *
> Register: 0.000274 sec
> Free: 0.33 sec
>  
> TOTAL:0.003124 sec  * = 0.85 sec (2.72%) estimated
> savings
>
>
> RETENTION DATA TIMES
> --
> Read and Process: 0.000944 sec
>  
> TOTAL:0.000944 sec
>
>
> Timing information on configuration verification is listed below.
>
> CONFIG VERIFICATION TIMES  (* = Potential for speedup with -x
> option)
> --
> Object Relationships: 0.000178 sec
> Circular Paths:   0.03 sec  *
> Misc: 0.69 sec
>  
> TOTAL:0.000250 sec  * = 0.03 sec (1.2%) estimated
> savings
>
>
> EVENT SCHEDULING TIMES
> -
> Get service info:0.000122 sec
> Get host info info:  0.20 sec
> Get service params:  0.04 sec
> Schedule service times:  0.000194 sec
> Schedule service events: 0.27 sec
> Get host params: 0.01 sec
> Schedule host times: 0.41 sec
> Schedule host events:0.07 sec
> 
> TOTAL:   0.000416 sec
>
>
> Projected scheduling information for host and service checks
> is listed below.  This information assumes that you are going
> to start running Nagios with your current config files.
>
> HOST SCHEDULING INFORMATION
> ---
> Total hosts: 8
> Total scheduled hosts:   8
> Host inter-check delay method:   SMART
> Average host check interval: 600.00 sec
> Host inter-check delay:  75.00 sec
> Max host check spread:   30 min
> First scheduled check:   Wed Jun 18 13:47:05 2008
> Last scheduled check:Wed Jun 18 13:55:50 2008
>
>
> SERVICE SCHEDULING INFORMATION
> ---
> Total services: 38
> Total scheduled services:   38
> Service inter-check delay method:   SMART
> Average service check interval: 600.00 sec
> Inter-check delay:  15.79 sec
> Interleave factor method:   SMART
> Average services per host:  4.75
> Service interleave f

Re: [Nagios-users] Forcing a check on a Desginated Slave from cmd.cgi?

2008-06-24 Thread Marcel
have you looked at DNX? I think it's the way to solve your problem.

On Tue, Jun 24, 2008 at 2:06 PM, Brian A. Seklecki <
[EMAIL PROTECTED]> wrote:

> All:
>
>
> In the el-generic Master w/NSCA distributed configuration, has anyone
> developed a hack to have cmd.cgi pass a SCHEDULE_FORCED_HOST_CHECK or
> SCHEDULE_FORCED_SVC_CHECK received by the master instance, onto a
> designated slave?
>
> We have a config where our slaves are in remote facilities and the
> master can only rely on passive checks -- attempting to force an active
> check on the master is a no-go due to network ACLs and other
> limitations.
>
> It would be nice to only need one web interface on the master NSCA
> receiver.
>
> The problem is two-fold (and this gets into the whole inter-component
> architecture discussion) --
>
> 1) Even with a cmd.cgi hack, there is no native meta-data within Nagios
>   to associate a host/service with a designated slave.
>
> 2) There is no clean communications channel other than a shell script
>   wrapper (ssh and keys, etc. that stdout's to the slave's nagios.cmd
>   -- this could get ugly...fast)
>
> ~BAS
>
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] PNP Nagios php-gd error

2008-06-30 Thread Marcel
Yeah, man, i'm in a situation like yours... Trying to test pnp,
nagiosgrapher, and so on...

PNP seems to me to be the most scalable solution, as it implements batch
mode updates... But I'm still trying to tweak configurations and stuff...

The major problem to me is that the documentation I've found googleing, is
all in german... :)

i've translated with translate.google.com but it's still confusing to me...

At least, my host graph is plotting correctly, but the hostname is showing
_HOST_, instead of localhost as I would expect...

Well, I'm still trying to understand the templates and such...

Just 2 cents...

[]s

On Sat, Jun 28, 2008 at 12:56 AM, Nelson Serafica <[EMAIL PROTECTED]>
wrote:

> I edit php.ini and put "extension=gd.so" and error on php gd was gone.
> However, there are still error. See below:
>
> RRD Database/usr/local/nagios/share/perfdata/ABE/PING.rrd not found.
>
> I though it will automatically create the file. Just don't know what to do
> next
>
>  **
>
>
>
>
> - Original Message 
> From: Nelson Serafica <[EMAIL PROTECTED]>
> To: nagios-users@lists.sourceforge.net
> Sent: Saturday, June 28, 2008 11:24:39 AM
> Subject: [Nagios-users] PNP Nagios php-gd error
>
> I'm also trying PNP besides Nagiosgraph. I finished install PNP but the
> problem when I click the icon, it says
>
> ok Initalising
>
> ok Using /usr/local/nagios/share/perfdata/
>
> ok RRDTool /usr/bin/rrdtool found.
>
> ok RRDTool /usr/bin/rrdtool is executable
>
> ok PHP Function proc_open is enabled
>
> ok PHP Function fpassthru is enabled
>
> ok PHP Function xml_parser_create is enabled
>
> ok PHP zlib Support found.
>
> ! PHP GD Support not found.
>
>
> After I saw the error, I install php-gd via rpm. Then recompile pnp and
> restart nagios. Still, error keep on showing. I'm wondering why it still
> saying "PHP GD SUpport not found" when I already install it?
>
>
> --
>  New Email addresses available on Yahoo!
> 
> Get the Email name you've always wanted on the new @ymail and @rocketmail.
> Hurry before someone else does!
>
> --
>  New Email names for you!
> 
> Get the Email name you've always wanted on the new @ymail and @rocketmail.
> Hurry before someone else does!
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] PNP Nagios php-gd error

2008-07-01 Thread Marcel
On Tue, Jul 1, 2008 at 1:20 AM, Joerg Linge <[EMAIL PROTECTED]> wrote:

> Marcel schrieb:
> > Yeah, man, i'm in a situation like yours... Trying to test pnp,
> > nagiosgrapher, and so on...
> >
> > PNP seems to me to be the most scalable solution, as it implements batch
> > mode updates... But I'm still trying to tweak configurations and stuff...
> >
> > The major problem to me is that the documentation I've found googleing,
> > is all in german... :)
> >
> > i've translated with translate.google.com <http://translate.google.com>
> > but it's still confusing to me...
> >
> > At least, my host graph is plotting correctly, but the hostname is
> > showing _HOST_, instead of localhost as I would expect...
> >
> > Well, I'm still trying to understand the templates and such...
>
> Nope, dokumentation is available in english
>
> http://www.pnp4nagios.org/pnp/start


Ok, there is *some* documentation there.

I was looking for some documentation regarding how the
/path/to/nagios/etc/pnp/check_commands/check-host-alive.cfg behaves or
changes the bahavior of pnp.
Isn't quite clear to me what the files in that especific folder does, or
where is the file that tells pnp that the rrd template should change _HOST_
to the actuall hostname.

Well, I'm signin up for the pnp mailling list, will try to get better
results there.

TFYR,
Marcel
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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] New Version NC_Net (Windows Plugin)

2008-07-02 Thread Marcel
Hi Tony,

I'm in debt with you. Sorry to postpone my feedback of the version of NC_Net
that you've sent to me for testing.

Well, after a painless but full of workload setup of my company's
Exchange2007 platform, NC_Net was deployed gracefully, a drop-in replacement
for the already configured checks of this class of hosts, and we're at the
road to implement new monitoring solutions with your advanced WMI queries
interface. Not a thing to complain about it, running perfectly stable so
far.

Thank you very much for NC_Net, I'll send you a postcard if you'd like,
unfortunatelly, that is the only way I could spend of my own to thank you (I
do not have the power to send you donations in behalf of the company I work
for, nor on my own behalf as a Jr. sysadmin in Brazil ;).

Well, I'll send updates on list informing the development of the new checks
that will come up using WMI.

Thank you again.
Marcel

On Wed, Jul 2, 2008 at 9:38 PM, Anthony Montibello <[EMAIL PROTECTED]>
wrote:

> Hi Everyone,
>
> There is finally a new version of NC_Net released on Sourceforge: V4.4.x
> http://sourceforge.net/projects/nc-net
>
> NOTE:
> Official Releases of NC_Net are only Hosted through SourceForge.
> all users are advised to test the newest version for compatibility before
> upgrading
> This is the last Dot NEt 2.x release,
> NC_Net will be upgraded to the newest version of Dot NEt for the next
> release.
>
> OVERVIEW::
> NC_Net is a Windows Plug in that uses Check_nt.
> NC_Net also offers Many other  Functions built into it including (most
> require compiling Check_nc_net.c instead of using check_nt.c)
> Remote NC_Net Configuration (via Check_nc_net) (Can be disabled in Config)
> Enumeration of Many Windows objects (via Check_nc_net)
> Running local Scripts/executable on the Windows Host (via Check_nc_net)
> (Similar to NRPE)
> Submitting Checks to nagios via NSCA (Can configure via check_nc_net or
> manually via config files on windows host)
> Submitting Passive Host Checks
> Disabling Accepting Active checks (For use when only passive checks are
> allowed)
> Compatible with Telnet, Check_nt, Check_nc_net, and other Test consols
> Consolidation of Check results through single Active Check with Performance
> data - (Requires Configuring Passive checks)
> Output Concatenation (Requires configuring Command Files)
> Easy Install via msi file (Uses Windows Installer and allows for Standard
> Installer options for Quiet install and Path location)
>
>
> BASIC COMMANDS:
> besides the standard Check_nt commands
> (CPU,Fileage, Memory, Disk,  Uptime, services, processes, Counters,
> Version)
> Checks for Windows Event Logs
> Checks  WMI
> Checks Windows TIme
> Echo
> see Commands.txt for a full list of commands.
>
>
> UPDATES:
> include several Minor Bug fixes
> (Mostly in the Passive Check Output fixes)
> Fix to allow for Extended Character  like umlauten
> Added FILEAGE_NEW - for Min/MAX of all Files in a Directory (The older
> FileAge checked the Directories Properties instead of each file)
> Removed older files -THis package Does not need Dot net 1.1 but Does need
> 2.0 or Higher
> Modified Event Log Message for when Performance Counters are Corrupted (Log
> message points to MS KnowlegeBase article for fix)
> update to Check_nc_net.c to allow for the new commands
> Other Documentation Cleanup.
>
>
> SUPPORT:
> please use the NC_NEt forum First:
> http://sourceforge.net/projects/nc-net
> for more involved issues:
> [EMAIL PROTECTED]
>
> Thanks
> Tony (Author of NC_NET)
>
>
>
>
> -
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ___
> 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
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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] add hosts to running nagios through API?

2008-07-02 Thread Marcel
On Tue, Jul 1, 2008 at 9:21 AM, Marc Powell <[EMAIL PROTECTED]> wrote:

>
> On Jul 1, 2008, at 4:30 AM, Christian Schneemann wrote:
>
> > Hi,
> > is it possible to add hosts to a running nagios server through an AP
> > (commands
> > in command file)?
>
> Not currently... Interpret as you will --
>
> checks.c:   /* TODO - add new service
> definition automatically */
> checks.c:   /* TODO - add new host definition
> automatically */
>
> I also believe this might be something the event broker could do in
> the future.


Or, could be something like: I have this lines on my passive central nagios
instance:
 [1215007259] Warning:  Passive check result was received for service 'Boot
Check' on host 'mamute1', but the service could not be found!

As passive checks could get in without even been configured, and it already
has the threshold logic done, Nagios would only configure the new service,
replicate it to the ndo database, and when restarting/reloading, generating
the correct entry in the config files for persistency. So, it would be
possible to have dinamic zero-configuration installs for extrictely passive
nagios instances. As we move to a passively monitoring platform, all
monitored hosts within our datacenter have the plugins to check_server,
check_procs, check_if, and so on, and the sysadmin have the hability to
configure de thresholds and checks without the need of tweaking nagios
configs. All is needed to be done is configuring cron, thresholds, etc, and
Nagios would take care of everything else.

> I can't know which hosts here at work will have the software
> > installed, but
> > when they have it insalled they has to be monitored.
>
> How would nagios know about them then? My suggestion would be to
> create your own plugin that knows this information and checks them all
> at once. Assign it to a host that always runs the software or a dummy
> host created for this purpose. Alternately, have the service check
> assigned to all possible hosts but exit as OK if the software isn't
> supposed to be running on it at that time.
>
> --
> Marc


Cheers,
Marcel
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] problem in scheduling

2008-07-08 Thread Marcel
On Tue, Jul 8, 2008 at 8:57 AM, André Moura <[EMAIL PROTECTED]> wrote:

> I'm using Nagios 3.0.3 in Red Hat AS 5 with 7.000 services checking. But,
> where rotation log the midnight, this problem occurs:
>
> service1 CRITICAL 08-07-2008 08:42:56 1d 4h 10m 13s 1/1
> return to plugin
>
> service2 CRITICAL 07-07-2008 23:58:00 0d 9h 19m 49s 1/1
> return to plugin


The duration of 0d 9h 19m 49s means that the service2 is critical for that
long. It is not related to log rotation at all.
What makes you think that nagios log rotation is causing this?

The service2 stopped to check  at 23:58, this occurs every day at midnight.
>
> Someone has the same problem? why this occurs?
>

Never had this problem before.
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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_freshness detecting staled services in alphabetical order

2008-07-14 Thread Marcel
Hey,

Have any of you have seen anything like this before?

Nagios 2.9, ndoutils 1.4b4.

Nagios began to detect staled services in alphabethical order, in batches of
almost 400 hosts at a time.

check_service_freshness=1
service_freshness_check_interval=900
check_host_freshness=0
host_freshness_check_interval=900

cheers from Brazil...
Marcel
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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_freshness detecting staled services in alphabetical order

2008-07-15 Thread Marcel
On Tue, Jul 15, 2008 at 7:15 AM, Thomas Guyot-Sionnest <[EMAIL PROTECTED]>
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 14/07/08 04:40 PM, Marcel wrote:
> > Hey,
> >
> > Have any of you have seen anything like this before?
> >
> > Nagios 2.9, ndoutils 1.4b4.
> >
> > Nagios began to detect staled services in alphabethical order, in
> > batches of almost 400 hosts at a time.
> >
> > check_service_freshness=1
> > service_freshness_check_interval=900
> > check_host_freshness=0
> > host_freshness_check_interval=900
>
> Freshness checking is a scheduled event that runs every 30 seconds or so
> (configurable). If you define passive checks with freshness checking and
> nothing updates them, then they'll all become stale around the same time
> and the loop will likely pick them up at the exact same time.


Yeah, right on, I've already read the documentation and I'm working for more
than 3 years now, but never seen this behaviour before.


>
>
> So unless you have external processes updating these services (people
> usually use nsca to perform this from remote hosts) this is the expected
> behaviour ;).


Indeed. I've a syslog-ng platform to transport passive check results. But
other than that, nothing else different.


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

Re: [Nagios-users] Monitor log file for inactivity?

2008-07-23 Thread Marcel
On Tue, Jul 22, 2008 at 6:26 PM, Mark Young <[EMAIL PROTECTED]> wrote:

>
> On Jul 22, 2008, at 7:56 AM, Sean Carolan wrote:
> > I have heard that check_by_ssh can cause a lot of overhead on large
> > networks where there are many checks going on at the same time.  Can
> > anyone give some practical numbers here?  I have about 160 machines
> > that need to be monitored, most of them will simply have the basic
> > CPU/Disk/Memory monitoring.  I would think that on a small network
> > like this it should not be a major problem.
>

[ "`stat /tmp/delta_perc.log  | egrep Modify | awk '{print $3}' | cut -d.
-f1 | date +%s`" -lt "`date +%s`" ] && \
  echo "[`date +%s`] PROCESS_SERVICE_CHECK_RESULT;host1;Log File Age;2;Lower
Than" >> /usr/local/nagios/var/rw/nagios.cmd

One liner cron plugin. 2 cents... ;)


>
>
> You should no problem if you are running on decent hardware since
> don't have that many hosts and only a few services will be checked
> with SSH.  NRPE is definitely the preferred method for running remote
> checks.  With each SSH check you are creating a new tunnel, logging
> onto a remote machine as the user you setup, running the command,
> waiting for output, and closing the connection.  Plus you are normally
> creating a public ssh key that allows for password-less log on.  You
> can see where there are both performance and security concerns.
>
> Check_by_ssh will work fine but I would at least take a took at NRPE.
> The difference in setting it up may be smaller than you think since
> you will have to touch each machine to install the plugins no matter
> what you decide.
>
>
> >
> > Nice.  I really appreciate the help.  Nagios will soon be replacing
> > the feature-challenged monitoring software we are using now for Linux
> > machines.
>
> Good to hear and good luck! :-)
>
>
> Mark Young
> ___
> Nagios Enterprises, LLC
> Web:www.nagios.com
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] SVN Nagios compiling problem on NetBSD

2008-07-31 Thread Marcel
Hello Nagios gurus!!

I'm trying to compile nagios at sdf. Here is the trouble:

[1]:C/nagios> make all
cd ./base && make
gcc -g -O2 -I/usr/pkg/include -DHAVE_CONFIG_H
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -DNSCORE
-o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o
flapping.o logging.o macros-base.o notifications.o sehandlers.o skiplist.o
utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o
objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o
perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o
-Wl,-export-dynamic -L/usr/pkg/lib  -lm  -lpthread -lltdl -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -lglib-2.0 -lintl
ld: warning: libintl.so.0, needed by /usr/pkg/lib/libglib-2.0.so, may
conflict with libintl.so.3
utils.o(.text+0x5fb8): In function `command_file_worker_thread':
/home/nagios/C/nagios/base/utils.c:3816: undefined reference to
`pthread__cleanup_push'
utils.o(.text+0x5fbc):/home/nagios/C/nagios/base/utils.c:3816: undefined
reference to `pthread__cleanup_push'
*** Error code 1

Stop.
make: stopped in /home/nagios/C/nagios/base
*** Error code 1

Stop.
make: stopped in /home/nagios/C/nagios
[1]:C/nagios> uname -a
NetBSD sdf 2.1.0_STABLE NetBSD 2.1.0_STABLE (sdf) #0: Fri Mar 30 02:24:32
UTC 2007  [EMAIL PROTECTED]:/var/sys/arch/alpha/compile/sdf alpha
[0]:C/nagios>

Can't seem to workaround this. As this host being super-dimensional-fortress
lonestar dot org, i can't tweak libs nor anything. Nagios-2.5 compiles fine.


Did any of NetBSD sysadmins out-there knows of any way to get svn nagios
compiled on NetBSD 2.1?

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

[Nagios-users] BGP full route monitoring

2008-08-20 Thread Marcel
Anyone has setup any kind of black hole BGP monitoring?

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

Re: [Nagios-users] M$ Radius service checking

2008-08-20 Thread Marcel
Yeah, i do.

I've compiled freeradius client, and have developed a simple script that
wraps it to authenticate against IAS.
It's a dirty-but-functional script, though. I have some restrictive
licensing of code wrote for the company I work for.

So i mean you are on your own.

Sorry, but HTH,

Marcel

On Mon, Aug 18, 2008 at 3:39 PM, Serafin, Chris <[EMAIL PROTECTED]> wrote:

>  The client/myself tend to shy away from running clients on the servers,
> as we both prefer SNMP. Thank you for your response though!
>
>
>
> Back to google'in for answers, anyone else monitor MS Radius?
>
>
>
> *Chris Serafin*
>
> Security Engineer
>
> RKON Technologies
>
> Office : 312-654-0300
>
> Cell: 708-307-2413
>
>
>
> *From:* Seth Simmons [mailto:[EMAIL PROTECTED]
> *Sent:* Monday, August 18, 2008 1:34 PM
> *To:* Serafin, Chris; Nagios-users@lists.sourceforge.net
> *Subject:* RE: [Nagios-users] M$ Radius service checking
>
>
>
> If you just want to check if the service is running, you could do this with
> nsclient.
>
>
>
> check_command check_nt!SERVICESTATE!-d SHOWALL
> -l IAS
>
>
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Serafin, Chris
> *Sent:* Monday, August 18, 2008 12:22 PM
> *To:* Nagios-users@lists.sourceforge.net
> *Subject:* [Nagios-users] M$ Radius service checking
>
>
>
> Is anyone monitoring Microsoft IAS Radius service? I normally monitor
> Windows services via SNMP and the service xxx.exe; but the IAS Radius
> service uses svchost.exe, which has 7+ processes running in the background.
> Is there a specific check, other than actually using Nagios to authenticate
> to the server every 10 min or so?
>
>
>
>
>
> *Chris Serafin*
>
> Security Engineer
>
> RKON Technologies
>
> Office : 312-654-0300
>
> Cell: 708-307-2413
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] send_nsca - help

2008-08-20 Thread Marcel
Yo,

On Tue, Aug 19, 2008 at 5:31 PM, Joerg Linge <[EMAIL PROTECTED]> wrote:

> Murali Edula schrieb:
> > Hi,
> >
> >
> >
> > we are in the process of configuring Nagios monitoring tool in
> > distribution model.
> >
> > So I have configured nsca daemon on centrol server and send_nsca on
> > distributed server.
> >
> > *Versions : Nagios 3.0.3, nsca 2.7.2 – I hope these are latest versions.*
> >
> >
> >
> >
> >
> > 1.   Daemon configured fine and listening requests.
> >
> > 2.   Send_nsca also working great if I ran stand alone on
> > distribution server . Example
> >
> > ./send_nsca -H 10.1.1.216 -c /usr/local/nagios/etc/send_nsca.cfg
> > abc.baytree.com 'Current Users' 0 'User count OK'
> >
> >
> >
> > But when I configure ocsp_command is not working. Nagios.log shows
> follows
> >
> >
> >
> > 
> >
> > [1219176254] Warning: Attempting to execute the command
> > "/usr/local/nagios/libexec/eventhandlers/send_service_check
> > abc.baytree.com 'Current Users' 0 'USERS OK - 11 users currently logged
> > in'" resulted in a return code of 127.  Make sure the script or binary
> > you are trying to execute actually exists...
> >
> >
> >
> > ===
> >
> >
> >
> >
> >
> > Please help me if I am missing anything here.
> >
> >
> >
> > My ocsp entries Nagios.cfg – distributed server
> >
> >
> >
> > obsess_over_services=1
> >
> > obsess_over_hosts=1
> >
> > ocsp_command=send_service_check
> >
> > ochp_command=send_host_check
> >
> > ocsp_timeout=5
> >
> > ochp_timeout=5
> >
> >
> >
> > 
> >
> >
> >
> > commands.cfg
> >
> > define command{
> >
> > command_name   send_service_check
> >
> > command_line   $USER1$/eventhandlers/send_service_check
> > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATEID$ '$SERVICEOUTPUT$'
> >
> >   }
> >
> >
> >
> > ===
> >
> > Code – Shell script
> >
> > /usr/local/nagios/libexec/eventhandles/ send_service_check
> >
> >
> >
> >
> >
> > #!/bin/bash
> >
> > # Script : send_service_check
> >
> > #PRINTF="/usr/bin/printf"
> >
> > CMD="/usr/local/nagios/bin/send_nsca"
> >
> > CFG="/usr/local/nagios/etc/send_nsca.cfg"
> >
> > HOST=$1
> >
> > SRV=$2
> >
> > RESULT=$3
> >
> > OUTPUT=$4
> >
> > #
> >
> > /bin/echo "$1","$2","$3","$4" | $CMD -H 10.1.1.216 -c $CFG -d ","
> >
>
> you call eventhandlers/send_service_check but you script is named
> eventhandles/send_service_check
>
>
> Regards
>
> Joerg
>
>

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

Re: [Nagios-users] Physical limitations of config files

2008-08-26 Thread Marcel
My central instance services.cfg has 13MB. Comprises about 15k services for
~4k hosts.

On Fri, Aug 22, 2008 at 5:43 AM, Assaf Flatto <[EMAIL PROTECTED]>wrote:

> I've never encountered a size limit.
>
> and i encountered a configuration with one file with a size of 2.4 mb .
>
> Assaf
>
>
>
> On Friday 22 August 2008 03:09:10 Dave Horsfall wrote:
> > Nagios 2.12.
> >
> > What are the limitations of the config files e.g. max. line length etc,
> > and can they be continued?
> >
> > And is there a limit of the number of services/hostgroups/etc?
>
>
>
>
>
>
> IMPORTANT . this email and the information in it may be confidential,
> legally
> privileged and/or protected by law. It is intended solely for the use of
> the
> person to whom it is addressed. If you are not the intended recipient,
> please
> notify the sender immediately and do not disclose the contents to any other
> person, use it for any purpose, or store or copy the information in any
> medium.
> Please also delete all copies of this email and any attachments from your
> system.
>
> We cannot guarantee the security or confidentiality of email
> communications. We
> do not accept any liability for losses or damages that you may suffer as a
> result of your receipt of this email including but not limited to computer
> service or system failure, access delays or interruption, data non-delivery
> or
> mis-delivery, computer viruses or other harmful components.
>
> Copyright in this email and any attachments belong to Select Service
> Partner UK
> Limited. Should you communicate with anyone at Select Service Partner UK
> Limited by
> email, you consent to us monitoring and reading any such correspondence.
>
> Nothing in this email shall be taken or read as suggesting, proposing or
> relating to any agreement concerted practice or other practice that could
> infringe UK or EC competition legislation.
>
> Select Service Partner UK Limited is a company registered in England and
> Wales
> (company number 05687183) whose registered office is at 1 The Heights,
> Brooklands, Weybridge. Surrey. KT13 0NY
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Wrong next scheduled active check?

2008-09-02 Thread Marcel
How many services did you have configured? You should post also the relevant
directives of nagios.cfg for us to look at.

On Fri, Aug 29, 2008 at 10:00 AM, Livio Zanol Puppim <
[EMAIL PROTECTED]> wrote:

> Hello,
>
> My Nagios is reporting a strange value at "next scheduled active
> check" for a specified service that is suposed to run every 2 min.
> When I open the service detail at web interface it gives me the following:
>
>
> -
> Last Check Time:2008-08-29 08:44:37
> Next Scheduled Active Check:2008-08-29 08:59:42
>
> -
>
> The service definition is as following:
>
> define service{
>host_name SERVER
>service_description PING
>check_command check_ping!2000.0,90%!2900.0,100%
>max_check_attempts 1
>normal_check_interval 2
>retry_check_interval 1
>active_checks_enabled 1
>parallelize_check 1
>notifications_enabled 0
>check_period 24x7
>notification_period 24x7
>notification_options c
>notification_interval 0
>contact_groups CONTACT
> }
>
> Anyone knows why?
>
> Running Nagios 2.6 on Debian etch stable
>
> --
> []'s
>
> Lívio Zanol Puppim
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] how can i monitor a application using nagios

2008-09-09 Thread Marcel
Hey there, just a thought,

On Tue, Sep 9, 2008 at 1:37 PM, localyee <[EMAIL PROTECTED]> wrote:

>  i can monitor the server of a host,as HTTP,FTP...
> and how can i monitor an application the the host using nagios,
> what i want is to check if the application is running well-balanced or not
>

IF by 'well-balanced' you meant that you have a farm of servers which
receives or is stablishing connections through some kind of SLB or CSM
switches even VLS, then you could write a script that would verify the
number of stablished connections per service, and then comparing the number
of connections to prove your balancing algorithm choice is doing what is
supposed to do.

But, why not just test if the service is up by the virtual ip address, and
then setup a check to every host that is responding within the farm to
pin-point the problematic host without checking the balancing algorithm?

Well, I still am trying to understand what you meant by 'well balanced'.

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

[Nagios-users] HYPERIC

2008-09-09 Thread Marcel
Hi,

Anyone have cents to share about this monitoring solution?

Just get to know about it, and sounds pretty damn covered by great
partnerships.

www.hyperic.net

I would like to hear the opinion about this tool, if anyone would share your
thoughts.

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

Re: [Nagios-users] Authentication problem

2008-09-09 Thread Marcel
IF there is no way to plug-in any post-login script, you should edit
manually the /path/to/nagios/etc/cgi.cfg and add your login name where suits
your needs.

And, you should add your login name to be a contact, and that contact should
be a member of a contactgroup to actually see your hosts being monitored.

HTH

On Tue, Sep 9, 2008 at 5:48 PM, Chris Stolworthy <[EMAIL PROTECTED]>wrote:

>  I am converting my Nagios install to use active directory to authenticate
> against.  I am pretty sure this is working because when I hit my nagios url
> (nagios.site.local) it prompts for authentication.  I input my username /
> pass for active directory and it logs me in to the Nagios homepage.  However
> whenever I try to use anything (Service Detail as an example) it pops up an
> authentication box again and the only user that can navigate anywhere is the
> admin user I created when I first installed nagios.  I am guessing that
> there is something in a config somewhere, or a file that is causing this but
> I cannot seem to find it.  Any ideas?
>
>
>
> -Chris
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Monitoring 64-bit and 32-bit servers - plugin path problem

2008-09-23 Thread Marcel
I think you missed the point Andreas tried to make.

On Tue, Sep 23, 2008 at 5:48 AM, Kenneth Holter <[EMAIL PROTECTED]>wrote:

> Actually, I've done this already. The macro, say, X defines the path to be
> "/usr/lib64/nagios/plugins". But as far as I can see this does not solve my
> problem, as the path on a 32-bit systems is different than the path on a
> 64-bit system.
>

Let's say you have $USER1$ = /path/to/lib32/nagios/plugins, and
$USER2$=/path/to/lib64/nagios/plugins, thus, you should define x86_32
commands and x86_64 commands as usual, but using $USER1$ and $USER2$ where
pertinent, and then, on every x64 system, you should use the _64 commands.

HTH,
Marcel


>
>
> On 9/23/08, Andreas Ericsson <[EMAIL PROTECTED]> wrote:
>>
>> Kenneth Holter wrote:
>>
>>> Hello all.
>>>
>>>
>>> I've set up Nagios to monitor a few 64-bit machines, and this seems to be
>>> working correctly. For example, my command for checking a remote disk is
>>> defined like this:
>>>
>>>
>>> define command{
>>>command_namecheck_remote_disk
>>>command_line/somepath/check_by_ssh  -C
>>> "/usr/lib64/nagios/plugins/check_disk "
>>> }
>>>
>>> This command executes /usr/*lib64*/nagios/plugins/check_disk on the
>>> remote
>>> system. On 32-bit systems, on the other hand, the path to the plugin is
>>> /usr/*lib*/nagios/plugins/check_disk. It thus looks like I have to
>>> differentiate between 32-bit and 64-bit commands, and in effect devide
>>> the
>>> configuration itself in a 32-bit section and 64-bit section.
>>>
>>> I'm sure there is a neat way of solving this, and could use some advice.
>>> I
>>> guess I could symlink all over the place to get things going, but there
>>> are
>>> probably a better way of doing this.
>>>
>>>
>> Modify resource.cfg and use a macro to define the path to the plugins.
>>
>> --
>> Andreas Ericsson   [EMAIL PROTECTED]
>> OP5 AB www.op5.se
>> Tel: +46 8-230225  Fax: +46 8-230231
>>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Monitoring 64-bit and 32-bit servers - plugin path problem

2008-09-24 Thread Marcel
On Tue, Sep 23, 2008 at 10:50 PM, Gavin Carr <[EMAIL PROTECTED]>wrote:

> On Tue, Sep 23, 2008 at 04:42:45PM -0300, Marcel wrote:
> > I think you missed the point Andreas tried to make.
> >
> > On Tue, Sep 23, 2008 at 5:48 AM, Kenneth Holter <[EMAIL PROTECTED]
> >wrote:
> >
> > > Actually, I've done this already. The macro, say, X defines the path to
> be
> > > "/usr/lib64/nagios/plugins". But as far as I can see this does not
> solve my
> > > problem, as the path on a 32-bit systems is different than the path on
> a
> > > 64-bit system.
> > >
> >
> > Let's say you have $USER1$ = /path/to/lib32/nagios/plugins, and
> > $USER2$=/path/to/lib64/nagios/plugins, thus, you should define x86_32
> > commands and x86_64 commands as usual, but using $USER1$ and $USER2$
> where
> > pertinent, and then, on every x64 system, you should use the _64
> commands.
>
> Although that's a bit of an ugly solution, as you're having to define every
> command twice. DRY etc.
>
> We've found it easier to just leave the plugin invocations unqualified and
> add
> the relevant nagios plugins directory to the $PATH for the remote nagios
> user.
> Works nicely here.
>

Well, I was just pointing out the previous thoughts line of reason. At my
environment, I do not care if the system is 64 or 32 bits anyway. I've
pre-compiled plugins that is deployed at the very same location within
/path/to/nagios/libexec, so if it's a 64bit arch, then we deploy that kind
of plugins and the same goes to 32bits archs.

So, no resource.cfg macro definitions needed to address this kind of
situation.

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

Re: [Nagios-users] Ubuntu and FreeBSD Server

2008-11-07 Thread Marcel
Have you pointed a browser to /nagios ?

On Wed, Nov 5, 2008 at 6:04 AM, Traiano Welcome <[EMAIL PROTECTED]>wrote:

>  Hi Renato
>
> Please could you send us the output of a telnet from an Ubuntu machine to
> the freebsd Apache port? Your issue *may* be related to a tcp window-scaling
> issue that sometimes manifests between Ubuntu/Debian boxes and some
> operating system versions.
>
> Thanks,
> Traiano Welcome
> Network Monitoring Services
> Tertiary Education and Research Network of South Africa
>
>
>
> -Original Message-
> From: Renato Casagrande Júnior [mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> ]
> Sent: Wed 11/5/2008 8:24 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Ubuntu and FreeBSD Server
>
> Hello!!
> People, I have already installed Nagios on FreeBSD Server. My diffcult is
> access it using Ubuntu 7.10 software. I think my problem is in Apache. For
> example: there is one server (FreeBSD) and 80 PCs (Ubuntu 7.10). I am not
> getting access Nagios from Ubuntu's PCs.
> Anyone can help me?
>
> Tnks a lot!!  ;)
>
> --
> Renato Casagrande Júnior
> Graduando em Engenharia de Computação - Furg
> Bolsista do Laboratório de Software da Engenharia de Computação - Furg
> Furg - Universidade Federal do Rio Grande -
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] n2rrd error!

2007-08-14 Thread Gerard Marcel
Does anyone know why I am getting this error - Premature end of script
headers: rrd2graph.cgi, referer:
https://blu.com/nagios/cgi-bin/status.cgi?host=all?



/GM
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] SMS gateway

2007-11-28 Thread Marcel Hecko

Hi, does anybody know of any HARDWARE solution into which I would just
stick GSM SIM card and send SMS messages from Nagios?
Something with ethernet interface - like - I would just call HTTP URI and
the device will send the SMS text to the number encoded in the HTTP
request (both - the text and phone number).

Basically - very basic SMS gateway. With pre-paid sim card that would be
just magic!

Does something like that exist? Possibly with two-way communitaction?
What price should I be looking at?

Cheers!
Marcel

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg

2008-03-25 Thread Marcel Hecko
This should probably go to plugins maintainers since command.cfg which 
is distributed with plugins actually contains that line:

[EMAIL PROTECTED]:~/dl/nagios-plugins-1.4.11# grep notify-by-email * -R

command.cfg.in:command[notify-by-email]=/bin/printf "$OUTPUT$" | 
/bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' 
$CONTACTEMAIL$

command.cfg.in:command[host-notify-by-email]=/bin/echo -e "* Nagios 
*\n\nHost "$HOSTALIAS$" is $HOSTSTATE$!\n\nDate/Time: $DATETIME$\n" 
| /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTEMAIL$

==

Marcel Hecko
NAGIOS Consultancy, Slovakia

Robert Dodier wrote:
> On Tue, Mar 25, 2008 at 3:12 PM, Marc Powell <[EMAIL PROTECTED]> wrote:
>
>   
>>> It seems like the packaging is a little out of date; I wouldn't expect
>>>   
>>  > the latest & greatest tarball to contain configuration files with the
>>  > wrong format. Oh well.
>>
>>  I checked before responding. The example config files are in the correct
>>  format. I'm not sure where you got these but I assure you it wasn't from
>>  the distribution nagios tarball.
>> 
>
> I assure that it was indeed.
>
> I went to http://www.nagios.org/download/ and clicked the button
> to download "Nagios 3.0 (stable)" which redirected me to SF from
> which I obtained nagios-3.0.tar.gz. Then I went back to
> http://www.nagios.org/download for "Nagios Plugins (stable releases)"
> which sent me to SF, from which I downloaded the most recent
> release, nagios-plugins-1.4.11.tar.gz dated 2007-12-13.
> >From those I built rpms via rpmbuild -tb .
> Then I installed those rpms. The obsolete command.cfg was in
> one of those rpms.
>
> Maybe building rpms is a stupid idea. If so, would someone please
> remove the rpm spec files from the tarballs.
>
>   
>> This format hasn't been used or  distributed for probably 5 years or more.
>> 
>
> Maybe the files were in a state of suspended animation in the
> Bermuda Triangle or Knotts Berry Farm or something.
>
> FWIW
> Robert Dodier
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>   


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Stale log messages!

2006-05-16 Thread Gerard Marcel
I am totally confused about these error messages:
 
May 14 18:02:16 blue nagios: Warning: The results of host 'backup' are stale by 45 seconds (threshold=15 seconds).  I'm forcing an immediate check of the host.

 
I am getting a ton of these messages and I don't know why.  I looked at the archives and google and nothing seems to help.
 
 
 
TIA,
 
 
GM


Re: [Nagios-users] MySQL Alive and Accepting Connections Plugin...

2006-06-16 Thread Marcel Smeets
As a collaegue of Thomas ( :-) ) maybe i can help out:You can use your own plugin, they are based in the checkcommands.cfg in the nagios /etc dir.:e.g.# 'ssh_mysql' command definitiondefine command{
    command_name   mysql    command_line   /usr/lib/nagios/plugins/check_mysql -P 3306 -d database -H servername -u username -p password    }The check_mysql plugin is part of the default nagios-plugins package. It not only checks the DB but you are sure about what is going on :-)
Works great!!On 6/16/06, Thomas Sluyter <[EMAIL PROTECTED]> wrote:
I'm actually tempted to steer you towards check_tcp :)Would that be enough for you?On 16 Jun, 2006, at 13:52, Jan van der Merwe wrote:> Hi Guys,>> I'm looking for a really simple plugin that will just check whether
> a MySQL> server is alive and accepting connections. I've found a few plugins> that> perform some other strange functions, but none that provide this> simple> functionality.>
> Thanks!> ___> Nagios-users mailing list> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.> ::: Messages without supporting info will risk being sent to /dev/null___Nagios-users mailing list
Nagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null-- Ringtones, NameTones, RealTones, TrueTones, Polyphonic Tones Logo's, WallPapers, JavaGames and more !!
http://www.e-tones.net
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Problem with service templates

2006-05-08 Thread Marcel van Leeuwen

Hi there,

I am having a somewhat difficult situation here for which I don't know 
whehter the way the Nagios configuration files / the Monarch frontend 
are set up can even provide me an answer.


It's like this with Monarch I have created a number of service 
templates, a number of services which are based on these templates and a 
host profile called "Windows Default Host" for instance (that is host on 
which by default a number of services should be checked.


The thing is that the hosts (and thus the services) are distributed, and 
for location X I have contact group CG-X, for location Y contact-group 
CG-Y. Now in Monarch I can only enter contact groups at the service 
level. In that way I should duplicate every service for every location 
with another contact group. I can't imagine that I am the only one with 
this problem so what am I doing wrong here?


So, what I really want: I want to define different Service Profiles in 
which the same services are included. But: I want to be able to override 
the service groups in these profiles. Is this possible, or should this 
be a feature request?


Kind regards,
Marcel van Leeuwen



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Web front-end for Nagios 2.x

2006-05-09 Thread Marcel van Leeuwen

Hi,

I have latelely been looking into Monarch. This seems a very robust 
interface. For as for as I know it does support all configuration 
features and even more in the form of host and service profiles.


http://sourceforge.net/projects/monarch
or
http://www.groundworkopensource.com

Kind regards,
Marcel van Leeuwen


[EMAIL PROTECTED] wrote:
 


Hi there,

I'm looking for a GUI-frontend for Nagios 2.x.

Anyone can tell me what options I have if my requirements are:

* Nagios 2.x support, Nagios 1.x irrelevant
* Must support *all* configuration features of Nagios 2.x
* Must support template based configuration
* Restart from within the GUI
* Good support, stable, being actively maintained

I can of course see a list of potential candidates on NagiosExchange but
it seems to me that many of them are really Nagios 1.x specific. I'm
trying to save some time here by asking you lot instead of installing
and trying out each individually.


thx.

Lars





---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
___
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






---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Web front-end for Nagios 2.x

2006-05-09 Thread Marcel van Leeuwen

[EMAIL PROTECTED] wrote:

Marcel,
 
Remember my requirement:  Nagios 2.x (Nagios 1.x irrelevant)


Monarch seems to me to be GroundWorks' previous configuration front-end
while the new up-and-coming configuration front-end specific for Nagios
2.x is called Fruity, also by GroundWorks.
Is this wrong?

Yes this is wrong. I believe Monarch indeed was available for version 
1.0 (although I have never used it for that) it now has features that 
make it possible to convert existing configurations.



In any case I believe more in configuration tools that have started
their life on Nagois 2.x as I'm really afraid that the older tools have
too much baggage. Maybe I'm wrong on that one ?

Some examples that I've come across that seems to do what I want 


* Fruity, by GroundWorks,  latest version: 1.0 RC1
* NagiosQL 2005, by Martin Willisegger,   latest version 1.0 RC2

Well, I can say that I have tested both and have now migrated to Monarch 
because of the (future) scale of my Nagios implementation. Fruity is the 
light-weight brother/sister of Monarch, but works very well it provides 
an almost 1-on-1 mapping of the Nagios configuration files. I believe 
that the initial Fruity developer is now part of the Monarch team (am 
not sure about this).


I think NagiosQL is ok but I stubled across some bugs (e.g. '\' 
handling in configurations) and I found the interface not very 
comprehensible.


The above tools both work fine, and give you an option to easily 
configure your files. However, Monarch does more it adds features that 
are not supported by the Nagios configuration files that make it easy to 
maintain large groups of hosts and services, like service and host 
profiles, dependency templates, contact templates, etc..



Bases on my experience with the above I would most certainly recommend 
Monarch if you plan on having a large Nagios configuration. If not I 
think you should go for Fruity since it does give you enough to easily 
create you configuration in a very comprehensible interface.

Others?


Yes I have tried one more but can't remember which one it was..:)

Remember, that all the above are just my personal experiences...

Regards,
Marcel


Lars 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mels
Kooijman
Sent: Tuesday, May 09, 2006 10:53
To: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Re: Web front-end for Nagios 2.x

Hi,

We are using Monarch for the m$ administrators and are very positive
about it.
Only 1 thing gives some trouble.
When we add a system, first add a new file for it.
After commit Nagios reports a configuration error, the course is that
Monarch the new .cfg file not saved in the running nagios.cfg

Kind regards
Mels




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marcel 
van Leeuwen

Sent: Tuesday, May 09, 2006 9:23 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Re: Web front-end for Nagios 2.x


Hi,

I have latelely been looking into Monarch. This seems a very robust 
interface. For as for as I know it does support all configuration 
features and even more in the form of host and service profiles.


http://sourceforge.net/projects/monarch
or
http://www.groundworkopensource.com

Kind regards,
Marcel van Leeuwen


[EMAIL PROTECTED] wrote:




Hi there,

I'm looking for a GUI-frontend for Nagios 2.x.

Anyone can tell me what options I have if my requirements are:

* Nagios 2.x support, Nagios 1.x irrelevant
* Must support *all* configuration features of Nagios 2.x
* Must support template based configuration
* Restart from within the GUI
* Good support, stable, being actively maintained

I can of course see a list of potential candidates on


NagiosExchange


but it seems to me that many of them are really Nagios 1.x


specific. 

I'm trying to save some time here by asking you lot instead of 
installing and trying out each individually.



thx.

Lars





---
Using Tomcat but need to do more? Need to support web services, 
security? Get stuff done quickly with pre-integrated technology to 
make your job easier Download IBM WebSphere Application


Server v.1.0.1


based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
___
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



---
Using Tomcat but need to do more? Need to support web services, 
security? Get stuff done quickly with pre-integrated technology to 
make your job easier Download IBM WebSphere Application Server v.1.0.1



base

  1   2   3   >