[Nagios-users-br] Modificar a visualização do statusmap

2007-01-31 Thread Ikami Garajau de Castilho
   Olá pessoal.
   Já uso o Nagios a algum tempo e agora resolvi atualizá-lo da versão 
2.0b2 para a 2.6. Aproveitando a oportunidade estou fazendo uma checagem 
em todos os arquivos de configuração. Resolvi também agora monitorar 
pelo Nagios todos os switchs que tenho aqui. Agora vem o problema. Aqui 
no prédio temos quase 100 switchs. Coloquei todos no Nagios e agora a 
visualização no statusmap ficou muito prejudicada. Os switchs popularam 
muito meu mapa e tudo ficou muito junto e difícil de exergar o que é o que.
   Existe alguma forma ou algum plugin para modificar ou editar a 
visualização do statusmap? (tirando é lógico o Layout Method já 
existente no Nagios).

Grato
Íkami G. de Castilho


-
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=lnkkid=120709bid=263057dat=121642
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users-br] Could not add property in file

2007-01-31 Thread Andre Luis
Oi Daniel,
   
  Acabei esquecendo de passar. Olha ele abaixo:
   
  

  # HOST DEFINITIONS
  

  # Generic host definition template
  #define host{
  # name generic-host ; The name of this host template - referenced in other 
host definitions, used for template recursion/resolution
  # notifications_enabled 1 ; Host notifications are enabled
  # event_handler_enabled 1 ; Host event handler is enabled
  # flap_detection_enabled 1 ; Flap detection is enabled
  # process_perf_data 1 ; Process performance data
  # retain_status_information 1 ; Retain status information across program 
restarts
  # retain_nonstatus_information 1 ; Retain non-status information across 
program restarts
  #
  # register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A 
