Re: [Nagios-users] parent/child relationship in distribute environment

2010-02-24 Thread Assaf Flatto
HyunSung Jang wrote:
 hello.

 i just finished setting up nagios as distributed monitoring and i 
 found a problem.
 we have a backbone switch called BB1.
 and we have 2 access switch called A1, A2 which uses uplink to BB1
 so this makes both A1,A2 have its parent BB1

 and then i prepared 4 dedicated servers for nagios,
 first server for central server, 
 second server for servers under A1, 
 third server for servers under A2,
 fourth server for our switches BB1,A1,A2

 in this environment, how can i define parent/child relationship in 
 distribute nagios server??
 i read nagios manual that says only those services and hosts which 
 are being monitored directly by the distributed server are defined in 
 the object configuration file

 i want keep all configuration file for switches only fourth server 
 which is for dedicated switch monitoring.

 when i try to start nagios in second and thrid server, it shows error 
 like there is no BB1 parent define in configuration

 thanks for your help.
   
Hello

I know it is bad to assume things , but i will take it  that you have 
both server A1 and A2 transfer the results to the central nagios .

What you must remember and is clearly stated in the docs is that the 
definitions of the remote server has to also be on the central server - 
they do not however need to be a duplicate on the remote server , that 
being said , the Parnet/child relation ship can and should be defined on 
the central server  for the whole network , BB1--A1 - hosts . while on 
each remote host you define the parent/child for only the relevant hosts 
that the host is checking .
so if host A1 id down stream from BB1 - it is not defined on A1 , but on 
the central  server only  ( it is also a good idea to have active 
monitoring  of  BB1 on the central so it will be able to  show real 
time  UP/Unknown statuses  ).

Hope this helps.

Assaf

--
Download Intel#174; 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] check_cluster - Wrong service state

2010-02-24 Thread Brandino Andreas
Hi all,

I configured check_cluster plugin to monitor two services that work
redundant (1 is up, 1 is down all the time).

The plugin that check the services, returns UNKNOWN state for the
service that are down. However, check_cluster return that both
services are OK (CLUSTER OK: Disk-Cluster: 2 ok, 0 warning, 0
unknown, 0 critical).

Which can possible reasons for detecting incorrectly  the state of
the services?

Thank you





 ---  ---  ---  
Brandino Andreas
ampra...@gmail.com
 ---  ---  ---  


--
Download Intel#174; 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] parent/child relationship in distribute environment

2010-02-24 Thread Assaf Flatto
HyunSung Jang wrote:

first thing to remember is a nagios server has no parent since he is the 
source of test .
but in a distributed nagios setting there is the exception to the rule.

 thank you for your comment,
 but, I think i already configured like you just said.
 actually A1,A2 is not a server but it is our access switch i mean
 there are many servers under A1, A2

 let me describe my environment again,

 BB1-A1-server1, server2, nagios1(center), nagios2(for servers under 
 A1), nagios3(for servers under A2), nagios4(just for switch monitoring)

So all nagios monitoring servers are on the same network connected to 
the same switch ?

 BB1-A2-server3, server4...

 my central server (nagios1) has all objects 
 definition(BB1,A1,A2,server1,server2,server3etc)
 and then nagios2 has only 2 defined servers which is server1 and server2
 nagios3 has server3, server4

 if I start nagios daemon on nagios3, it shows me an error like 
 there's no parent definition for server3
 because parent for server3 is A2 and parent for A2 is BB1.
 and I didn't put config for A2 and BB1 to nagios3.

That it the reason - server3 has a definition of a parent in the file on 
nagios3 , and since the definition does not match the configuration 
files , that is the error you get .
 I have no problem when i starting nagios in my central server, 
 cuz central server has all configurations of my servers and switches

 but distributed nagios server which is nagios3 won't start.

 am I doing right or is there a misunderstanding to config nagios properly?

The distributed nagios server should hold parent/child definition only 
for the hosts they monitor directly, but not for anything upstream 
toward the central server, since they are not being monitored from that 
machine , the central server should hold for every thing , so it can 
know the topology and structure , if all the nagios servers are on the 
same switch - the switch should be the parent for the distributed servers .



