Login

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

[solved] Run "Nagios control" section on command
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [solved] Run "Nagios control" section on command
#1266
[solved] Run "Nagios control" section on command 8 Months, 4 Weeks ago Karma: 0
Hi all

How I can run command in section "Nagios Control" ("Write monitoring data", "Write additional data" , "Check configuration files" and "Restart Nagios") on command line?
E.g. I inserted data into NagiosQL database and I want run re-configure and restart Nagios on shedule.

Please help me with this issue.

NagiosQL 3.0.3
OS: RHEL5
PHP: 5.1.6
MySQL: 5.0.45


Best Regards
Alexander
Hitman
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/18 09:13 By martin.
The topic has been locked.
 
#1269
Re:Run "Nagios control" section on command line 8 Months, 4 Weeks ago Karma: 4
"Write monitoring data" and "Write additional data" cannot be used on command line.

"Check configuration files" works like the commend line function:

nagios -v nagios.cfg

and

"Restart nagios" can be done with

/etc/init.d/nagios restart or send a RESTART Command to the nagios.cmd file.
martin
NagiosQL Founder
Posts: 303
graph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#1270
Re:Run "Nagios control" section on command line 8 Months, 4 Weeks ago Karma: 0
Hi

Yes, sorry, my question relate with write configuration and addition data.

I khow that restart nagios and verify nagios configuration it's very simple.
Hitman
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 1