TEMPLATE!
  # }
  #__
  #
  #
  # NAS - Filers 
  #
  #__
  # 'Filer1' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name Filer1
  alias Storage secundario 
  address 10.x.x.50
  parents Filer2
  hostgroup netapp-filers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  notification_interval 60
  notification_period 24x7
  notification_options d,u,r
  contact_groups filer-admins
  }
   
  # 'Filer2' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name Filer2
  alias Storage principal - 2TB
  address 10.x.x.51
  parents servidor5
  hostgroup netapp-filers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  notification_interval 60
  notification_period 24x7
  notification_options d,u,r
  contact_groups filer-admins,lotus-admins,dba-admins
  }
   
  #__
  #
  #
  # SERVIDORES WINDOWS
  #
  #__
  # 'servidor1' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name servidor1
  alias Servidor de Contingencia
  address 10.x.x.1
  parents servidor5 
  hostgroup nt-servers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  notification_interval 60
  notification_period 24x7
  notification_options d,u,r
  contact_groups nt-admins
  }
   
  # 'servidor2' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name servidor2
  alias Servidor DC / DHCP / Gateway de antivirus for NetApp
  address 10.x.x.2
  parents servidor5
  hostgroup nt-servers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  notification_interval 60
  notification_period 24x7
  notification_options d,u,r
  contact_groups nt-admins,filer-admins
  }
   
  # 'servidor03' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name servidor03
  alias Servidor Anti-Virus da SRBR
  address 10.x.x.3
  parents servidor5
  hostgroup nt-servers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  notification_interval 60
  notification_period 24x7
  notification_options d,u,r
  contact_groups filer-admins
  }
   
  # 'servidor04' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name servidor04
  alias Servidor DC/DHCP(10.6.28.1 ~ 10.6.29.254)/Sistemas DOS/IMPR
  address 10.x.x.4
  parents servidor5
  hostgroup nt-servers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  notification_interval 60
  notification_period 24x7
  notification_options d,u,r
  contact_groups nt-admins
  }
   
  # 'servidor5' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name servidor5
  alias Servidor DC / WINS
  address 10.x.x.5
  parents servidor5
  hostgroup nt-servers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  notification_interval 60
  notification_period 24x7
  notification_options d,u,r
  contact_groups nt-admins
  }
   
  # 'servidor15' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name servidor15
  alias Servidor SQL 
  address 10.x.x.15
  parents servidor5
  hostgroup nt-servers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  notification_interval 60
  notification_period 24x7
  notification_options d,u,r
  contact_groups nt-admins
  }
   
  # 'servidor07' host definition
  define host{
  # use generic-host ; Name of host template to use
  host_name servidor07
  alias Servidor Backup Veritas - Media Server
  address 10.x.x.7
  parents servidor06
  hostgroup nt-servers
  check_command check-host-alive
  max_check_attempts 5
  check_period 24x7
  

[Nagios-users] Grant view access but no change access

2007-01-31 Thread JS
Hi list,

Is there a way to grant a user of group the right to view the status of 
services and hosts but not giving them the right to start/stop services 
or to change anything else.


Thanks,

Jelle


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Grant view access but no change access

2007-01-31 Thread Robert King
In your cgi.cfg, there are the following values:

authorized_for_all_services=username
authorized_for_all_hosts=username

These will accept a comma-delimited list of usernames to allow to view 
service and host information, respectively. These are separate from the 
following:

authorized_for_all_service_commands=username
authorized_for_all_host_commands=username

which will allow the user(s) to execute host/service commands.

Please also note, that if the user's http auth login name matches the 
short name of any defined contact, the user will have full access, 
including the ability to execute commands, to all hosts and/or services 
which the user is listed as a contact for.

Hope this helps,

Rob

-- 
Robert King - Ingenta, Inc. UNIX Systems Administrator
Office: +1 401 331 2014 ext 120 - Mobile: +1 401 865 0950
GPG Public key: http://tinyurl.com/9zmws



JS wrote:
 Hi list,

 Is there a way to grant a user of group the right to view the status of 
 services and hosts but not giving them the right to start/stop services 
 or to change anything else.


 Thanks,

 Jelle


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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
   




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Grant view access but no change access

2007-01-31 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of JS
 Sent: Wednesday, January 31, 2007 7:44 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Grant view access but no change access
 
 Hi list,
 
 Is there a way to grant a user of group the right to view the status
of
 services and hosts but not giving them the right to start/stop
services
 or to change anything else.

Not within nagios. I imagine that you could use .htaccess to only allow
access to cmd.cgi for specific users or groups. Something like --

AuthName Monitor System Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
AuthGroupFile /usr/local/nagios/etc/htpasswd.groups
require valid-user
FilesMatch (cmd.cgi|someother.cgi)
require group admins
/FilesMatch

htpasswd.groups contains --

admins:bill,bob,fred

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Cannot see status map - HTTP 404 file not found error.

2007-01-31 Thread Gopinath

Hi everyone,

I have installed nagios 2.6  plugins successfully as per the instructions
given in the manual. Now when i click on the status map on the left pane
of the nagios web interface, I see page HTTP 404 - File not found error. I
think i am missing some cgi file like statusmap.cgi. But i am able to see
the 3-D status map (i have got statuswrl.cgi in place). I encounter same
type of HTTP 404 error while accessing Trends and availability options
in the web interface. Please guide me on solving this problem.

Thanks  Regards,
Gopinath.U
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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] Cannot see status map - HTTP 404 file not founderror.

2007-01-31 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Gopinath
 Sent: Wednesday, January 31, 2007 8:50 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Cannot see status map - HTTP 404 file not
 founderror.
 
 Hi everyone,
 
 I have installed nagios 2.6  plugins successfully as per the
instructions
 given in the manual. Now when i click on the status map on the left
pane
 of the nagios web interface, I see page HTTP 404 - File not found
error. I
 think i am missing some cgi file like  statusmap.cgi. But i am able
to
 see the 3-D status map (i have got statuswrl.cgi in place). I
encounter
 same type of HTTP 404 error while accessing Trends and
availability
 options in the web interface. Please guide me on solving this problem.

This is in the FAQ.

--
Marc
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Cannot see status map - HTTP 404 file not found error.

2007-01-31 Thread Carsten Koop
Hi,

please have a look at the Nagios-FAQ.
There is an article about the statusmap and http-404 errors.
- 
http://www.nagios.org/faqs/viewfaq.php?faq_id=55expand=falseshowdesc=false