Assaf

--
Download Intel#174; 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] parent/child relationship in distribute environment

2010-02-24 Thread HyunSung Jang
thank you for your comment,
but, I think i already configured like you just said.
actually A1,A2 is not a server but it is our access switch i mean
there are many servers under A1, A2

let me describe my environment again,

BB1-A1-server1, server2, nagios1(center), nagios2(for servers under A1),
nagios3(for servers under A2), nagios4(just for switch monitoring)

BB1-A2-server3, server4...

my central server (nagios1) has all objects
definition(BB1,A1,A2,server1,server2,server3etc)
and then nagios2 has only 2 defined servers which is server1 and server2
nagios3 has server3, server4

if I start nagios daemon on nagios3, it shows me an error like there's no
parent definition for server3
because parent for server3 is A2 and parent for A2 is BB1.
and I didn't put config for A2 and BB1 to nagios3.

I have no problem when i starting nagios in my central server,
cuz central server has all configurations of my servers and switches

but distributed nagios server which is nagios3 won't start.

am I doing right or is there a misunderstanding to config nagios properly?


On Wed, Feb 24, 2010 at 7:19 PM, Assaf Flatto nag...@flatto.net wrote:

 HyunSung Jang wrote:
  hello.
 
  i just finished setting up nagios as distributed monitoring and i
  found a problem.
  we have a backbone switch called BB1.
  and we have 2 access switch called A1, A2 which uses uplink to BB1
  so this makes both A1,A2 have its parent BB1
 
  and then i prepared 4 dedicated servers for nagios,
  first server for central server,
  second server for servers under A1,
  third server for servers under A2,
  fourth server for our switches BB1,A1,A2
 
  in this environment, how can i define parent/child relationship in
  distribute nagios server??
  i read nagios manual that says only those services and hosts which
  are being monitored directly by the distributed server are defined in
  the object configuration file
 
  i want keep all configuration file for switches only fourth server
  which is for dedicated switch monitoring.
 
  when i try to start nagios in second and thrid server, it shows error
  like there is no BB1 parent define in configuration
 
  thanks for your help.
 
 Hello

 I know it is bad to assume things , but i will take it  that you have
 both server A1 and A2 transfer the results to the central nagios .

 What you must remember and is clearly stated in the docs is that the
 definitions of the remote server has to also be on the central server -
 they do not however need to be a duplicate on the remote server , that
 being said , the Parnet/child relation ship can and should be defined on
 the central server  for the whole network , BB1--A1 - hosts . while on
 each remote host you define the parent/child for only the relevant hosts
 that the host is checking .
 so if host A1 id down stream from BB1 - it is not defined on A1 , but on
 the central  server only  ( it is also a good idea to have active
 monitoring  of  BB1 on the central so it will be able to  show real
 time  UP/Unknown statuses  ).

 Hope this helps.

 Assaf


 --
 Download Intel#174; 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#174; 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] parent/child relationship in distribute environment

2010-02-24 Thread HyunSung Jang
On Wed, Feb 24, 2010 at 9:45 PM, Assaf Flatto nag...@flatto.net wrote:

 HyunSung Jang wrote:

 first thing to remember is a nagios server has no parent since he is the
 source of test .
 but in a distributed nagios setting there is the exception to the rule.

 yes.


  thank you for your comment,
  but, I think i already configured like you just said.
  actually A1,A2 is not a server but it is our access switch i mean
  there are many servers under A1, A2
 
  let me describe my environment again,
 
  BB1-A1-server1, server2, nagios1(center), nagios2(for servers under
  A1), nagios3(for servers under A2), nagios4(just for switch monitoring)

 So all nagios monitoring servers are on the same network connected to
 the same switch ?

 your are right. all nagios monitoring servers are on the same network and
