Re: [Nagios-users] mbstring not loaded error message with nagvis

2009-06-04 Thread Simon Kainz
Hi ! Please try the following: Create a file test.php with the following content: Put this somewhere in you html folder, e.g where the nagvis config.php and index.php reside). Then acess it via a browser http:///test.php You will see a list if php modules. Check if mbstring is shown. Kapl

Re: [Nagios-users] Host/service Contacts question

2009-06-04 Thread Jon Angliss
On Thu, 4 Jun 2009 10:40:43 -0700, John Andrunas wrote: >If someone is listed as a contact for a host do they also get notified >of service problems on that host? If not any recommendations on how >to handle that using >http://nagios.sourceforge.net/docs/3_0/objecttricks.html Assuming the servi

Re: [Nagios-users] random nrpe socket timeout

2009-06-04 Thread Simon Finch
  >> i have troubles in our infrastructure with nrpe giving critical alerts when the nrpe socket timeout. If you add the -u switch to the nrpe_check it will return a status of unknown for the nrpe timeouts instead of critical. The second thing is to add a check on nrpe itself and then setup

Re: [Nagios-users] disk warning messages

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 4:01 PM, Jeremiah Jester wrote: > Hello, > > I'm trying to configure nagios to include the disk full percentage > in the subject line of the email notification. For example. Subject: > [Nagios] CRITICAL 99% Full on Server1 > > My commands currently look something like this

Re: [Nagios-users] Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch!

2009-06-04 Thread D. Emmanuel Feinsmith
Hi John, Thanks for your clarification. I am confused, however. Is the inag.php script not installed on the Nagios server? Daniel. On Jun 4, 2009, at 12:10 PM, John Fullington wrote: > D. Emmanuel Feinsmith danielemmanuelfeinsmith.com> > writes: > >> This app is different from iNag and oth

[Nagios-users] truncated nagios email?

2009-06-04 Thread Jeremiah Jester
When receiving an email notification of disk space full the 'Additional info' line seems to be truncated near "(32 0node=99" Any ideas why this is happening? Thanks, JJ Nagios * Notification Type: PROBLEM Service: DISK SPACE Host: prod Address: 10.10.10.47 State: CRITICAL Date/Time:

[Nagios-users] disk warning messages

2009-06-04 Thread Jeremiah Jester
Hello, I'm trying to configure nagios to include the disk full percentage in the subject line of the email notification. For example. Subject: [Nagios] CRITICAL 99% Full on Server1 My commands currently look something like this for checking disk space. Anyone have any suggestions for me? -JJ ==

Re: [Nagios-users] Nagios not sending host or service notifications

2009-06-04 Thread Tim Philips
On 5/6/09 2:36 AM, Marc Powell wrote: Hi Marc, You just saved me _lots_ of time. It looks like someone had adjusted the permissions on /tmp to 0700 and owned by root:root - hence no tmp file could be created by /usr/bin/mail or /usr/bin/mailx I did a stat on the directory but it has been up

Re: [Nagios-users] Hostgroup subtraction?

2009-06-04 Thread Chris Pepper
Marc Powell wrote: > On Jun 4, 2009, at 12:25 PM, Israel Brewster wrote: > >> For this example, that works, and perhaps for the original poster >> it's good enough. I'm running into a very similar situation, >> however, where I have a list of hostgroups in a base definition, and >> I just wa

[Nagios-users] mbstring not loaded error message with nagvis

2009-06-04 Thread Kaplan, Andrew H.
Hi there -- I went through the motions of installing NagVis 1.4 onto our Nagios 3.0.6 server, and when I try to access the nagvis page from the server console, the following error message appears on-screen: the php module "mbstring" is not loaded I verified the php-mbstring package was installed

Re: [Nagios-users] Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch!

2009-06-04 Thread John Fullington
D. Emmanuel Feinsmith danielemmanuelfeinsmith.com> writes: > This app is different from iNag and other similar iPhone applications Since you mentioned my application in your post I would like to clarify that iNag does not require you to modify your Nagios server, What iNag does do is it allow

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread James Pifer
On Thu, 2009-06-04 at 13:18 -0500, Marc Powell wrote: > On Jun 4, 2009, at 1:02 PM, Andrew Davis wrote: > > > I don't want to come across like a jerk, but wouldn't this better be > > discussed on the Centreon site? I understand its built on Nagios, > > but I'm thinking you might get better hel

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread James Pifer
On Thu, 2009-06-04 at 19:05 +0200, Romain Le Merlus wrote: > Hi, > > On Thu, Jun 4, 2009 at 6:18 PM, James Pifer > wrote: > > I have two nagios hosts.cfg files: > /etc/nagios/hosts.cfg > /usr/local/centreon/filesGeneration/nagiosCFG/1/hosts.cfg > >

Re: [Nagios-users] Hostgroup subtraction?

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 12:25 PM, Israel Brewster wrote: > For this example, that works, and perhaps for the original poster > it's good enough. I'm running into a very similar situation, > however, where I have a list of hostgroups in a base definition, and > I just want to remove one hostgroup

Re: [Nagios-users] serviceescalations question

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 1:22 PM, Marc Powell wrote: ... a bunch of crap. ignore. abort abort abort. I misread the original question. bleh. You're essentially looking for host_name * service_description * If that doesn't work with regexp matching on, then I think the next best pat

Re: [Nagios-users] serviceescalations question

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 9:35 AM, Matt Nelson wrote: > I would like to apply this serviceescalation to all services. > Anyway to say: > > service_description * > > this does not work --- > > define serviceescalation{ > hostgroup_name All Hosts > service_description

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 1:02 PM, Andrew Davis wrote: > I don't want to come across like a jerk, but wouldn't this better be > discussed on the Centreon site? I understand its built on Nagios, > but I'm thinking you might get better help and support on the > Centreon site itself.. The OP said in

[Nagios-users] Host/service Contacts question

2009-06-04 Thread John Andrunas
If someone is listed as a contact for a host do they also get notified of service problems on that host? If not any recommendations on how to handle that using http://nagios.sourceforge.net/docs/3_0/objecttricks.html -- John --

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread Andrew Davis
I don't want to come across like a jerk, but wouldn't this better be discussed on the Centreon site? I understand its built on Nagios, but I'm thinking you might get better help and support on the Centreon site itself... A. Davis Email: ncc...@gmail.com "There is no limit to what a man

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread Romain Le Merlus
Hi, On Thu, Jun 4, 2009 at 6:18 PM, James Pifer wrote: > I have two nagios hosts.cfg files: > /etc/nagios/hosts.cfg > /usr/local/centreon/filesGeneration/nagiosCFG/1/hosts.cfg > > neither of them contains the host I created... > I grepped all of the cfg files and none of them contain it... It

Re: [Nagios-users] Hostgroup subtraction?

2009-06-04 Thread Israel Brewster
On Jun 3, 2009, at 1:25 PM, Marc Powell wrote: On Jun 3, 2009, at 2:43 PM, Chris Pepper wrote: We use several hostgroups. I'd like to ensure each host is in a group for its building. My concern is that we need to avoid adding a host without adding it to a building hostgroup. I t

[Nagios-users] serviceescalations question

2009-06-04 Thread Matt Nelson
I would like to apply this serviceescalation to all services. Anyway to say: service_description * this does not work --- define serviceescalation{ hostgroup_name All Hosts service_description(I HAVE TO SPECIFY THIS FOR EACH SERVICE...) contact_group

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread James Pifer
> And nagios is showing this host in it's GUI? > I have two nagios hosts.cfg files: /etc/nagios/hosts.cfg /usr/local/centreon/filesGeneration/nagiosCFG/1/hosts.cfg neither of them contains the host I created... I grepped all of the cfg files and none of them contain it... ARGH James --

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread James Pifer
> And nagios is showing this host in it's GUI? > No it doesn't. I had suspected this was an issue a while back, but got side tracked by all the ndo problems. Any idea how centreon sends the information to nagios? Thanks, James --

Re: [Nagios-users] nSvcEvent and nSvcNotify traps

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 10:22 AM, Meyer Jerome wrote: > The only problem that I've seen, it's when a macro contains a > sentence such as $SERVICEOUTPUT$ -> "NTP CRITICAL: No response from > NTP server", each word is a parameter instead of a string Yes, of course. Your shell passes each space

Re: [Nagios-users] nSvcEvent and nSvcNotify traps

2009-06-04 Thread Meyer Jerome
> -Ursprüngliche Nachricht- > Von: Marc Powell [mailto:m...@ena.com] > Gesendet: Donnerstag, 4. Juni 2009 16:08 > An: nagios-users Mailinglist > Betreff: Re: [Nagios-users] nSvcEvent and nSvcNotify traps > > > On Jun 4, 2009, at 8:34 AM, Meyer Jerome wrote: > > >> 2 - Is this command bei

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 10:00 AM, James Pifer wrote: > On Thu, 2009-06-04 at 09:21 -0500, Marc Powell wrote: >> If you query the database directly, do you see data? >> >> SELECT * FROM nagios.nagios_hosts WHERE host_name = 'your host_name'; >> >> SELECT * FROM nagios.nagios_services s, nagios.nagios_

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread James Pifer
On Thu, 2009-06-04 at 09:21 -0500, Marc Powell wrote: > On Jun 4, 2009, at 7:05 AM, James Pifer wrote > > >> Ndo2db does not automatically start, you need to start it and create > >> an init script to start the daemon during boot up. > > > > Yes, did this and ndo2db is running. > > > But I still

Re: [Nagios-users] Nagios not sending host or service notifications

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 1:48 AM, Tim Philips wrote: > When a host (or service) experiences a problem the normal process > seems to be happening (from what I see in the UI and the logs): > > [1244096420] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- > LogVol00;CRITICAL;SOFT;1;DISK CRITICAL -

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 7:05 AM, James Pifer wrote >> Ndo2db does not automatically start, you need to start it and create >> an init script to start the daemon during boot up. > > Yes, did this and ndo2db is running. > But I still have a disconnect somewhere. I'm not getting monitoring > information

[Nagios-users] services alert interval and customization

2009-06-04 Thread Cyril Vieville
Hi everybody, My services notification interval is 60 (1 hour) but ideally I would like to be able to send only 1 by day if the percent of my disk usage doesn´t change in the warning state. For example, if my /var is full at 91% but doesn't grow to reach 92% so only 1 alert by day. If it grows

Re: [Nagios-users] nSvcEvent and nSvcNotify traps

2009-06-04 Thread Meyer Jerome
Hi Thanks for your answer! See my remarks below... > -Ursprüngliche Nachricht- > Von: Marc Powell [mailto:m...@ena.com] > Gesendet: Donnerstag, 4. Juni 2009 14:45 > An: Nagios Users > Betreff: Re: [Nagios-users] nSvcEvent and nSvcNotify traps > > > On Jun 4, 2009, at 3:26 AM, Ortner, Ge

Re: [Nagios-users] nSvcEvent and nSvcNotify traps

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 8:34 AM, Meyer Jerome wrote: >> 2 - Is this command being used as a service_notification_command >> for a >> contact or as an event_handler? $NOTIFICATIONTYPE$ isn't valid for >> event_handlers -- http://nagios.sourceforge.net/docs/3_0/macrolist.html >> . > > 1 - Yes and als

Re: [Nagios-users] Load and memory problems with Nagios 3.0.6

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 5:46 AM, Tómas Edwardsson wrote: > Hi > > I've been running into problems with Nagios 3.0.6 where CPU and Load > go up quick after each start and memory consumption gradually grows. > > At the start of the graphs below you see where Nagios was started, > it runs for somethi

Re: [Nagios-users] nSvcEvent and nSvcNotify traps

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 3:26 AM, Ortner, Gerald wrote: > Von: Meyer Jerome [mailto:jerome.me...@baldata.ch] > Gesendet: Mittwoch, 03. Juni 2009 16:27 > An: Nagios-users@lists.sourceforge.net > Betreff: [Nagios-users] nSvcEvent and nSvcNotify traps > > > > As someone an Idea? > > Define command{ > > c

Re: [Nagios-users] nagios -->> ndo2db -->> centreon

2009-06-04 Thread James Pifer
On Thu, 2009-06-04 at 10:19 +1000, Simon Finch wrote: > HTML document attachment (Text.htm) > James, > > The instance name refers to the Nagios instance id and 'Central' is > the default created by Centreon. > Port 5668 is the default port that the NDO broker module will send > data to. The corre

[Nagios-users] Nagios does not run any check anymore

2009-06-04 Thread MAD
Sorry if that question was already answered but I wasn't able to find a solution. I have Nagios v3.0.6 running some test to check the access to some URL and supervising some local metrics (cpu load, disk space...). For some reason I can't figure out, Nagios stopped running the test and re-sched

Re: [Nagios-users] nSvcEvent and nSvcNotify traps

2009-06-04 Thread Ortner, Gerald
Von: Meyer Jerome [mailto:jerome.me...@baldata.ch] Gesendet: Mittwoch, 03. Juni 2009 16:27 An: Nagios-users@lists.sourceforge.net Betreff: [Nagios-users] nSvcEvent and nSvcNotify traps As someone an Idea? When an event occurs, Nagios is sending the variable $NOTIFICATIONTYPE within Email :

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Ian Masters
If your command is working from the command line chances are it will succeed if you configure your cfg file as I indicated. I have noticed that hrSystemUptime.0 gives more accurate information than sysUpTime.0 if you have access to that oid. On the system I'm checking (a linux box) hrSystemUptime

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Kevin Keane
No. These two files are related to the SNMP daemon and the SNMP trap handling, respectively. Basically, SNMP has two different ways it operates. You can query client machines using SNMP, or the client machines can actively send you information (usually only when some event occurs). Actively sendin

[Nagios-users] Today Nordic Meet On Nagios continues with live video

2009-06-04 Thread Peter Andersson
Hi list, Today Nordic Meet on Nagios continues. The program and live video can be found at: http://nordicmeetonnagios.op5.org/ Regards Peter Andersson -- I blog, therefore I am. http://www.it-slav.net/blogs -- OpenS

[Nagios-users] Nagios not sending host or service notifications

2009-06-04 Thread Tim Philips
Hi, We have hit a weird situation with Nagios and I hope someone in the community can assist or provide some details of additional troubleshooting steps we can/should take. The situation is Nagios doesn't seem to be sending out host or service notifications. I have done the following debugg

[Nagios-users] Rebuild Nagios-packages for RHEL 5

2009-06-04 Thread Kenneth Holter
Hi all. I'd like to rebuild (from source RPM) a few RHEL 5 Nagios-plugins found in the EPEL repo. Examples of such plugins are "nagios-plugins-load" and "nagios-plugins-disk". The only relevant source RPM I've found is the "nagios-plugins" package. This package seems to include all plugins. Shou

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Jimmyboy
I have snmpd.conf and snmptrapd.conf files within the path '/etc/snmp/'. Shouldn't one need to make changes within these configuration files in order to pass/retrieve relevant information to the web interface of Nagios? What I feel is Nagios is unable to query the network entity and so unable to g

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Ian Masters
> I am trying to get SNMP to work within the /web interface of NAGIOS/. > I have a Windows-based machine installed with SNMP service and > configured with its public community. However, Nagios' web interface is > unable to pull the *sysUpTime.0* from this Windows machine though PING > works. Ha

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Ian Masters
This works fine for me: check_command check_snmp! -H 172.16.1.1 -C -o sysUpTime.0 -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that