Mit freundlichen Grüßen / best regards

  Carsten Koop




Gopinath [EMAIL PROTECTED] 
Gesendet von: [EMAIL PROTECTED]
31.01.2007 15:50

An
nagios-users@lists.sourceforge.net
Kopie

Thema
[Nagios-users] Cannot see status map - HTTP 404 file not found  error. 






Hi everyone,
 
I have installed nagios 2.6  plugins successfully as per the instructions 
given in the manual. Now when i click on the status map on the left pane 
of the nagios web interface, I see page HTTP 404 - File not found error. I 
think i am missing some cgi file like  statusmap.cgi. But i am able to 
see the 3-D status map (i have got statuswrl.cgi in place). I encounter 
same type of HTTP 404 error while accessing Trends and availability 
options in the web interface. Please guide me on solving this problem. 
 
Thanks  Regards,
Gopinath.U
 
 
 
 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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] Get into the start page of nagios but no access toany cgi files

2007-01-31 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Matthias N
 Sent: Tuesday, January 30, 2007 6:54 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Get into the start page of nagios but no
access
 toany cgi files
 
 Hi
 
 i get into initial naqgios page but after that i am getting lost ...
 
 when clicking on the service details link on the left side i get:

[chop]

 [Tue Jan 30 18:40:14 2007] [error] [client ***myserverip***]
 (13)Permission
 denied: exec of '/usr/local/nagios/sbin/status.cgi' failed, referer:
 http://***myserverip***/nagios/side.html
 [Tue Jan 30 18:40:14 2007] [error] [client ***myipaddress***]
Premature
 end
 of script headers: status.cgi, referer:
 http://myserverip***/nagios/side.html
 *

Smells like SELinux. Do you have it enabled and in enforcement mode? If
so, did you modify your policies so that the web server can execute the
nagios cgi's? If you do not have SELinux enabled, then it would appear
to be a straight permissions issue. Is your web server able to get to
the directory the cgi's are in and do they have execute permissions?

 

[chop]

 nagios started butr one thing that worrie is that libgd i can not find
it
 ... anywhere ...
 
 where can i find all the libraries neded by nagios in the
documentation
 and
 where do getthem boutells gd i have but i guess some more is needed
...

It depends on your distribution. The Nagios FAQ can help.

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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 bailing out log messages - cause now known

2007-01-31 Thread Brian Loe
I'm running nagios_spawn.sh from crontab every 5 minutes. This
script, provided by - I believe - someone on this list (thank you)
uses the check_nagios command to verify that nagios is running. For
some reason, it appears as though every other time this script is ran
(every ten minutes) it fails and tries to spawn a new Nagios process
which fails and gives me the Lockfile /blah is help by PID blah.
Bailing out... messages.

So I guess the question now is, why would this check fail every ten minutes?

The script:
#!/bin/bash
plugindir=/usr/local/nagios/libexec
cmdstart=/etc/init.d/nagios start
#Check nagios with check_nagios plugin
$plugindir/check_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C
/usr/local/nagios/bin/nagios

if [ ${?} != 0 ] ; then
  echo CRITICAL:Nagios not found running...
$cmdstart
 else
echo OK:Nagios runnning...
fi
exit

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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 bailing out log messages - cause now known

2007-01-31 Thread Morris, Patrick
 So I guess the question now is, why would this check fail 
 every ten minutes?
 
 The script:
 #!/bin/bash
 plugindir=/usr/local/nagios/libexec
 cmdstart=/etc/init.d/nagios start
 #Check nagios with check_nagios plugin
 $plugindir/check_nagios -e 5 -F 
 /usr/local/nagios/var/nagios.log -C /usr/local/nagios/bin/nagios
 
 if [ ${?} != 0 ] ; then
   echo CRITICAL:Nagios not found running...
 $cmdstart
  else
 echo OK:Nagios runnning...
 fi
 exit

How often is nagios.log updating?  If it's less than every five minutes
this check will fail.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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 bailing out log messages - cause now known

