Re: [Nagios-users] Re : Re: Re : Re: Whoops! Could not read object configuration data!

2011-07-03 Thread Yueh-Hung Liu
what are the permissions and ownerships of nagios' config files?
what user is the http server (apache) running on?


On Sun, Jul 3, 2011 at 10:06 AM,  cris...@videotron.ca wrote:
 Yes, i tried the default, from my VM installation as well... i thought it
 was that at one point... because i changed the default nagiosadmin user to
 another use id, and i had changed my htpasswd too to match them... and then
 i tested with original htpasswd and original cgi files... things havnt got
 any better... to my little comprehension... CGI is worlking fine, as well as
 php... but it some point, seems like a process not able to read a file
 config of nagios... a process from apache... which i tried to restore all
 the known config files of both products... apache and nagios to match a new
 installation...

 i know or guess that i could easlily probably just remove and reinstall or
 force a re-install of both products... but i am also the usual type of guy
 that want to know what brakes... i hate the microsoft solution of ctrl + alt
 + del ... i'dlove to find what is deffective, im sure its a config...
 because it works elsewhere... so it related to my machine. config, etc...

 - Message d'origine -
 De: Yueh-Hung Liu yuehung@gmail.com
 Date: Samedi, 2 Juillet 2011, 9:06 pm
 Objet: Re: [Nagios-users] Re : Re: Whoops! Could not read object
 configuration data!
 À: Nagios Users List nagios-users@lists.sourceforge.net

 did you check your 'cgi.cfg' config file?


 On Sun, Jul 3, 2011 at 6:08 AM,  cris...@videotron.ca wrote:
  No, not that i know off, selinux and iptables are disabled
 since i installed
  linux... first thing i do, i'd wish could be that simple tho !
 
  - Message d'origine -
  De: Jim Avery j...@jimavery.me.uk
  Date: Samedi, 2 Juillet 2011, 5:56 pm
  Objet: Re: [Nagios-users] Whoops! Could not read object
 configuration data!
  À: Nagios Users List nagios-users@lists.sourceforge.net
 
  On 2 July 2011 21:57,  cris...@videotron.ca wrote:
   Hi Community!
  
   i have a little problem here with Nagios (web interface).
 
  It's not that old chestnut selinux stopping it from working
 is it?
 
  --
 ---
  -
  All of the data generated in your IT infrastructure is seriously
  valuable.Why? It contains a definitive record of application
  performance, security
  threats, fraudulent activity, and more. Splunk takes this data
  and makes
  sense of it. IT sense. And common sense.
  http://p.sf.net/sfu/splunk-d2d-c2
  ___
  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 --
 
  All of the data generated in your IT infrastructure is
 seriously valuable.
  Why? It contains a definitive record of application
 performance, security
  threats, fraudulent activity, and more. Splunk takes this data
 and makes
  sense of it. IT sense. And common sense.
  http://p.sf.net/sfu/splunk-d2d-c2
  ___
  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

 -
 -
 All of the data generated in your IT infrastructure is seriously
 valuable.Why? It contains a definitive record of application
 performance, security
 threats, fraudulent activity, and more. Splunk takes this data
 and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 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
 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 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 

Re: [Nagios-users] check_openmanage error on W2k8r2 Dell R900

2011-07-03 Thread Trond Hasle Amundsen
Jay Wahl j...@firewahl.com writes:

 Love check_openmanage plugin for Nagios! It has been a great help for
 monitoring our Dell hardware. I recently built 3 Dell 900s with W2K8r2 with
 check_openmanage (v 3.6.8) and Dell OMSA (v 6.5.0).

Hi Jay,

Are you completely sure that you're using version 3.6.8? My reason for
asking is that the errors you get don't make sense (details below).

 I am getting the following errors:
 C:\Program Files\NSClient++\scriptscheck_openmanage
 Problem running 'omreport chassis memory': Error Correction;Multibit ECC

This was fixed a while back (version 3.6.3 IIRC).

