Server :: Error: Cannot Open Log File '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' For Reading?
Jul 9, 2011Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!
View 2 RepliesError: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!
View 2 RepliesI am installing Nagios Monitoring tool in RHEL5 and I got stuck at one point. The details are as follows:
Nagios version:3.0.1
At the end of installation when I try to execute the command
#chkconfig --add nagios
Its displaying "error reading information on service nagios : no such file or directory".
How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?
View 14 Replies View RelatedI have a problem when I try to service nagios start, error is the following; No lock file found in /var/run/nagios.pid So when I verified the sample Nagios configuration files whit /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg, get: -bash: /usr/local/nagios/bin/nagios: No such file or directory
View 3 Replies View RelatedRunning natios server in Debian 8? I cannot start nagios3 demon, it got following error:
Error: Check period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere!
Error: Notification period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere!
But if I commented following statement in generic-service_nagios2.cfg, it works just fine.
# check_period 24x7
# notification_period 24x7
I have configured a Nagios server which is working well with all king of clients. But when I added a new windows machine to monitor, it gives a error message "connection refused". I have set everything as prior machines.
Now, I just wanted to know the process by which we can check if server is able to communicate with the client's NSclient daemon. In Linux, we simply issue "./check_nrpe -H hostname" and if ok, it gives the NRPE version which indicates the status ok.
So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?
View 1 Replies View RelatedWe have Nagios and Pnp4nagios which saves performance data in hostperfdata and serviceperfdata files.Now we are migrating our system to centreon which will have NDO.
This will save the performance data to Mysql database.The requirement here is to feed current performance data file to NDO mysql database.
I am trying to get the application NagVis to run on our Nagios server. The installation appeared to complete successfully, but when I access the web pages, I get the following on-screen error:
[Code]....
In my nagios server, an htaccess file have been created for it so any time you want to open it, a window opens for you to enter user name and passwords. Now, what I want to do now is to integrate the nagios into a portal that is written in php so that when customers login to the portal, they can access the nagios with out it popping out the user and password windows. What is going to happen is, the password of nagios will be store in an orient database so the users when they try to access nagios true the portal, they will be login automatically.
View 1 Replies View RelatedI am using nagios to monitor a local host and a remote host in a vmware, where both the machines working in CentOS. Now i need to monitor MySQL in my local host so that i should know whether MySQL is up and running. I came across some plugins like
check_MySQL_health
check_MySQL_status
check_MySQL_stat.
While i was trying to install check_MySQL_health, i cant get clear description about the installation and i got stuck with that.
I am unable to open nagios web page on another machine. where iam able to see nagios page on server where i have installed nagios. but another machine if i put server ip in browser its authenticate for nagiosusername & password but after putting same. getting below error.
The webpage cannot be found HTTP 404 Most likely causes: There might be a typing error in the address. If you clicked on a link, it may be out of date.
What you can try: Retype the address. Go back to the previous page. Go to and look for the information you want. More information
How do I fix it?
Code:
Code:
Code:
OutPut:
Code:
i need to install nagios-plugins 64 bit, when i tried to install via yum i got this error yum install nagios-plugins.x86_64 yum error Unsatisfied dependency i hv installed openssl 32 bit but it needs openssl 64 bit, even php and perl. i tried to to install via yum yum install openssl.x84_64 but its not getting installed i tried to uninstall openssl but its shows so many packages to remove
View 4 Replies View RelatedI want to monitor RDS (mysql database of EC2) using Nagios. In command line ( I am able to do it but I dont know how to feed it in nagios . On nagios server if I execute the following command , I am able to fetch the information of database (RDS)
Nagios_server #/usr/local/nagios/libexec/check_mysqld.pl -p<password> -f -u <username> -A uptime,threads_connected,slow_queries,open_tables -H <hostname> -q 'SHOW STATUS'
output :- MYSQL 5.1.50 OK | uptime=344783 threads_connected=672 slow_queries=0 open_tables=64
Note :- Here the host name is public dns name (x.y.z.amazon.com) .We cant ping to this host.With mysql command , we can log in and work on databases.
How can recive nagios alerts via SMS,via SMS gateway XML API.
I have a sms gateway xml api & had writte a script in perl
NAGIOS SETUP
Can I have to install gateway module
Troubleshooting Nagios configuration? I'm already done with the installation and it's working fine. Now I'm working on adding Windows Server in Nagios to be monitored but the problem is my cfg_file=/etc/nagios3/objects/commands.cfg and cfg_file=/etc/nagios3/objects/windows.cfg there's no such /etc/nagios3/objects directory is existing on my nagios directory.
View 1 Replies View RelatedThis is an odd question, but I can't figure out why my nagios emails aren't being sent. In fact, I got my last one three days ago so it *should* be working.
I have everything in contacts.cfg, and the admin page tells me that the following should be sent: Unknown, Warning, Critical, Recovery, Flapping, Downtime
I also have notify-service-by-email and notify-host-by-email.
I have no idea if nagios emails just don't want to be sent or what -- and I'm not even sure if the nagios emails are even trying to be sent.
Here's my contacts.cfg code...
There's nothing in /var/log/nagios besides the mention of that email address in objects.cache, so I have no idea if an email was attempted to be sent. My sendmail queue is empty as well.
Meanwhile, I have some downtime on a service and didn't get notified. Only the web interface is helping me out here. Any ideas why I am not getting email? How can I run a test to see if everything's working okay?
When I try to log into the webgui I am getting a file to download labled "nagios". When double-clicking the file I get the error " The file /path/to/file cannot be found. Please check the location and try again".
View 10 Replies View RelatedI have a CentOS-5 Server with Nagios installed,through which I monitor three other servers.I want to monitor a Linux partition which is mounted under CentOS-5 server which has Nagios installed.
View 1 Replies View RelatedI am currently deploying Nagios as my NMS on CentOS 5 and using pn4nagios to create graphs.I have successfully configured Nagios-3.3.3 along with nagios-plugins-1.4.15. its working fine and showing my windows machine and linux machine.But here is the problem, when I try to configure pnp4nagios-0.6.11 I am unable to restart nagios service as it gives me error in commands.cfgfile on line number 240.can sum1 tell me how to get rid of this error. i had encountered similar problem while using nagiosgrapher. kindly note that i have allowed perdata to be processed by setting its value to 1.
View 4 Replies View RelatedI have configured Nagios in my CentOS machine and is able to receive notificatons/alerts related to hosts and services at defined interval. Now I would like to receive combined reports (for daily downtime, availability of hosts/services) for all hosts and services in one go in the morning. Is there any configuration or setting on Nagios Splash screen.
View 1 Replies View RelatedHeare i come with Nagios Problem, When ever i stop nagios it say's
[root@x292 ~]# service nagios stop
Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock
When ever i restart nagios it say's
[root@x292 ~]# service nagios restart
Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.
my nagios.cfg file is
# 'Nagios CFG 1'
[Code]...
Code:
[serv@local subsys]$ rm -rf nagios
rm: cannot remove `nagios': Permission denied
[code]....
I have a config file called hosts.cfg.
It contains entries like this:
Quote:
There are many more of these entries in the file, over 500, all in this same format: each host has a "define host" followed by 18 directives contained in squiggly brackets.
If I want to know all the hosts that are in the hostgroup called SERVER_GRP, I suppose I would need to read every hostgroups line (8th directive in squiggly brackets) that contains SERVER_GRP and output the corresponding host_name line (1st directive in squiggly brackets) from that entry.
I have a few questions to ask, so please pardon me
1) How to check for https in commands config file for Nagios? I only know how to check for http, not sure for https.
2) The log file in Nagios, is it possible to extend Nagios's plugins (or are there already have plugins existed) so that we could actually make use of the log file to check for status of each and every services in different hosts, instead of looking through the log file manually which can be very time-consuming if the list is very long.
Nagios - forbidden you dont have access to this server
I had made following changes on httpd.conf file:
ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/"
<Directory "/usr/local/nagios/sbin/">
AllowOverride AuthCongig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /nagios/ "/usr/local/nagios/share/"
<Directory "/usr/local/nagios/share/">
Options None
AllowOverride AuthCongig
Order allow,deny
Allow from all
</Directory>
I have installed nagios 3.2 on Rhel5. Now I want to add Dns and Dhcp service to be monitered by nagios (on local server). How can I add this services to get monitored by nagios. let us know the exact steps so that I can add this services in nagios.
View 1 Replies View RelatedWe are using Nagios Server for different sites say India,US,Germany. All of them are in their respective groups. Now how do i create web access to 3 of them, so that they can monitor only their server? Say, India shouls be able to see and monitor only India group, US guys should able to monitor only US servers. And they not be anle to access other group.
View 1 Replies View RelatedWhen you first access Nagios, it displays the Home page (the Nagios Core version and check for updates page). I would like to have a way to change the default page to either the Tactical Overview display or the Services display.This question was asked here, but not answered
View 3 Replies View Related