2007-01-31 Thread Brian Loe
On 1/31/07, Morris, Patrick [EMAIL PROTECTED] wrote:
  So I guess the question now is, why would this check fail
  every ten minutes?

 How often is nagios.log updating?  If it's less than every five minutes
 this check will fail.


Well, good question - can you explain the stamp Nagios puts in its log file?

Looking at the log file, it appears to only get touched when this
script tries starting a new process. Obviously, I need to either
spread out the time I check the log file or have Nagios hit the log
file more regularly. In the main config file I have it set to log to
syslog and the NetAlarm log file, and to log everything that is
available in that config. I didn't see a debug option - perhaps that's
something you do from the command line - but is this the best way to
go?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] pngtogd2 statusmap

2007-01-31 Thread Brandino Andreas
Hi list ,

i am trying to replace the Question Mark icon to statusmap with an
Icon.
I have succeed until now using the icons from nagiosexchange.

However, when i try to create a custom gd2 icon i always get a missing
icon.
The problem is with the pngtogd2 x.png x.gd2 0 1 command.
For some reason produce incompatible gd2 format icons.

Anyone know if pngtogd2 has any specific requirements for png files?
Is there any other way to prdouce the gd2 file?

I am using debian,  libgd-tools (2.0.33-5.2), nagios 2.7

Thank you for any replies





 ---  ---  ---  
Brandino Andreas
[EMAIL PROTECTED]
 ---  ---  ---  


-
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=lnkkid=120709bid=263057dat=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] Jason Ellmers is out of the office.

2007-01-31 Thread Jason Ellmers

I will be Out of the Office
Start Date: 31/01/2007.
End Date: 14/02/2007.


Please be aware that I will be out of the office until Wednesday 14th
February.
Please contact the helpdesk on 08702415500 if technical assistance is
required.












**
This message is confidential. It may not be disclosed to, or used by, 
anyone other than the addressee. If you receive this message in 
error, please advise us immediately.

Internet email is not necessarily secure. First does not accept
responsibility for changes to any email which occur after the email
has been sent. Attachments to this email could contain software
viruses which could damage your system. First have checked the
attachments for viruses before sending, but you should virus-check
them before opening.

For more information on our range of services or to book your tickets
online, please visit:- http://www.firstgroup.com
**


-
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=lnkkid=120709bid=263057dat=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


Re: [Nagios-users] Grant view access but no change access

2007-01-31 Thread Jelle
I will go for the solution Marc Powell Suggested.
Lookingglass is nice, but it doesn't fit my purpose,...
Thanks for the info everyone,...


-
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=lnkkid=120709bid=263057dat=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] sendpage

2007-01-31 Thread Brian Loe
Anyone using sendpage with Nagios? I'm running into trouble compiling
the serialport module and have no idea where to go to get help
(e-mailed the developer but haven't heard back - maybe old e-mail,
maybe got filtered).

Thanks, as always, in advance.

-
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=lnkkid=120709bid=263057dat=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] Adding hosts and services

2007-01-31 Thread Nedim Bicic

Hey i am running nagios 2.4

The way i am updating by adding hosts to host cfg file and service.cfg file
is ther another way or a template that can be easily updated into by linux
box

now when i open my host file the text like froze it doesnt appear like its
thinking or something

any advise on this would be helpful
-
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=lnkkid=120709bid=263057dat=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

Re: [Nagios-users] Grant view access but no change access

2007-01-31 Thread Jim Perrin
I think the issue commands patch is what you're looking for. I use it
daily for just this purpose.
http://altinity.blogs.com/dotorg/2006/02/a_view_some_cha.html

On 1/31/07, Jelle [EMAIL PROTECTED] wrote:
 I will go for the solution Marc Powell Suggested.
 Lookingglass is nice, but it doesn't fit my purpose,...
 Thanks for the info everyone,...


 -
 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=lnkkid=120709bid=263057dat=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



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-
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=lnkkid=120709bid=263057dat=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


Re: [Nagios-users] Adding hosts and services

2007-01-31 Thread Jim Perrin
On 1/31/07, Nedim Bicic [EMAIL PROTECTED] wrote:
 Hey i am running nagios 2.4

