|
nagios.cmd ... "Sorry, you are not authorized..." -- Argh!: msg#00427network.nagios.user
Whelp, I'm stumped. I can't figure out why I can't do things like add comments, disable service checks, schedule downtime etc. I've set myself up as nagiosadmin, right out of the box. I can see and do everything else... Just for fun, I've set up other hosts, with different contact names and then setup different usernames (doing basic auth, using Apache)... and that works as documented. What's the trick? I've already read: nagios/docs/commandfile.html. Thanks, Olivier PS. I've noticed that when I login, it says logged in as 'nagiosadmin' (which is correct). But, when I hit "commit" to disable a service check, for example, the "Sorry" page indicates logged in as ?. [obeauche@mrtg var]# ls -la total 904 drwxrwxr-x 4 nagios nagios 4096 Jan 9 21:47 . drwxrwxr-x 8 nagios nagios 4096 Jan 7 01:52 .. drwxrwxr-x 2 nagios nagios 4096 Jan 8 00:00 archives -rw-rw-r-- 1 nagios nagios 0 Jan 9 20:53 comment.log -rw-rw-r-- 1 nagios nagios 0 Jan 9 20:53 downtime.log -rw-r--r-- 1 root root 5 Jan 9 18:04 nagios.lock -rw-r--r-- 1 nagios nagios 822693 Jan 9 21:23 nagios.log drwxrwsr-x 2 nagios nagiocmd 4096 Jan 9 21:33 rw -rw-rw-r-- 1 nagios nagios 42078 Jan 9 21:47 status.log -rw-rw-r-- 1 nagios nagios 31332 Jan 9 20:53 status.sav and ... [obeauche@mrtg var]# cat /etc/group | grep nagio apache:x:48:otrs,nagios,nagiocmd nagios:x:503:apache nagiocmd:x:505:nagios,apache and ... command_file=/usr/local/nagios/var/rw/nagios.cmd check_external_commands=1 log_external_commands=1 ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: RE: squarbox: 00427, Jon Lyons |
|---|---|
| Next by Date: | list b0rked?: 00427, Jonathan Nichols |
| Previous by Thread: | Sample nrpe.cfg with nrpe-1.7i: 00427, Jon Kinred |
| Next by Thread: | Re: nagios.cmd ... "Sorry, you are not authorized..." -- Argh!: 00427, Jon Lyons |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |