[Nagios-users] logout for nagios web interface

2009-03-09 Thread shadih rahman
All, Is it possible to create logout for nagios web interface. As far as I understand, it is just matter of resetting the $_REMOTE_USER apache variable. Can someone please provide some guidance on this. Thanks -- Cordially, Shadhin Rahman

Re: [Nagios-users] encrypting or protecting nagios config files

2009-03-09 Thread shadih rahman
] *Sent:* Friday, March 06, 2009 11:19 AM *To:* shadih rahman; nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios-users] encrypting or protecting nagios config files You can use the resource.cfg file to store credentials, which is a secured file. Credentials can then be passed

[Nagios-users] check_ftp

2009-03-09 Thread shadih rahman
Can someone please advise how to monitor ftpd service with username password and download a file. The check_ftp plugins seems to be lacking some of these options. -- Cordially, Shadhin Rahman -- Open Source Business

[Nagios-users] encrypting or protecting nagios config files

2009-03-06 Thread shadih rahman
All, in commands.cfg or in service definition file we have to enter password community string and such. I was wondering if there is any way to encrypt that or setup a system where those information relayed to nagios process in the memory and there is no way to access them? Please advise on

Re: [Nagios-users] monitor router temperature

2009-03-06 Thread shadih rahman
Try this and see if this works for you. Thanks check_snmp -H yourhost -C your community_string -P your_snmp_version -o 1.3.6.1.4.1.9.9.13.1.3.1.3.1 -w 42: -c 38:42 On Thu, Feb 12, 2009 at 9:25 PM, Marc Powell m...@ena.com wrote: On Feb 12, 2009, at 5:16 PM, Chris wrote: I was wondering

[Nagios-users] check_ping for service and host explanation

2009-03-05 Thread shadih rahman
All, I need some clarification about Nagios host and service check relationship. I have no dependency defined. I have the following host and service defintion define host{ name foo use generic-host ; Inherit default values

[Nagios-users] service group based cgi access

2009-03-05 Thread shadih rahman
Is there anyway to configure nagios so that particular servicegroup only members of a particuar group can execute service command and host commands. However anyone can view them. I know there is the following to cgi parameter but they are for global nagios access.

Re: [Nagios-users] Nagios and rpmbuild

2009-02-16 Thread shadih rahman
Darvin, I added my nagios3.spec file with nagios-3.0.6. Hope this help. On Tue, Feb 17, 2009 at 1:38 AM, Darvin Denmian darvin.denm...@gmail.comwrote: Hello List i'm building a rpm package with nagios-3.0.6 and i have a question: why my rpm packages don't contain the directory

Re: [Nagios-users] checking for results of external commands

2009-02-10 Thread shadih rahman
Dirk, I am struggling with the same issue. However there is few solutions. One thing you have to parse the status.dat file. There is a cpan module which creates the perl object for nagios configs and status http://search.cpan.org/~duncs/Nagios-Object/ . However this module have some problem

[Nagios-users] service check without host checks

2009-02-05 Thread shadih rahman
All, Is it possible to have a service check without having any host check for a particular host. Let me elaborate. I am trying to use check-host-alive as a service check. Also I am passing check_command = null in the host definition. However it looks like the host is doing this twice.

[Nagios-users] All notification emails are going to nagios admin

2009-02-05 Thread shadih rahman
All my nagios notification emails are going nagiosadmin instead of correct contactgroup. Below is my command for email. Please advise on this. Thanks define command{ command_namenotify-host-by-email command_line/usr/bin/printf %b * Nagios *\n\nNotification

[Nagios-users] Nagios::StatusLog perl module issue

2009-02-04 Thread shadih rahman
I am trying to parse nagios log using Nagios::StatusLog perl module. I am getting error while trying to parse. I am using nagios version 3.0.6. Any help will be much apreciated. Thanks #!/usr/bin/perl use strict; use Nagios::StatusLog; my $host='localhost'; my $log =

[Nagios-users] Nagios command line interface

2009-01-28 Thread shadih rahman
All, Just wanted to know if there is any project going on for nagios command line interface? What is the process to request something like that. I would like to actively participate in a project like that. I know there is cnagios and also there are external command macros. However, I am

[Nagios-users] perl external command example

2009-01-28 Thread shadih rahman
Can someone please give me an example how to submit external command using perl script. I am trying to do this and its now working. The command I am passing to named pipe is something like this. Thanks ACKNOWLEDGE_HOST_PROBLEM;hostname;1;1;1;1;sr2690;testing 1233162775 my code is like this.

<    1   2