I'm trying to add a new host with the Nagios Administrator, but i can see the host in the principal panel of nagios.
Someone can help me with that, i don't know what i need to do for can monitoring a lot of servers that i have in linux.
Thanks a lot for the help.
Jonathan J.
Nagios® Core™ Version 3.2.1 Problem
Re: Nagios® Core™ Version 3.2.1 Problem
Check on the following things:
Is the configuration file being included by the main nagios.cfg file.
Has the configuration been verified so Nagios can restart correctly?
Have you restarted Nagios now that the new config is in place and included in the list of config files and directories?
Is the configuration file being included by the main nagios.cfg file.
Has the configuration been verified so Nagios can restart correctly?
Have you restarted Nagios now that the new config is in place and included in the list of config files and directories?
Re: Nagios® Core™ Version 3.2.1 Problem
thanks.
But how I can restart nagios via ssh?
Thanks a lot.
Jonathan J.
But how I can restart nagios via ssh?
Thanks a lot.
Jonathan J.
Re: Nagios® Core™ Version 3.2.1 Problem
I tried with the command but have the error:
root@nagios3:~# /etc/rc.d/init.d/nagios reload
-bash: /etc/rc.d/init.d/nagios: No such file or directory
root@nagios3:~#
Too, I tried through the web interface, but i still see only la localhost created by the application.
Jonathan J.
root@nagios3:~# /etc/rc.d/init.d/nagios reload
-bash: /etc/rc.d/init.d/nagios: No such file or directory
root@nagios3:~#
Too, I tried through the web interface, but i still see only la localhost created by the application.
Jonathan J.
Re: Nagios® Core™ Version 3.2.1 Problem
What distro are you on, and what installation method did you use (yum, apt, source)? The directory locations are different dependent on distro and installation method.
Re: Nagios® Core™ Version 3.2.1 Problem
I used a jumbox image...
Re: Nagios® Core™ Version 3.2.1 Problem
I'd see if the place you got the image from has any documentation. The downside of someone else's package virtual appliance for Nagios is that we don't know how they've set it up, either the OS or Nagios.
You need to find your nagios binary, run something to the effect of:
<pathto>/nagios -v <pathto>/nagios.cfg
to verify your configuration. If it passes verification, then you can restart nagios if you find the init script, or just do:
killall nagios
<pathto>/nagios -d <pathto>/nagios.cfg
to start the Nagios daemon
You need to find your nagios binary, run something to the effect of:
<pathto>/nagios -v <pathto>/nagios.cfg
to verify your configuration. If it passes verification, then you can restart nagios if you find the init script, or just do:
killall nagios
<pathto>/nagios -d <pathto>/nagios.cfg
to start the Nagios daemon
Re: Nagios® Core™ Version 3.2.1 Problem
I re-install my server, with ubunto 10 and then the nagios and plugins...
In this moment all is working but the server don't send email when a server was out...
How I can configure this part?
Jonathan J.
In this moment all is working but the server don't send email when a server was out...
How I can configure this part?
Jonathan J.
Re: Nagios® Core™ Version 3.2.1 Problem
Can you post your host config, and the contact config that's assigned to that host?
Re: Nagios® Core™ Version 3.2.1 Problem
contacts.cfg
define contact{
contact_name nagiosadmin ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias Nagios Admin ; Full name of user
email <email> ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
}
define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin
}
define contact{
contact_name nagiosadmin ; Short name of user
use generic-contact ; Inherit default values from generic-contact template (defined above)
alias Nagios Admin ; Full name of user
email <email> ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
}
define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin
}
- Attachments
-
- nagios.rar
- (12.33 KiB) Downloaded 112 times