The Error Correction field appeared in OMSA 6.4.0 and check_openmanage
triggers on strings containing Error. The particular string above
obviously does not indicate an actual error and was put in the whitelist
for errors shortly after OMSA 6.4.0 was released.

 INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at
 script/check_openmanage line 1650.
 INTERNAL ERROR: Use of uninitialized value in concatenation (.) or string at
 script/check_openmanage line 1650.

These two don't make any sense, since line 1650 only contains a comment.
They are also probably not related to the memory check.

Please verify the version of check_openmanage. The plugin will output
its version number with either of these options:

  check_openmanage -V
  check_openmanage -d

Regards,
-- 
Trond H. Amundsen t.h.amund...@usit.uio.no
Center for Information Technology Services, University of Oslo

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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 check_disk_smb

2011-07-03 Thread Rob Hillis
I'm having a problem getting check_disk_smb going on my Nagios setup.

When I run check_disk_smb from the command line on my Nagios server, I 
get the following:-

#./check_disk_smb -H 10.10.1.8 -s shared -u removed -p removed -W 
removed -w 90% -c 95%
Disk ok - 13.19G (26%) free on \\10.10.1.8\removed

However, when I configure check_disk_smb as a monitor, I get the 
following status:-

**ePN /usr/lib/nagios/plugins/check_disk_smb: Invalid conversion in 
sprintf: %A at /usr/lib/nagios3/p1.pl line 81,.

The service is configured as followed in services.cfg:-

define service {
 service_description   check_disk_smb
 check_command 
check_disk_smb!removed!removed!removed!removed!90!95
 host_name HSVFIL001S
 check_period  24x7
 notification_period   24x7
 contact_groupsadmins
 notification_interval 15
 notification_options  w,u,c,r
 max_check_attempts3
 check_interval5
 retry_interval1
 active_checks_enabled 1
 passive_checks_enabled0
 notifications_enabled 1
 check_freshness   0
 freshness_threshold   86400
 use   
Default_collector_server,Default_monitor_server,Default_timeperiod_interval_10
}

check_disk_smb is defined in checkcommands.cfg as follows:-

define command {
 command_name  check_disk_smb
 command_line  
$USER1$/check_disk_smb -H $HOSTADDRESS$ -s %ARG1% -W $ARG2$ -u $ARG3$ -p 
$ARG4$ -w $ARG5$ -c $ARG6$
}

I'm running Nagios 3.2.0 on Ubuntu 10.04 LTS installed via apt-get.  The 
config files are generated by NConf 1.2.6-1.  I've defined several other 
services with arguments (admittedly not six of them) without problems.  
I've tried defining the command with all the arguments hard-coded and it 
hasn't made a difference.

Googling has only revealed someone asking a very similar question to me 
(http://osdir.com/ml/network.nagios.devel/2006-11/msg7.html) but 
no-one appears to have answered this question.

Can anyone point me in the direction of a solution to this issue?  I do 
have check_smb running fine, which is a start, however I'm trying to be 
sure that network authentication is working properly since I'm running a 
Samba 4 DC (the target for this check is running Samba 3) and 
occasionally Samba 4 stops authenticating properly - it's this situation 
I'm trying to catch.

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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 with check_disk_smb

2011-07-03 Thread Radu . Popa
Please check the typo error in the command definition: 

Maybe you should replace %ARG1% with $ARG1$

Regards!--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
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 with check_disk_smb

2011-07-03 Thread Rob Hillis

On 03/07/11 21:08, radu.p...@technomatic.de wrote:

Please check the typo error in the command definition:

Maybe you should replace %ARG1%with $ARG1$


Thanks greatly - that was it.  I guess I'm not familiar enough with 
Nagios yet that the wrong wrapper around the argument failed to trigger 
recognition of the problem.
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
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] Service escalations without contacts or groups defined on the services themselves

2011-07-03 Thread Kevin Kenny
All of my service checks are based on templates where notifications are
enabled, the notification period set to 24x7, notification type is set to
U,C etc. But there are no contacts or contact groups associated in the
service check templates.

