Re: [Nagios-users] cgi issues

2007-08-03 Thread Tory M Blue
> > I have upgraded nagios from version 1.4 to 2.9 using the Debian
> > packages.. I've been trying to configure the new installation and keep
> > getting "Error: Could not read object configuration data!" when I try
> to
> > run any of the cgi's. I have double checked all my config files and
> made


Check ownership of the file, not just permissions.  Nagios:apache as
the webserver needs access to it. That bit me before

Tory

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Can't execute the CGI scripts

2007-08-27 Thread Tory M Blue
On 8/27/07, Reynold Guerrier <[EMAIL PROTECTED]> wrote:
> I did. Because I can see the Nagios Homepage, I can browse the
> Documentation webpages, but can't get through the nagios data.
>
> Rey


Ummm no, did you add the various pieces into your httpd.conf file,
stating where the nagios cgi's are and what authentication scheme to
use etc?

EXAMPLE ONLY


Alias /nagios "/var/spool/nagios/share/"


Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
Require valid-user


Alias /nagios/cgi-bin "/var/spool/nagios/sbin/"


Options  FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
Require valid-user


If no, then Patricks statement is valid.

Tory

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
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] Authentication again. login via web all commands work, go direct to cmd.cgi and no access

2006-08-08 Thread Tory M Blue
I could of sworn I had this working but for some reason it's not working today.Scenario:login is qa, pass, web paints and I see only the qa systems (perfect), I can click on services, I can disable notifcations 
etc.etc.etc. So authentication and authorization appears to be working.Nothing special in my cgi.cfg file, qa is only setup in contacts and thus can see these hosts/services by default.Now, I have modified the outgoing alert to include a url to go to :
http://host/nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=qav01&service=Check_DiskThis allows the groups to acknowledge their own alerts when they are messing around with their servers (QA/Dev etc)
Now the above url comes up fine ( I login and authemticate as qa), but now I receive this errorSorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.Ummm okay, when I login and do this command from the gui, no issues but when I issue the cmd.cgi
 command and authenticate directly i'm for some reason not authorized, doesn't seem right.Ideas?ThanksTory
-
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=lnk&kid=120709&bid=263057&dat=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] Authentication again. login via web all commands work, go direct to cmd.cgi and no access

2006-08-08 Thread Tory M Blue
Top posting.. Nevermind, can't believe I didn't catch it. The url does not match a correct host, if I change the host=FQDN this command works fine, so I must be doing something tweaking with aliases etc.Thanks and by apology for reaching out, before seeing this
ToryOn 8/8/06, Tory M Blue <[EMAIL PROTECTED]> wrote:
I could of sworn I had this working but for some reason it's not working today.Scenario:login is qa, pass, web paints and I see only the qa systems (perfect), I can click on services, I can disable notifcations 
etc.etc.etc. So authentication and authorization appears to be working.Nothing special in my cgi.cfg file, qa is only setup in contacts and thus can see these hosts/services by default.Now, I have modified the outgoing alert to include a url to go to :
http://host/nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=qav01&service=Check_Disk
This allows the groups to acknowledge their own alerts when they are messing around with their servers (QA/Dev etc)
Now the above url comes up fine ( I login and authemticate as qa), but now I receive this errorSorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.Ummm okay, when I login and do this command from the gui, no issues but when I issue the cmd.cgi

 command and authenticate directly i'm for some reason not authorized, doesn't seem right.Ideas?ThanksTory


-
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=lnk&kid=120709&bid=263057&dat=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] Reporting

2006-08-09 Thread Tory M Blue
On 8/9/06, Hugo van der Kooij <[EMAIL PROTECTED]> wrote:
On Wed, 9 Aug 2006, Brian Loe wrote:> Does anyone have a solution for reporting (via printable views - or> better, e-mail) in the 2.x version of Nagios. I'm really needing the> availability report sent at a specific interval...
If you know which URL to request to get the report you want: Simply wgetit and write a small script to tuck it in a nice email message.The url for the avail report is something like this (may help ya). You will have to break up the url to build the correct url for what your trying to do.
You may create 3 , daily, weekly and  monthly then have a central management page update the report for folks to see. 
http://host.domain.com/nagios/cgi-bin/avail.cgi?show_log_entries=&hostgroup=Web_Monitoring&timeperiod=thismonth&smon=8&sday=1&syear=2006&shour=0&smin=0&ssec=0&emon=8&eday=9&eyear=2006&ehour=24&emin=0&esec=0&rpttimeperiod=&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0&initialassumedservicestate=0&backtrack=4

-
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=lnk&kid=120709&bid=263057&dat=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] Forced Checks don't happen?>

2006-08-10 Thread Tory M Blue
Not sure if forced checks get into a whacky stage or what, but I've reloaded and restarted nagios with no lucklatest
[08-10-2006 11:16:40]  SERVICE ALERT: host.domaint;Check_Running_Procs;OK;SOFT;2;Processes ok[08-10-2006 11:06:36]  EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;snort;Check_Running_Procs;1155233195
So it's been over 10 minutes and I don't see my forced check taking place. I'm testing some service restart commands, and thus go in, stop a service on the test host then force the check, so I can watch what it's doing and verify that nagios restarted the service correctly.
But Nagios does not want to perform my check and when I look at scheduling queue it's there with a recent timestamp but it has not checked it.
snort
Check_Running_Procs08-10-2006 11:21:3608-10-2006 11:26:36ENABLED
  So what could be happening, I have made no changes and yesterday it allowed 3 good tests before it just stopped appearing to runThanks
-
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=lnk&kid=120709&bid=263057&dat=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] Forced Checks don't happen?>

2006-08-10 Thread Tory M Blue
On 8/10/06, Frost, Mark {PBG} <[EMAIL PROTECTED]> wrote:





I have seen this issue as well.  The first time I 
recall seeing it was with 2.4.  I believe I've seen it with 2.5, but I 
can't remember for sure.  I can't really reproduce it.  I believe I've 
gotten around it by removing the check, restarting nagios, then adding it again 
sometime later.  But I could be mistaken.
 
Markpepsi.com eh :) Cool beans, in fact I was just notified I won a motorola phone from pepsi , selected the slvr :) Cool stuff.
Back to Nagios:Yes I removed the check, reloaded and then added it back and it seemed to clear up, but this probably needs a bit of investigation to see what hangs, what is getting stuck since everything else seem to still work.
Thanks for the response Mark
-
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=lnk&kid=120709&bid=263057&dat=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] Maybe being dence.. notifcation options, email warn, page critical

2006-08-14 Thread Tory M Blue
The only way I'm seeing this happen is using multiple host or service checks, with different templates.This can't be the case and I must be missing something very easy as the entire world must have this configured already.
What did I miss?I need to email on warnI need to email and page on criticalPlease make me feel sillythanks
-
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=lnk&kid=120709&bid=263057&dat=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] Maybe being dence.. notifcation options, email warn, page critical

2006-08-14 Thread Tory M Blue
On 8/14/06, Hari Sekhon <[EMAIL PROTECTED]> wrote:



  


Tory M Blue wrote:
I need to email on warn
  
I need to email and page on critical
  
Please make me feel silly
  
thanks
I don't think nagios can support this. I would write a shell wrapper to
test the notification and then if warning email and if critical email
and page.

Hari



Okay but that's lots of secondary actions. Mucho eventhandler definitions.  Yes it;s code, yes it can be done outside, but that makes no sense. I'm actually a bit surprised that it's not built in..
But it's simple enough, but then it is, why is it not built in? Almost every plugin is required to provide a warning and critical, Nagios should be able to treat them differently..I hope you and I have overlooked something
Thanks
-
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=lnk&kid=120709&bid=263057&dat=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] Maybe being dence.. notifcation options, email warn, page critical

