[Nagios-users] Nagios Logrotation

2009-09-23 Thread shprahi shprahi
Hi , First time i am posting to nagios list.-;) I am using nagios 2.9 on CentOS 5.3 32 bit and all these days log rotation was happening fine and i was able to view previous days logs from front end as well as backend from archive folder ( I am doing log rotation daily basis). All of sudden from

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread Curtis LaMasters
On Wed, Sep 23, 2009 at 11:25 AM, stan wrote: > I had a contractor set up nagios for use in monitoring machines on our > internal network. One of the punch list items that he left undone was to > defeat the requirment that users log in to allow them to access nagios. > > This is an internal deploy

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread Marc Powell
On Sep 23, 2009, at 3:37 PM, stan wrote: > On Wed, Sep 23, 2009 at 06:37:02PM +0200, Martin Melin wrote: >> If you're absolutely sure you want to do this, simply edit cgi.cfg >> and set >> use_authentication = 0 >> >> (the line is already there by default and set to 1 so just find the >> line

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread Jim Avery
2009/9/23 stan : > BTW does it matter that he implemente  nagvis? Probably. Nagvis will probably have certain users authorised to edit maps. If your users don't authenticate to Nagios, it's quite likely none of them will be able to make changes to your nagvis maps. This might, or might not, be

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread stan
On Wed, Sep 23, 2009 at 06:37:02PM +0200, Martin Melin wrote: > If you're absolutely sure you want to do this, simply edit cgi.cfg and set > use_authentication = 0 > > (the line is already there by default and set to 1 so just find the line and > change it) > That is what I am looking for. Howe

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread stan
On Wed, Sep 23, 2009 at 09:33:29AM -0700, Justin Pryzby wrote: > On Wed, Sep 23, 2009 at 12:25:37PM -0400, stan wrote: > > I had a contractor set up nagios for use in monitoring machines on our > > internal network. One of the punch list items that he left undone was to > > defeat the requirment th

Re: [Nagios-users] DHCP hosts