same switch.


  BB1-A2-server3, server4...
 
  my central server (nagios1) has all objects
  definition(BB1,A1,A2,server1,server2,server3etc)
  and then nagios2 has only 2 defined servers which is server1 and server2
  nagios3 has server3, server4
 
  if I start nagios daemon on nagios3, it shows me an error like
  there's no parent definition for server3
  because parent for server3 is A2 and parent for A2 is BB1.
  and I didn't put config for A2 and BB1 to nagios3.
 
 That it the reason - server3 has a definition of a parent in the file on
 nagios3 , and since the definition does not match the configuration
 files , that is the error you get .
  I have no problem when i starting nagios in my central server,
  cuz central server has all configurations of my servers and switches
 
  but distributed nagios server which is nagios3 won't start.
 
  am I doing right or is there a misunderstanding to config nagios
 properly?
 
 The distributed nagios server should hold parent/child definition only
 for the hosts they monitor directly, but not for anything upstream
 toward the central server, since they are not being monitored from that
 machine , the central server should hold for every thing , so it can
 know the topology and structure , if all the nagios servers are on the
 same switch - the switch should be the parent for the distributed servers .


oh, I got it.
so you mean, server3 should configured to its parent to nagios2(distribute
monitor server) directly even if
there are A2 and BB1 switches between them. because nagios2 monitor server3
directly.
am I correct?
--
Download Intel#174; 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] Problem with check_openmanage 3.5.6

2010-02-24 Thread Nicole Hähnel

Hi

I get this message on one pe830 (OM 6.1.0) :