When I add a new service check, the check is always based on one of these
templates. However I *still don't* add any contacts or groups to the actual
checks themselves.

The service checks all get added to to a service group called
Critical-Services.

I also have a number of users who are members of a contact group called
Duty-Admin-Pagers.

I have a service escalation configured with a linked contact group of
Duty-Admin-Pagers (above) and with a servicegroup_name of Critical-Services,
it looks like this:

define serviceescalation{
servicegroup_name Critical-Services
contact_groups Duty-Admin
contacts
first_notification 1
last_notification 999
notification_interval 1
escalation_period 24x7
escalation_options u,c
}

Whenever a service goes CRITICAL HARD and exceeds the number of retries I
get pager alerts fired off just as I expect.

However when I load this configuration into Nagios I get warnings such as:

Warning Service 'APC-Power-Output' on host 'APC-PDU-0299' has no default
contacts or contactgroups defined!

The escalation and notifications still work and still send notifications to
the contact_group Duty-Admin defined in the service escalation.

I find this a convenient configuration because it means I don't have to
explicitly define contacts or contact groups at either the service template
or service check itself and makes management somewhat simpler.

Despite the warnings, and even though this configuration works just fine, is
it recommended?

Thanks
Kevin
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
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 : Re: Re : Re: Re : Re: Whoops! Could not read object configuration data!

2011-07-03 Thread crishna
original ownership from installation, apache run as apache... i did tried to 
read the files as user apache, i dud sudo su - apache then i browsed the 
folders of the config files and was correct...
 
nagios configs are 664, root:root
nagios objects directoru is 751 root:nagios

- Message d'origine -
De: Yueh-Hung Liu yuehung@gmail.com
Date: Dimanche, 3 Juillet 2011, 2:09 am
Objet: Re: [Nagios-users] Re : Re: Re : Re: Whoops! Could not read object 
configuration data!
À: Nagios Users List nagios-users@lists.sourceforge.net

 what are the permissions and ownerships of nagios' config files?
 what user is the http server (apache) running on?
 
 
 On Sun, Jul 3, 2011 at 10:06 AM,  cris...@videotron.ca 
 wrote: Yes, i tried the default, from my VM installation as 
 well... i thought it
  was that at one point... because i changed the default 
 nagiosadmin user to
  another use id, and i had changed my htpasswd too to match 
 them... and then
  i tested with original htpasswd and original cgi files... 
 things havnt got
  any better... to my little comprehension... CGI is worlking 
 fine, as well as
  php... but it some point, seems like a process not able to 
 read a file
  config of nagios... a process from apache... which i tried to 
 restore all
  the known config files of both products... apache and nagios 
 to match a new
  installation...
 
  i know or guess that i could easlily probably just remove and 
 reinstall or
  force a re-install of both products... but i am also the usual 
 type of guy
  that want to know what brakes... i hate the microsoft solution 
 of ctrl + alt
  + del ... i'dlove to find what is deffective, im sure its a 
 config... because it works elsewhere... so it related to my 
 machine. config, etc...
 
  - Message d'origine -
  De: Yueh-Hung Liu yuehung@gmail.com
  Date: Samedi, 2 Juillet 2011, 9:06 pm
  Objet: Re: [Nagios-users] Re : Re: Whoops! Could not read object
  configuration data!
  À: Nagios Users List nagios-users@lists.sourceforge.net
 
  did you check your 'cgi.cfg' config file?
 
 
  On Sun, Jul 3, 2011 at 6:08 AM,  cris...@videotron.ca wrote:
   No, not that i know off, selinux and iptables are disabled
  since i installed
   linux... first thing i do, i'd wish could be that simple 
 tho !
  
   - Message d'origine -
   De: Jim Avery j...@jimavery.me.uk
   Date: Samedi, 2 Juillet 2011, 5:56 pm
   Objet: Re: [Nagios-users] Whoops! Could not read object
  configuration data!
   À: Nagios Users List nagios-users@lists.sourceforge.net
  
   On 2 July 2011 21:57,  cris...@videotron.ca wrote:
Hi Community!
   
i have a little problem here with Nagios (web interface).
  
   It's not that old chestnut selinux stopping it from working
  is it?
  
   ---
 ---
  ---
   -
   All of the data generated in your IT infrastructure is seriously
   valuable.Why? It contains a definitive record of application
   performance, security
   threats, fraudulent activity, and more. Splunk takes this data
   and makes
   sense of it. IT sense. And common sense.
   http://p.sf.net/sfu/splunk-d2d-c2
   ___
   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 ---
 ---
  
   All of the data generated in your IT infrastructure is
  seriously valuable.
   Why? It contains a definitive record of application
  performance, security
   threats, fraudulent activity, and more. Splunk takes this data
  and makes
   sense of it. IT sense. And common sense.
   http://p.sf.net/sfu/splunk-d2d-c2
   ___
   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
 
  --
 ---
  -
  All of the data generated in your IT infrastructure is seriously
  valuable.Why? It contains a definitive record of application
  performance, security
  threats, fraudulent activity, and more. Splunk takes this data
  and makes
  sense of it. IT sense. And common sense.
  http://p.sf.net/sfu/splunk-d2d-c2
  ___
  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 

[Nagios-users] Invitation to connect on LinkedIn

2011-07-03 Thread Sergio Belkin via LinkedIn
LinkedIn





Sergio Belkin requested to add you as a connection on LinkedIn:
  
--

Lei,

I'd like to add you to my professional network on LinkedIn.

- Sergio

Accept invitation from Sergio Belkin
http://www.linkedin.com/e/y49s6u-gpobvgbu-9/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1484935738_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPwPdPkPejgUd359bPdms5hfemcSbPsTd3oQejoNd3cLrCBxbOYWrSlI/EML_comm_afe/

View invitation from Sergio Belkin
http://www.linkedin.com/e/y49s6u-gpobvgbu-9/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1484935738_3/3dve3cTdjcVd3wQckALqnpPbOYWrSlI/svi/

--

Why might connecting with Sergio Belkin be a good idea?

Sergio Belkin's connections could be useful to you:
After accepting Sergio Belkin's invitation, check Sergio Belkin's connections 
to see who else you may know and who you might want an introduction to. 
Building these connections can create opportunities in the future.

 
-- 
(c) 2011, LinkedIn Corporation--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Checking Status of Exchange 2010 Mailbox Store without check_nt

2011-07-03 Thread jarenas
Mathew:i just return to my office and checking this, I can make live test with EX2007 and 2010 ... let me work on that and i will return to you in a couple of daysjorge Arenas-Matthew Jurgens nagiosus...@edcint.co.nz wrote: -To: Nagios Users List nagios-users@lists.sourceforge.netFrom: Matthew Jurgens nagiosus...@edcint.co.nzDate: 06/30/2011 05:29AMSubject: Re: [Nagios-users] Checking Status of Exchange 2010 Mailbox Store without check_ntVersion 1.45 of the check_wmi_plus plugin is available which (for Exchange 2010 and maybe earlier versions) can list out the DB instances using -m checkexchange -s listDBInstances and it can check specific instances using eg -m checkexchange -s DBInstances -a 'Information Store/FirstDB' This 2nd check fails if the database is dismounted - which is what was originally requested All of this without having to install anything on any Windows server On 23/06/2011 12:12 PM, Matthew Jurgens wrote: I have a way to check it directly from the Nagios server without installing anything on any Windows server. I've tested it only on my practice/development/IsNotLive Exchange server 2010. I just need someone to test it on a real server before I release it Its a check defined for use with www.edcint.co.nz/checkwmiplus . Any takers? -- Smartmon System Monitoring www.smartmon.com.au --All of the data generated in your IT infrastructure is seriously valuable.Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense.http://p.sf.net/sfu/splunk-d2d-c2___Nagios-users mailing listNagios-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
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
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