You may wish to consider updating.

 The way i am updating by adding hosts to host cfg file and service.cfg file
 is ther another way or a template that can be easily updated into by linux
 box
 now when i open my host file the text like froze it doesnt appear like its
 thinking or something
 any advise on this would be helpful

You don't have to have all the hosts in one file and all the services
in another.
I have a hosts dir, in which I have subdirs for other locations I
monitor.  Inside these I have the host.cfg files calling a template
from my templates directory as needed. Each hosts file contains all
the info for that host, including services, and extended information.

You can set this up any way you wish. It's all about what works best for you.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-
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=lnkkid=120709bid=263057dat=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] NEXSM

2007-01-31 Thread Herman (ISTD)
Anyone ever successfully use nexsm for Nagios front display ? I am
trying to use it to enable several views of NSM map. And I already
installed the Java WebStart and signed all the jar. However when all jar
are downloaded and ran, nothing appeared. When I checked java console
log :

 

 Exception in thread AWT-EventQueue-0 java.lang.NullPointerException
 at javax.swing.ImageIcon.init(Unknown Source)
 at net.gridshield.nexsm.app.MapFrame.initComponents(MapFrame.java:300)
 at net.gridshield.nexsm.app.MapFrame.init(MapFrame.java:80)
 at net.gridshield.nexsm.app.MapFrame$12.run(MapFrame.java:485)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)

 

 

Anyone has idea ? 

 

Best Regards,

 

Herman

-
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=lnkkid=120709bid=263057dat=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

Re: [Nagios-users] How to bypass motd in check_by_ssh

2007-01-31 Thread Nelson Serafica
I tried to create in one of my remote pc but it still occurs. I just touch 
.hushlogin in my remote's home directory. Then tried to login from my pc to 
remote but motd still occurs.