CRITICAL: [ 
http://support.euro.dell.com/support/topics/topic.aspx/emea/shared/support/my_systems_info/de/details?c=del=deServiceTag=3LVBD2Jxxx] 
Physical Disk 0:0 [Wdc WD1600JS-55MHB0, 160GB] on ctrl 0 needs attention:

-- SYSTEM: PowerEdge 830, SN: xxx
INTERNAL ERROR: Use of uninitialized value in string eq at 
/usr/lib64/nagios/plugins/grontmij/check_openmanage line 1428.
INTERNAL ERROR: Use of uninitialized value in sprintf at 
/usr/lib64/nagios/plugins/grontmij/check_openmanage line 1441.



Is this a problem of check_openmanage or the disk?
It's a non dell sata disk.


Thanks!

Nicole
--
Download Intel#174; 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] Problem with check_openmanage 3.5.6

2010-02-24 Thread Trond Hasle Amundsen
Nicole Hähnel m...@nicole-haehnel.de writes:

 Hi

 I get this message on one pe830 (OM 6.1.0) :

 CRITICAL: [ xxx] Physical Disk 0:0 [Wdc WD1600JS-55MHB0, 160GB] on ctrl 0 
 needs
 attention:
 -- SYSTEM: PowerEdge 830, SN: xxx
 INTERNAL ERROR: Use of uninitialized value in string eq at /usr/lib64/nagios/
 plugins/grontmij/check_openmanage line 1428.
 INTERNAL ERROR: Use of uninitialized value in sprintf at /usr/lib64/nagios/
 plugins/grontmij/check_openmanage line 1441.


 Is this a problem of check_openmanage or the disk?
 It's a non dell sata disk.

Hi Nicole,

Can you provide the output of the following command, executed on the
monitored host:

  omreport storage pdisk controller=0

Also, are you using check_openmanage in SNMP or local context?

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

--
Download Intel#174; 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] parent/child relationship in distribute environment

2010-02-24 Thread Assaf Flatto
HyunSung Jang wrote:
 On Wed, Feb 24, 2010 at 9:45 PM, Assaf Flatto nag...@flatto.net 
 mailto:nag...@flatto.net wrote:

 HyunSung Jang wrote:

 first thing to remember is a nagios server has no parent since he
 is the
 source of test .
 but in a distributed nagios setting there is the exception to the
 rule.

 yes.
  

  thank you for your comment,
  but, I think i already configured like you just said.
  actually A1,A2 is not a server but it is our access switch i mean
  there are many servers under A1, A2
 
  let me describe my environment again,
 
  BB1-A1-server1, server2, nagios1(center), nagios2(for servers
 under
  A1), nagios3(for servers under A2), nagios4(just for switch
 monitoring)

 So all nagios monitoring servers are on the same network connected to
 the same switch ?

 your are right. all nagios monitoring servers are on the same network 
 and same switch.
  

  BB1-A2-server3, server4...
 
  my central server (nagios1) has all objects
  definition(BB1,A1,A2,server1,server2,server3etc)
  and then nagios2 has only 2 defined servers which is server1 and
 server2
  nagios3 has server3, server4
 
  if I start nagios daemon on nagios3, it shows me an error like
  there's no parent definition for server3
  because parent for server3 is A2 and parent for A2 is BB1.
  and I didn't put config for A2 and BB1 to nagios3.
 
 That it the reason - server3 has a definition of a parent in the
 file on
 nagios3 , and since the definition does not match the configuration
 files , that is the error you get .
  I have no problem when i starting nagios in my central server,
  cuz central server has all configurations of my servers and switches
 
  but distributed nagios server which is nagios3 won't start.
 
  am I doing right or is there a misunderstanding to config nagios
 properly?
 
 The distributed nagios server should hold parent/child definition only
 for the hosts they monitor directly, but not for anything upstream
 toward the central server, since they are not being monitored from
 that
 machine , the central server should hold for every thing , so it can
 know the topology and structure , if all the nagios servers are on the
 same switch - the switch should be the parent for the distributed
 servers .


 oh, I got it.
 so you mean, server3 should configured to its parent to 
 nagios2(distribute monitor server) directly even if
 there are A2 and BB1 switches between them. because nagios2 monitor 
 server3 directly.
 am I correct?


Nope, it should be as follows (example  parent  - child )
nagios2 - A2 - BB1 - Server 3

and A2 and BB1 should be hosts defined in nagios2 , to match the parent 
tree.



--
Download Intel#174; 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] check_cluster - Wrong service state

2010-02-24 Thread Jim Avery
On 24 February 2010 11:27, Brandino Andreas ampra...@gmail.com wrote:
 Hi all,

 I configured check_cluster plugin to monitor two services that work
 redundant (1 is up, 1 is down all the time).

 The plugin that check the services, returns UNKNOWN state for the
 service that are down. However, check_cluster return that both
 services are OK (CLUSTER OK: Disk-Cluster: 2 ok, 0 warning, 0
 unknown, 0 critical).

 Which can possible reasons for detecting incorrectly  the state of
 the services?


The syntax for check_cluster is quite subtle and not obvious.

I confess I don't use check_cluster for service checks, but I do for
host checks.

An example which I use for a pair of hosts is:

In the command definition:

command_line$USER1$/check_cluster --host -l $ARG1$ -w $ARG2$ -c
$ARG3$ -d $ARG4$

And in the host definition:

check_command   check_host_cluster!Storage
Server!0!1!$HOSTSTATEID:ds4100y1a$,$HOSTSTATEID:ds4100y1b$

In my example I want to have a warning state if one of the two hosts
is down and have a critical state if both are down.


The important point to note is that the warning and critical
thresholds are set according to the documentation at

http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT

It can take a while to work out precisely how to set -w and -c to
achieve the result you want.

hth,

Jim

--
Download Intel#174; 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] parent/child relationship in distribute environment

2010-02-24 Thread HyunSung Jang

 Nope, it should be as follows (example  parent  - child )
 nagios2 - A2 - BB1 - Server 3


I'm getting confusing. sorry for misunderstanding
at this time, I read nagios documentation again and in my understanding that
nagios2 is connected to A1 not A2.
all of my nagios servers are connected to A1.

so how can A2 be a parent for nagios2 ?
and Server3 also connected to A2 not BB1 directly.



 and A2 and BB1 should be hosts defined in nagios2 , to match the parent
 tree.


is this means distributed nagios server must have all of hosts(it mean
switch like A2, BB1) definition
 to match the parent tree??
what i really wanted to do was separate the hosts definitions to each
distributed nagios servers.

all switches goes to nagios1,
server group1 goes to nagios2,
server group2 goes to nagios3...etc.
because i didn't want to duplicate the host definition.

please look at my topology here.

http://yfrog.com/1etopologyj

from my topology, nagios1 checks server1, server2 directly
then who should be a parent for server1, server2 from view of nagios1??
i thought that would be A2 and BB1 is parent of A2 and A1 is parent of BB1
and nagios1 is parent of A1.
this is same parent/child relationship for Nagios Central server.
that means i have to duplicate object configuration or maintain same config
file to central server and distribute server

when i started with same cfg file to central and monitor server, it works
fine
but there are duplicated host check occured to the same host from central
and distributed sever.
do we need to host check enable in distributed server too??
--
Download Intel#174; 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] Nagios MRTG does not deliver data from switch

2010-02-24 Thread Rainhard
Hey,

I want to get informations about the traffic of the port 1 from my cisco switch 
which understands SNMP. So I installed Nagios, the nagios plugins, snmpd, snmp 
and mrtg. I use the check_mrtgtraf command in my switch.cfg to do this.
After installing mrtg like described at 
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html I also used cfgmaker to 
get my mrtg.cfg file.
This file looks like this:

# Created by
# ./cfgmaker --global WorkDir: /etc/mrtg --global Options[_]: 
bits,growright --output /etc/mrtg/cfg/mrtg.cfg 172.17.1.2


### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no
WorkDir: /etc/mrtg
Options[_]: bits,growright

##
# System:
# Description:
# Contact:
# Location:
##

As the WorkDir says, the log-Files created from mrtg should be in the directory 
/etc/mrtg but the only files I find there are three pictures from mrtg.

My Nagios verion is 3.2.0, my nagios plugins version is 1.4.14 and my mrtg 
version is 2.16.3.

So what did I do wrong??

Thanks  Regards
Rainhard Schwarzinger--
Download Intel#174; 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 MRTG does not deliver data from switch

2010-02-24 Thread Marc Powell

On Feb 24, 2010, at 1:39 PM, Rainhard wrote:

 Hey,
  
 I want to get informations about the traffic of the port 1 from my cisco 
 switch which understands SNMP. So I installed Nagios, the nagios plugins, 
 snmpd, snmp and mrtg. I use the check_mrtgtraf command in my switch.cfg to do 
 this.
 After installing mrtg like described at 
 http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html I also used cfgmaker 
 to get my mrtg.cfg file.

 As the WorkDir says, the log-Files created from mrtg should be in the 
 directory /etc/mrtg but the only files I find there are three pictures from 
 mrtg.
  
 My Nagios verion is 3.2.0, my nagios plugins version is 1.4.14 and my mrtg 
 version is 2.16.3.
  
 So what did I do wrong??

This is not an MRTG support list. You'll have better luck asking for support 
there. Did you add the cronjob to actually run MRTG? Is it running successfully?

--
Marc
--
Download Intel#174; 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] Installing NRPE

2010-02-24 Thread akp geek
Hi all -

I have installed Nagios and working fine so far. I am running
into one issue. I would like to install NRPE on several servers. But I might
not get root access for that. my question is Can I install NRPE as an user ?

Appreciate your help and thoughts

Regards
--
Download Intel#174; 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] Installing NRPE

2010-02-24 Thread akp geek
Can you please elaborate more on full sudo access. It is limited root
privileges?

Appreciate your time

Regards

On Wed, Feb 24, 2010 at 3:59 PM, Robert Wolfe rwo...@i-evolve.com wrote:

  If you can get full sudo access, that should be good  enough.



 *From:* akp geek [mailto:akpg...@gmail.com]
 *Sent:* Wednesday, February 24, 2010 3:53 PM
 *To:* Nagios-Users Mailinglist
 *Subject:* [Nagios-users] Installing NRPE



 Hi all -



 I have installed Nagios and working fine so far. I am running
 into one issue. I would like to install NRPE on several servers. But I might
 not get root access for that. my question is Can I install NRPE as an user ?



 Appreciate your help and thoughts



 Regards

--
Download Intel#174; 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] Installing NRPE

2010-02-24 Thread Robert Wolfe
If you can get full sudo access, that should be good  enough.

From: akp geek [mailto:akpg...@gmail.com]
Sent: Wednesday, February 24, 2010 3:53 PM
To: Nagios-Users Mailinglist
Subject: [Nagios-users] Installing NRPE

Hi all -

I have installed Nagios and working fine so far. I am running into 
one issue. I would like to install NRPE on several servers. But I might not get 
root access for that. my question is Can I install NRPE as an user ?

Appreciate your help and thoughts

Regards
--
Download Intel#174; 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] Installing NRPE

2010-02-24 Thread patrick . morris
On Wed, 24 Feb 2010, akp geek wrote:

 Hi all -
 
 I have installed Nagios and working fine so far. I am running 
 into one issue. I would like to install NRPE on several servers. But I might 
 not get root access for that. my question is Can I install NRPE as an user ?


Sure. Just make sure you run it on an unprivileged port (which may be
the default, but I'm not somewhere I can confirm that).

You don't need any root-level access.

--
Download Intel#174; 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] Working version of check_cisco_ping

2010-02-24 Thread Justin Shore
Does anyone know if there's a working version of check_cisco_ping?

http://exchange.nagios.org/directory/Plugins/Hardware/Network-Gear/Cisco/check_cisco_ping/details

It has an issue with utils.pm which is being deprecated in favor of 
Nagios::Plugin.

What I need is the ability to SSH into a Cisco router, jump into enable 
mode, and ping inside of a VRF.  I'm carrying a private state education 
network across my backbone and have no idea if it's having trouble until 
someone calls.  I can't ping from the NMS server because I have to be 
inside the MPLS/VPN to do that.  There are 2 points on my network that I 
can ping from within that VRF if I can just find a working plugin that 
can do it for me.

Suggestions?  Thanks
  Justin

--
Download Intel#174; 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] Installing NRPE

2010-02-24 Thread Robert Wolfe
I believe the default port of 5666 is an unprivileged port.

-Original Message-
From: patrick.mor...@hp.com [mailto:patrick.mor...@hp.com] 
Sent: Wednesday, February 24, 2010 4:46 PM
To: akp geek
Cc: Nagios-Users Mailinglist
Subject: Re: [Nagios-users] Installing NRPE

On Wed, 24 Feb 2010, akp geek wrote:

 Hi all -
 
 I have installed Nagios and working fine so far. I am running 
 into one issue. I would like to install NRPE on several servers. But I might 
 not get root access for that. my question is Can I install NRPE as an user ?


Sure. Just make sure you run it on an unprivileged port (which may be
the default, but I'm not somewhere I can confirm that).

You don't need any root-level access.

--
Download Intel#174; 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#174; 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] servicegroups directive doesn't seem to work

2010-02-24 Thread Paul M. Dubuc
Hello,

The documentation at 
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html for 
Service Definition says that you can use a 'servicegroups' directive to 
assign a service to a servicegroup instead of using the 'members' 
directive in the service group:

 *servicegroups*: This directive is used to identify the /short 
 name(s)/ of the servicegroup(s) 
 http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#servicegroup 
 that the service belongs to. Multiple servicegroups should be 
 separated by commas. This directive may be used as an alternative to 
 using the /members/ directive in servicegroup 
 http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#servicegroup 
 definitions.

I would like to do this using a service template that service 
definitions can use to do the assignment like the configuration below.  
This would save me from having to add many host,service pairs to the 
members directive in the service group.  But it doesn't seem to work 
(I'm using Nagios 3.2.0).  I get the following configuration error:

Error: Servicegroup members must be specified in 
host_name,service_description pairs (config file ' ...

I get the same error when I delete the service template and move the 
servicegroups directive into the service definitions.
What am  I doing wrong?

Thanks,
Paul Dubuc


define servicegroup{
servicegroup_name   ebusiness
alias   Business Services
#  members   ; use servcicegroups in service definitions below instead.
 }

#
# Nagios service definition template used by services in this config file
#
define service{
nameebusiness-service
register0   ; this is a template

servicegroups   ebusiness   ; add the service to this 
service group

}


define service{
use ebusiness-service
host_name   host1,host2
service_description service1

check_command  ...

}

#
# SciFinder Password Change test service
#
define service{
use ebusiness-service
host_name   host1,host2
service_descriptionservice2

check_command   ...

}


--
Download Intel#174; 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