2006-08-14 Thread Tory M Blue
On 8/14/06, Tedman Eng <[EMAIL PROTECTED]> wrote:
Set up multiple contacts, corresponding to the method you wish to becontacted.define contact{  contact_namejdoe-email  service_notification_optionsw,c,r  service_notification_commands   notify-by-email
  email   [EMAIL PROTECTED]  }define contact{  contact_namejdoe-pager  service_notification_optionsc
  service_notification_commands   notify-by-pager  pager   888-555-1234  }Sorry my reply was late it appears, okay,. i see this, however show me how you use this with a single host or service definition?
I see how your recommending this be done (appreciate it), but I don't see how this works unless you in fact setup 2 host or 2 service instances both being identical except for the contact-group.What am I missing?
Thanks
-
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=lnk&kid=120709&bid=263057&dat=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] Maybe being dense.. notifcation options, email warn, page critical

2006-08-14 Thread Tory M Blue
Thanks, I sat here looking around thinking you were smoking something and then it hit me, all the lines came into focus and I understood what you were saying.Totally undestand now! Mucho Gracias and stuff!!! I'm set!
On 8/14/06, Jason Martin <[EMAIL PROTECTED]> wrote:
On Mon, Aug 14, 2006 at 12:34:48PM -0700, Tory M Blue wrote:> On 8/14/06, Tedman Eng <[EMAIL PROTECTED]> wrote:> >> >Set up multiple contacts, corresponding to the method you wish to be
> >contacted.> >> >define contact{> >  contact_namejdoe-email> >  service_notification_optionsw,c,r> >  service_notification_commands   notify-by-email
> >  email   [EMAIL PROTECTED]> >  }> >> >define contact{> >  contact_namejdoe-pager
> >  service_notification_optionsc> >  service_notification_commands   notify-by-pager> >  pager   888-555-1234> >  }> >>
> Sorry my reply was late it appears, okay,. i see this, however show me how> you use this with a single host or service definition?>> I see how your recommending this be done (appreciate it), but I don't see
> how this works unless you in fact setup 2 host or 2 service instances both> being identical except for the contact-group.> What am I missing?You just said it right there, actually. You are confusing
contacts and contact-groups. You would put jdoe-email andjdoe-pager into the same contact group and assign that to theservice. You only need one host, one service, one contactgroup,and two contacts in that group.
-Jason Martin--Let he who takes the plunge remember to return it!This message is PGP/MIME signed.
-
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=lnk&kid=120709&bid=263057&dat=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] host check anly after critical service check

2006-08-17 Thread Tory M Blue
On 8/17/06, Marc Powell <[EMAIL PROTECTED]> wrote:
> -Original Message-> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED]] On Behalf Of Danil Kutepkin> Sent: Thursday, August 17, 2006 3:50 AM> To: 
nagios-users@lists.sourceforge.net> Subject: [Nagios-users] host check anly after critical service check>> Hello nagios-users,>>   How to make a host active check (ping) only after a failed service
>   check (ping)?I don't follow either. Some hosts you may only want to set up a service "PING", but you want the host to also be checked so that you get a single HOST failure, vs a service failure if the host is down.
So setup the host with a check_command   check-host-alive line, and then add a service for the same hostdefine service{     use generic-service    host_name  hostname
    service_description Ping    check_command   check-host-aliveIf the service check fails, it will force the hose to do a host check, and since well it's probably down, you should only receive a host critical/unreachable alert.
Sorry if your not really talking this basic, then your going to have to provide a bit more information.You could also force the host to actually be checked like a service by enabling active checks every x minutes (create a new host template)

-
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=lnk&kid=120709&bid=263057&dat=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] Web transaction checker