2009-09-23 Thread Jim Avery
2009/9/23 G. S. Marzot : > Does anyone have a good solution for monitoring DHCP hosts which may > come and go? I would like to see them in some hostgroup when they are > active but not generate any alerts when gone... > > ideas? I can't say I've tried it myself, but I guess you could set them up s

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Scott Lambert
On Wed, Sep 23, 2009 at 11:05:11AM -0400, Tata, Joseph wrote: > I am having a problem getting Nagios to accept multiple templates in > object definitions. > > Here is an example. I have two templates defined in templates.cfg: > > > define host { > use host #This i

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Tata, Joseph
I believe I've figured this out. First it turns out my production Nagios server is running v2.7, I tried it on our test server which is running 3.0.3 and multiple template definitions work correctly per the documentation. Using multiple hostgroups does work as well, I just had to play around with

[Nagios-users] how to have host-defined services override hostgroup-defined services?

2009-09-23 Thread Peter Grace
Hi list, I saw a patch a few months ago that was supposed to allow hostgroup-defined services to be overriden by host-defined services. In my case, I have a sql server that I don't want to follow my generic memory check, but instead want to tweak its arguments a bit. I have shown below both serv

Re: [Nagios-users] Nagios not sending any notification.

2009-09-23 Thread Marc Powell
On Sep 23, 2009, at 12:34 PM, Deepak Joshi wrote: > > Now I am getting no more errors. see below. > > Can anybody please let me know how I can test the notifications? Find the host or service in the web interface and click on it. In the menu on the right, look for 'Send Custom [host/service]

Re: [Nagios-users] Nagios not sending any notification.

2009-09-23 Thread Deepak Joshi
Now I am getting no more errors. see below. Can anybody please let me know how I can test the notifications? Thx for all help as of now. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 3.0.3 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified:

Re: [Nagios-users] PCI GSM Modem sources.

2009-09-23 Thread Simone Felici
Never used PCI GSM cards. We are using smstools and two Nokia 6310i connected via serial port (rs232). It does great the work on two nagios servers since 2001. I've tested an old Falcom A2 GSM modem as well, with zero issues. If you need send only sms an old/stable gsm phone does the work very w

Re: [Nagios-users] $STATUSDATAFILE$ macro not working in Nagios 3.0.6

2009-09-23 Thread Marc Powell
On Sep 23, 2009, at 11:17 AM, Scott Greenman wrote: > The macro is still documented and according to the docs should be > available to service checks. > > Is this a bug? Has anyone else seen this? I've just run some simple tests and I can confirm that this is broken in 3.1.2. I've also take

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread Martin Melin
If you're absolutely sure you want to do this, simply edit cgi.cfg and set use_authentication = 0 (the line is already there by default and set to 1 so just find the line and change it) Regards Martin Melin On Wed, Sep 23, 2009 at 6:25 PM, stan wrote: > I had a contractor set up nagios for use

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Marc Powell
On Sep 23, 2009, at 10:32 AM, Tata, Joseph wrote: > On Wed, Sep 23, 2009 at 10:05 AM, Tata, Joseph > wrote: >> I am having a problem getting Nagios to accept multiple templates in >> object definitions. >> >> Here is an example. I have two templates defined in templates.cfg: >> Instead when

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread Justin Pryzby
On Wed, Sep 23, 2009 at 12:25:37PM -0400, stan wrote: > I had a contractor set up nagios for use in monitoring machines on our > internal network. One of the punch list items that he left undone was to > defeat the requirment that users log in to allow them to access nagios. > > This is an intern

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Mathew Walker
make sure you have hostgroup definitions setup ... define hostgroup{ hostgroup_name DUMMY2 alias Dummy2 Servers } Also NOTE in my test host, I have the line: use dummy-hosts1,dummy-hosts2 Each defines group DUMMY1 and DUMMY2 respectively... after rest

[Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread stan
I had a contractor set up nagios for use in monitoring machines on our internal network. One of the punch list items that he left undone was to defeat the requirment that users log in to allow them to access nagios. This is an internal deploymnet, and I really don't want the users to have to do t

[Nagios-users] PCI GSM Modem sources.

2009-09-23 Thread Roderick A. Anderson
Right after the "Gnokki Issues" thread started a client was the victim of an upstream connectivity provider's power outage. so I started researching options to get the word out to the admins via SMS instead of email-to-SMS when there is no internet connectivity. I found the "Teltonika T-Modem

[Nagios-users] $STATUSDATAFILE$ macro not working in Nagios 3.0.6

2009-09-23 Thread Scott Greenman
We just upgraded from Nagios 2.x to Nagios 3.0.6 running on debian Lenny. I have a check command and service defined as follows: define command { command_namecheck_cluster command_line$USER2$/check_cluster.py $ARG1$ $STATUSDATAFILE$ "$ARG2$" "$ARG3$" } define service {

Re: [Nagios-users] DHCP hosts

2009-09-23 Thread Morris, Patrick
G. S. Marzot wrote: > Does anyone have a good solution for monitoring DHCP hosts which may > come and go? I would like to see them in some hostgroup when they are > active but not generate any alerts when gone... > > ideas? > Monitor them by DNS name, with no notifications on the host check?

[Nagios-users] DHCP hosts

2009-09-23 Thread G. S. Marzot
Does anyone have a good solution for monitoring DHCP hosts which may come and go? I would like to see them in some hostgroup when they are active but not generate any alerts when gone... ideas? thanks, Giovanni -- Come

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Greg Pangrazio
I agree that this would be much simpler, but I have no experience there. Greg Pangrazio pangr...@gmail.com On Wed, Sep 23, 2009 at 10:32 AM, Tata, Joseph wrote: > It does, but I'm trying to avoid this because I have rather large number > configurations in my environment that I need to cover

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Tata, Joseph
It does, but I'm trying to avoid this because I have rather large number configurations in my environment that I need to cover (various clients, platforms, production levels, etc). Chaining templates to cover every possible combination will be very complicated. It would be much easier if I coul

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Justin Pryzby
On Wed, Sep 23, 2009 at 11:05:11AM -0400, Tata, Joseph wrote: > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html indicates > this should be possible, and that the resulting object should have > properties of both hosts, but something isn't working. Am I not > defining something correc

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Greg Pangrazio
When you define win-host can you put "use prod-host" in the definition? Then in the host, only put "use win-host"? Does this do what you are trying to accomplish? Greg Pangrazio pangr...@gmail.com On Wed, Sep 23, 2009 at 10:05 AM, Tata, Joseph wrote: > I am having a problem getting Nagios

[Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Tata, Joseph
I am having a problem getting Nagios to accept multiple templates in object definitions. Here is an example. I have two templates defined in templates.cfg: define host { use host #This is my "generic" template with all my basic options in it name

[Nagios-users] notify servicegroup escalation without duplicate contacts

2009-09-23 Thread Justin Pryzby
I'm looking for a way of effectively using multiple contacts each with multiple contact addresses. I was hoping to do something like: define contact { servicegroups important notification_commandby-email contact_groups

Re: [Nagios-users] NAGIOS WEB ERROR

2009-09-23 Thread Morris, Patrick
Nick Wambugu wrote: > All, > > I need help, I have installed and configured NAGIOS on my freebsd box but > I bump into this error while i try to access it via web, > > It appears as though you do not have permission to view information for > any of the services you requested... > > If you believe t

Re: [Nagios-users] Gnokki Issues

2009-09-23 Thread Morris, Patrick
Martyn wrote: > > Hi all, I have just installed Gnokii for my SMS alerts and having a > few issues, could you check my config and let me know if you see any > errors or any reason why I can not send SMS alerts. > > I can send SMS via command line in the following way: > > echo "Hello World" | gno

[Nagios-users] NAGIOS WEB ERROR

2009-09-23 Thread Nick Wambugu
All, I need help, I have installed and configured NAGIOS on my freebsd box but I bump into this error while i try to access it via web, It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP se

[Nagios-users] Gnokki Issues

2009-09-23 Thread Martyn
Hi all, I have just installed Gnokii for my SMS alerts and having a few issues, could you check my config and let me know if you see any errors or any reason why I can not send SMS alerts. I can send SMS via command line in the following way: echo "Hello World" | gnokii --sendsms +123456789 -r

Re: [Nagios-users] Remove ACK

2009-09-23 Thread Ivan
Thank you, it's solved. Unchecking the Sticky Acknowledge we obtain the behaviour desired. Martin Melin escribió: > What version of Nagios are you using? > > Acknowledgements are cancelled when the service changes state if you > haven't enabled/selected sticky acknowledgements, in which case th