- Original Message 
From: Frost, Mark {PBG} [EMAIL PROTECTED]
To: Nelson Serafica [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net
Sent: Wednesday, January 31, 2007 8:56:49 PM
Subject: RE: [Nagios-users] How to bypass motd in check_by_ssh

Most Unix flavors I've ever seen allow you to create a .hushlogin file in 
that particular user's home directory to suppress printing of the motd for that 
particular user at login time.

touch ~/.hushlogin

for that user and that user will never see the motd.

Mark


-Original Message-
From: [EMAIL PROTECTED] on behalf of Nelson Serafica
Sent: Wed 1/31/2007 2:26 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How to bypass motd in check_by_ssh
 
HI to all,

Is there a way I can bypass motd of ssh? I cannot execute plugins if there's a 
motd in my ssh. However, when I disable it, I can execute the plugins. But the 
thing is, I do not want to disable  mthe motd in the server. I tried the option 
-S 500 in check_by_ssh but still problem occurs. Please help
  



 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com








 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html -
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=lnkkid=120709bid=263057dat=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

Re: [Nagios-users] Need some help regarding with tomcat server

2007-01-31 Thread raghavendra kristam

Hi,

After Installed Nagios2.7 and Nagios plugin-1.4.5.
The following configuration files are located in /usr/local/nagios/etc
cgi.cfg-sample  commands.cfg-sample  localhost.cfg-sample  nagios.cfg-sample
resource.cfg-sample

Later copy those from $NAGIOSHOME/etc/*.cfg-sample to $NAGIOSHOME/etc/*.cfg
as

cgi.cfg  commands.cfg  htpasswd.users  localhost.cfg  nagios.cfg
resource.cfg
The below configuration are not availble in /usr/local/nagios/etc/ .
Do we need to create these files in /usr/local/nagios/etc/ or did I missed
any thing during installation time.
Please let me know.

cfg_file=/usr/local/nagios/etc/contactgroups.cfg
 cfg_file=/usr/local/nagios/etc/contacts.cfg
 cfg_file=/usr/local/nagios/etc/dependencies.cfg
 #cfg_file=/usr/local/nagios/etc/escalations.cfg
 cfg_file=/usr/local/nagios/etc/hostgroups.cfg
 cfg_file=/usr/local/nagios/etc/hosts.cfg
 cfg_file=/usr/local/nagios/etc/servicegroups.cfg
 cfg_file=/usr/local/nagios/etc/disk_services.cfg
 cfg_file=/usr/local/nagios/etc/database_services.cfg
 cfg_file=/usr/local/nagios/etc/web_services.cfg
 cfg_file=/usr/local/nagios/etc/local_services.cfg
 cfg_file=/usr/local/nagios/etc/timeperiods.cfg
 cfg_file=/usr/local/nagios/etc/windows-services.cfg
 # PERFPARSE LINE BELOW
 cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg

 http://www.totkat.org/pages/nagios-conf.shtml

Thanks,
Raghavendra.


On 1/30/07, David Rudder [EMAIL PROTECTED] wrote:


By the way, NagiosExchange has a plugin for monitoring JMX.

http://www.nagiosexchange.org/Misc.54.0.html?tx_netnagext_pi1[p_view]=808tx_netnagext_pi1[page]=10%3A10

It doesn't address, specifically, what you asked for.  But, it may be
even better.  For instance, your Java app will throw out of memory
errors if it reaches the maximum allocated to the VM.  This is usually
way below the amount available to the OS.  So, you'll want to measure
memory usage via JMX and not via the standard OS calls.

-Dave

David Rudder wrote:
 c) is a difficult one, but I expect it's been handled before.
 Tomcat stores its logs in the httpd common log format.  So, any nagios
 plugins that examine the Apache logs should be able to handle Tomcat's
 as well.  I see Ethan wrote a check_log that will check for a pattern.
 Maybe you could build on that.  If you're just looking to see if a
 request took a long time, you can add %D to the access log pattern
 (specified in conf/server.xml).  That shows the time it took, in millis,
 to fulfill the request.  However, I'm not sure if a page's request takes
 longer for a client with a slow link.

 Anyway, given the standardized way Tomcat stores it's log, it might not
 be too difficult to find someone who solved the same problem for
 Apache's httpd and apply that to Tomcat.

 -Dave

 raghavendra kristam wrote:

 Hi,

 I am quite new to nagios and finally I installed the required
 softwares on linux machine.
 I am able to access the web interface using the url
 http://localhost:90/nagios http://%3Clocalhost%3E:90/nagios.

 a) nagios-2.7
 b) nagios-plugins-1.4.5
 c) Apache httpd-2.2.4
 d) mysql4.1.22


 I need to do the following scenarios with nagios. Please let me know
 how to handle this scenarios.

 a)For server availability: listening to Tomcat server port
 periodically and send out notification when there is no response on
 the port.
 b)For memory/disk usage: periodically check memory/disk space and send
 out notification when the usage reaches certain thresholds.
 c) For requests per minute for the Tomcat Server and per JSP level
 requests per minute and response time


 Please let me know whether all these scenarios supported by nagios or
 not ?

 Thanks,
 Raghavendra.





-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV



 ___
 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




-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 

Re: [Nagios-users] Need some help regarding with tomcat server

2007-01-31 Thread Morris, Patrick
 After Installed Nagios2.7 and Nagios plugin-1.4.5.
 The following configuration files are located in 
 /usr/local/nagios/etc cgi.cfg-sample  commands.cfg-sample  
 localhost.cfg-sample  nagios.cfg-sample  resource.cfg-sample 
 
 Later copy those from $NAGIOSHOME/etc/*.cfg-sample to 
 $NAGIOSHOME/etc/*.cfg as 
 
 cgi.cfg  commands.cfg  htpasswd.users  localhost.cfg  
 nagios.cfg  resource.cfg
 
 The below configuration are not availble in /usr/local/nagios/etc/ .
 Do we need to create these files in /usr/local/nagios/etc/ or 
 did I missed any thing during installation time. 
 Please let me know.

If you've specified in your nagios.cfg file that that's where the files
are, then that's where you need to put them... Or you need to change
your nagios.cfg to point to where they are.  Pretty simple, really.

Also, keep in mind that just dropping the sample config files in without
customizing them to your environment will probably not work.

-
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=lnkkid=120709bid=263057dat=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