2006-08-18 Thread Tory M Blue
Anyone succesfully deploy a url transaction checker.Something that will enter data into a field and varify the results (user/pass etc?)I see
Nagios-WebTransactBut having a hardtime fully grasping how to use it. Anyone have anything currently in use that I can cheat off?My trans check is fairly straight forwardget urlpost formdata user=user, pass=pass, verify that you see "log out"
get url/logout, verify that you see "user login"Thanks
-
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=lnk&kid=120709&bid=263057&dat=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] escalation/notification question

2006-08-18 Thread Tory M Blue
On 8/18/06, Jeff Williams <[EMAIL PROTECTED]> wrote:
If I have a host called viper with the following definitions, I'm wondering why the group admins gets warning notifications for the service "DISK /" after the first notification. To me, these definitions say that admins should get no more than 5 notifications and no warning notifications after the first one. Am I wrong in thinking that? In testing this, the admins group got at least 8 warning notifications.
host definition---define host{    use   generic-host    host_name viper    alias viper    address   

127.0.0.1    parents   localhost    check_command check-host-alive    notification_interval 0    notification_options  d,r    notification_period   never
    contact_groups    admins}service definition---define service{    use   generic-service    host_name viper    service_description   DISK /
    is_volatile   0    check_period  24x7    retry_check_interval  1    contact_groups    admins    notification_interval 5
    notification_period   24x7    notification_options  w,u,c,r    check_command check_nrpe!check_disk1}escalation definition---define serviceescalation{
    host_name viper    service_description   DISK /    first_notification    2    last_notification 2    notification_interval 5
    contact_groups    admins    escalation_options    c,r}define serviceescalation{    host_name viper    service_description   DISK /
    first_notification    3    last_notification 4    notification_interval 5    contact_groups    admins    escalation_options    c,r
}define serviceescalation{    host_name viper    service_description   DISK /    first_notification    5    last_notification 0    notification_interval 0
    contact_groups    admins    escalation_options    c,r}Please let me know if more info is needed. Thanks in advance.Jeff

Umm can we see your contacts and contactgroup configs? Bet admins get warnings thereTory
-
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=lnk&kid=120709&bid=263057&dat=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] ePN Strange problem with PERL Script

2006-08-19 Thread Tory M Blue
Top posting..Put it in a shell wrapper. so that Nagios calls it as a shell script vs a perl script, should solve your problemToryOn 8/19/06, 
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
HI AllI wrote the SNMP plugin in Perl Script and I tested the script from commandline and 'mini_epn' with success.When I use the script into NAGIOS Enviroment the script don't function andreturn the follow error:
**ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric indivision (/) at (eval 6) line 156,".In line 156 there is the easy division operation.Can you help Me?
My system isFedora Core 4Nagios 2.5Thank youRiccardo RAGGIIT Consultant-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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing list
Nagios-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
-
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=lnk&kid=120709&bid=263057&dat=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] Web transaction checker

2006-08-19 Thread Tory M Blue
On 8/18/06, Peter Ringe <[EMAIL PROTECTED]> wrote:
HiTry check_website (http://www.steveshipway.org/software/f_nagios.html)I think its exactly whjat You are looking for, we use it since somemonth w/o any problems
PeterThanks,I actually was able to write our own that does what I need.  similar to what you provided, but it's basic perlThanks will keep this page in mind, seems to have a variety of stuff

-
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=lnk&kid=120709&bid=263057&dat=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] Mutliple users cannot see their assigned hosts/services (contacts)

2006-08-01 Thread Tory M Blue
Okay I've gone thru the list and I have no clue why things are not working so I'm breaking down and pinging the collective.I can access using user/pass and view any and all services, do whatever I want with the user that is configured in the various
authorized_for_* in the cgi.cfgSo I obviously or believe that:a) if I'm being prompted for a pass/user that I have Apache auth working fineb) that if I log in with the associated user in the authorized_for lines and can do everything I have a user/pass that CGI is accepting
SoWhen I create a secondary and tirturary user and those user names match the contact group of various hosts why do I get the error:
"It appears as though you do not have permission to view information for any of the hosts you requested..."Soo that you don't have to ask me questions regarding my configs..Here is what I think to be pertinant:
Apache:Alias /nagios "/usr/share/nagios/html"    Options Indexes FollowSymLinks ExecCGI    AllowOverride AuthConfig    Order allow,deny
    Allow from all    AuthName "Nagios Access"    AuthType Basic    AuthUserFile /etc/nagios/htpasswd.users    Require valid-user
    Options ExecCGI    AllowOverride AuthConfig    Order allow,deny    Allow from all    AuthName "Nagios Access"    AuthType Basic    AuthUserFile /etc/nagios/htpasswd.users    Require valid-user
