Login

Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Nagiosql on OSSIM (Debian Etch)
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Nagiosql on OSSIM (Debian Etch)
#79
Nagiosql on OSSIM (Debian Etch) 2 Years, 2 Months ago Karma: 0
since right now ossim doesn't have WUI for managing nagios yet, i tried to do it with nagiosql. It's been quite a hard time following the installation manual since the directory hierarchy on OSSIM is not the same as in the nagiosql manual. They are briefly like this (on setting.ini after a lot of trial and error):
Code:

root            = /nagiosql-2.0.2/
physical = /var/www/nagiosql-2.0.2/
config          = "/etc/nagios2/"
confighosts     = "/etc/nagios2/conf.d/"
configservices  = "/etc/nagios2/conf.d/"
binary    = "/usr/sbin/nagios2"
cmdfile         = "/var/lib/nagios2/rw/nagios.cmd"
pidfile         = "/var/run/nagios2/nagios2.pid"



and i even had to make those backups directory

and i was left with testQL error
Nagios configuration directories
Nagios Binary found and executable.
Nagios Command File not found - parameter wrong in settings.ini: section "[nagios]", parameter "cmdfile"!
Nagios Configuration Directory but not writeable, please check permissions!
Nagios Hosts Configuration Directory but not writeable, please check permissions!
Nagios Services Configuration Directory but not writeable, please check permissions!
Nagios Backup Directory but not writeable, please check permissions!
Nagios Hosts Backup Directory but not writeable, please check permissions!
Nagios Services Backup Directory but not writeable, please check permissions!


the worst thing is, i got to access the WUI but it's in German's language. I never took that language's class
umarzuki
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2008/06/09 11:28 By umarzuki.
The administrator has disabled public write access.
 
#80
Re:Nagiosql on OSSIM (Debian Etch) 2 Years, 2 Months ago Karma: 5
In config/settings.ini you will find a parameter called "lang" - change this to:

lang = lang_en

for English.

The configuration directories and files must be writeable for the webserver daemon, otherwise NagiosQL can not write to them.
martin
NagiosQL Founder
Posts: 307
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#81
Re:Nagiosql on OSSIM (Debian Etch) 2 Years, 2 Months ago Karma: 0
i just chmod -R 777 to the directories then only remain 2 problem:
1. To change it to English language
2. the 1st error: File not found - parameter wrong in settings.ini: section "[nagios]", parameter "cmdfile"!
umarzuki
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#82
Re:Nagiosql on OSSIM (Debian Etch) 2 Years, 2 Months ago Karma: 0
oh..ok. Thanks
umarzuki
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#93
Re:Nagiosql on OSSIM (Debian Etch) 2 Years, 2 Months ago Karma: 0
Did you get this to work on Ossim? I have all of my configs moved over and everything works except the ability to restart nagios.
I have changed the settings.ini to

; Nagios system files
; -------------------
binary = "/usr/sbin/nagios2"
cmdfile = "/var/lib/nagios2/rw/nagios.cmd"
pidfile = "/var/run/nagios2/nagios2.pid"

As a side note, this may not be related to NagiosQL since I am unable to issue external commands from the nagios interface either.

I do have the nagios.cmd file and permissions are fine.

Thanks,
James
jledbetter
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#94
Re:Nagiosql on OSSIM (Debian Etch) 2 Years, 2 Months ago Karma: 2
And you are sure you enable the command feature in nagios.cfg?

Cheers,

Rouven
rouven
NagiosQL Developer
Posts: 255
graphgraph
User Offline Click here to see the profile of this user
47315142 Gender: Male NagiosQL Location: Hamburg, Germany Birthday: 03/19
The administrator has disabled public write access.
 
Go to topPage: 123