cgi.cfg "Only configured for my admin as the other users should automagically be given visability into their hosts/services"*authorized_for_all_services=admopsauthorized_for_all_hosts=admops
*contactgroups:define contactgroup{    contactgroup_name   qa    alias   QA Admins    members nagios-admins,qa-admins    }define contactgroup{
    contactgroup_name   dev    alias   Dev Admins    members nagios-admins,dev-admins    }hosts_*.cfgdefine host{    use generic-host
    host_name   qa760    alias   qa760    address xx.xx.xxx.xx    check_command   check-host-alive    contact_groups  admins, qa    }htpasswd-users:
admops:SECUREDqa:SECUREDdev:SECUREDI'm not sure what I'm missing, any pointers would be great.ThanksTory
-
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.php&p=sourceforge&CID=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] Mutliple users cannot see their assigned hosts/services (contacts)

2006-08-01 Thread Tory M Blue
Your amazing!!,..  I wonder where I got contact_groups from!!Thanks for the easy answer, I'm cruisen again!ToryOn 8/1/06, Joerg Linge <
[EMAIL PROTECTED]> wrote:Am Dienstag, 1. August 2006 19:33 schrieb Tory M Blue:
> Okay I've gone thru the list and I have no clue why things are not working> so I'm breaking down and pinging the collective.>> I can access using user/pass and view any and all services, do whatever I
> want with the user that is configured in the various>> authorized_for_* in the cgi.cfg>> So I obviously or believe that:> a) if I'm being prompted for a pass/user that I have Apache auth working
> fine> b) that if I log in with the associated user in the authorized_for lines> and can do everything I have a user/pass that CGI is accepting>> So>> When I create a secondary and tirturary user and those user names match the
> contact group of various hosts why do I get the error:> "It appears as though you do not have permission to view information for> any of the hosts you requested...">> Soo that you don't have to ask me questions regarding my configs..
>> Here is what I think to be pertinant:>> Apache:> Alias /nagios "/usr/share/nagios/html">> > Options Indexes FollowSymLinks ExecCGI
> AllowOverride AuthConfig> Order allow,deny> Allow from all> AuthName "Nagios Access"> AuthType Basic> AuthUserFile /etc/nagios/htpasswd.users
> Require valid-user> >> > Options ExecCGI> AllowOverride AuthConfig> Order allow,deny
> Allow from all> AuthName "Nagios Access"> AuthType Basic> AuthUserFile /etc/nagios/htpasswd.users> Require valid-user> >> 
cgi.cfg "Only configured for my admin as the other users should> automagically be given visability into their hosts/services">> *> authorized_for_all_services=admops> authorized_for_all_hosts=admops
> *> contactgroups:>> define contactgroup{> contactgroup_name   qa> alias   QA Admins> members nagios-admins,qa-admins
> }>> define contactgroup{> contactgroup_name   dev> alias   Dev Admins> members nagios-admins,dev-admins> }
>> hosts_*.cfg>> define host{> use generic-host> host_name   qa760> alias   qa760> address xx.xx.xxx.xx
> check_command   check-host-alive> contact_groups  admins, qa> }>> htpasswd-users:>> admops:SECURED> qa:SECURED> dev:SECUREDThe HTTP Username is the contact Name. Not the contact_group Name
Jörg-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___Nagios-users mailing listNagios-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.php&p=sourceforge&CID=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