General :: Getting Nagios Check_logfiles Working With Windows?
Apr 8, 2011
I have Nagios working and the check_logfiles plugin installed on my Ubuntu box and NSClient ++ installed on my windows box. My end goal is to be able to get the check_logfiles plugin to flag certain words in Windows Log Files. I can call the check_logfiles from the Ubuntu command line and it works fine when I look at a local log file on the Nagios box. If I try to do something similar but point to a remote windows file the process fails. I have NRPE enabled and I think working on the Windows machine. Before I post Config files etc can someone tell me if my approach is correct? Should I be calling the check_logfiles plugin from the Nagios box or do I need to install the Windows version of Check_logfiles on the remote machine and then make some sort of reference to it in the NSC.ini file on the Windows box.
View 1 Replies
ADVERTISEMENT
Feb 15, 2011
My Nagios email Notification is not working, I'm trying to setup external relay server using GMAIL. I'm also using dynamic IP.
Please see the test below:
Here is my PoSTFIX CONFIGURATION:
View 14 Replies
View Related
Aug 4, 2010
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 Related
Jul 15, 2011
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 Related
Aug 31, 2010
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 Related
Mar 12, 2010
I have configured Nagios on SLES 10 SP2. I could configure nagios but 2 things are not working correctly.
1.It doesnt show correct disk utilization for /local partition.
2.It doesnt send Alerts.
I have installed NAGIOS (nagios-3.2.0-11.1, nagios-plugins-1.4.14-11.1 and few other which are required to remove dependency) on server and I have installed nagios (nagios-plugins-1.4.14-11.1, nagios-nrpe-client-2.12-11.1 and few other packages to remove dependency) on client.
Configuration files from NAGIOS server: nagios.cfg (Since this file is big, I have copied the relevant portion only. Let me know if any specific info is required from this file)=>
log_file=/var/log/nagios/nagios.log
cfg_file=/etc/nagios/objects/commands.cfg
cfg_file=/etc/nagios/objects/contacts.cfg
cfg_file=/etc/nagios/objects/contactgroups.cfg
cfg_file=/etc/nagios/objects/timeperiods.cfg
[Code].....
View 2 Replies
View Related
May 2, 2011
I install Nagios Core Version 3.2.3 in CentOS 5.5 via rpmforge repo configure ssmpt to sent mail via my gmail account. i test and don't see any in it even some notification to nagiosadmin is get deliver now i create one user in contacts.cfg
Code:
I also add one contact groups
Code:
Now i add one windows xp machine on nagios for monitor (i install NSClient++ 0.3.8.75 and it working fine)
Here is my windows.cfg
Code:
But my problem is when my host goes down i m not getting any notification to my define contactgroup,
View 2 Replies
View Related
Feb 8, 2011
I have placed the restart-ssh script in /usr/local/nagios/libexec/eventhandler but its not working on seeing the event log the following information is obtained
Though i have checked the script manually by the following command
It works fine with both of the above mentioned commands
I don't know why it is not able to restart ssh when nagios is calling it as event handler
The service definition for ssh in localhost.cfg is as follow:
View 1 Replies
View Related
May 25, 2011
I want to have like 4 machines, each one of them with Nagios and nrpe (plugin+daemon) installed so that every one of the machines could be able to monitor all of the others.. Is there any problem doing this? Or having nrpe+nagios in the same machine is ok?
View 2 Replies
View Related
Jul 9, 2011
Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!
View 2 Replies
View Related
Mar 5, 2011
I recently updated to squeeze following the Debian release note steps, and most everything went smoothly. However, I'm now unable to get into the Nagios web interface. The service is still running and sends email notifications of issues as usual, but logging into the web interface gives me a 403 Forbidden error.
View 14 Replies
View Related
Jun 15, 2011
I installed Nagios following the Quick Install method from the Nagios.org web site but now I would like to add and monitor another host.I don�t find a way , I have for example replaced the ip number of the localhost(127.0.0.1 localhost.cfg) for another ip number and I am able to monitor another computer that way. But then I no longer MONITOR the localhost unless I replace the ip number in the localhost.cfg file. what I would like to do is to monitor both or more computers.
View 4 Replies
View Related
Oct 16, 2010
i have two linux machines i have installed nagios on only one machine and i am getting graph for that one(localhost).but for the second one(host2) i am not getting the graphs so what should i do.. what should i do to get graphs for othe host (remote machine).
View 4 Replies
View Related
Jan 15, 2011
My Windows XP PC crashed and died. I tried to restore it, but it asks for a system file I don't have. I thought I could start up with the Linux0S2007 CD, but it doesn't seem to recognize the CD drive either. Is there a code or keyboard entry I could use to run my PC off of the Linux CD without Windows working? I have not installed Linux on this PC.
View 12 Replies
View Related
Jun 29, 2010
I just installed nagios to a Cent 5.4 box. Everything is working so far except I want to add a plugin I found on nagios exchange. The file has a .pl extension. I am unsure how to add the plugin to the rest of nagios. Do I need to add it to a nagios folder and then define it. If I just try to run the pl file I get a error mesg. I am unsure if the error is caused by system misconfig or because the plugin is not installed. The plugin is check_dayime.pl and the error I get is Can't locate Date/Parse.pm Perl seems to be working as I can run simple perl scripts and perl -v spits out v 5.8.8
View 3 Replies
View Related
Aug 4, 2010
I have installed Nagios Core 3.0 (latest version) and currently monitoring more than 80 hosts (servers, desktops, routers and switches).
Everything is fine but status map options are very few and you cannot customize them. all the views are very wierd.
I am trying to use NEXSM but it seems some complex. good solution to imrove the nagios status map.
View 2 Replies
View Related
Feb 20, 2010
I am trying to add dag repository in Centos 5.3 for nagios according to this documents..
[URL]
but it is of no use... i dont know what is wrong...
how to install nagios in censtos 5.3? I am trying to install nagios with yum.
View 3 Replies
View Related
Jan 6, 2011
setting up Nagios which I have done quite easily, I have only one concern I am not able to setup email Notification from Postfix. I am able to send and receive mails from Postfix internally, I just need to know how to setup Postfix i.e point the server to get NAgios Notification.
View 8 Replies
View Related
Dec 8, 2010
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 Related
Mar 23, 2011
I have configured nagios on my local VM machine and i got no error
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
But when i am unable to start nagios # service nagios start nagios: unrecognized service
View 14 Replies
View Related
Dec 16, 2010
i am installing nagios-3.2 in rhel 5 . it show the errors in make all command..
Quote:
[root@ns1 nagios-3.2.3]# make all
cd ./base && make
make[1]: Entering directory `/root/Desktop/nagios-3.2.3/base'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o
[Code]...
View 1 Replies
View Related
Apr 12, 2011
anyone tell me how to monitor printers in Nagios
View 3 Replies
View Related
Nov 30, 2010
I'm running Nagios Core 3.2.3 in a CentOS 5.5 Server, i'm trying to set the notifications, however they don't go through. I'm Using Postfix, i also setup squirrel mail and i can send mails through it successfully, can anyone give me some advice about the logs to check or configurations to check?
View 2 Replies
View Related
Aug 5, 2010
so as the title says.
i saw this in nagios.cfg:
Code:
# TIMEZONE OFFSET
# This option is used to override the default timezone that this
# instance of Nagios runs in. If not specified, Nagios will use
# the system configured timezone.
[Code]....
View 7 Replies
View Related
Jul 29, 2010
checking of services in Nagios. You all know the check_[service] command right? In the commands.cfg and windows.cfg. To check for the different types of services/ports, we just replace the [service] in check_[service] with the name of the port? I only know of check_http, check_ssh, check_ftp etc. Some ports like Finger, snmp etc, all these we also write it as 'check_finger', 'check_snmp'? 2) And, if that is the case, do we have to install additional plugins to monitor the ports defined earlier? 3) Lastly, if i want to monitor finger,snmp in windows server, would i need to download any software?
View 2 Replies
View Related
Jan 14, 2011
Yesterday i install nagios, after that i can successfully monitor my local machine disk usage and its services, but now i want to monitor remote host, but have no idea how to do this , i also google alot but not getting resource full explanation.so please guys tell me how can i monitor the remote host using nagios..
View 54 Replies
View Related
Apr 23, 2010
I am trying to install and configure nagios on RHEL 5. I have apache 2 installed and php all working as exepected. When i install nagios following the these steps [URL]. The nagios folder that is suppossed to be placed under apache2's httpd is no where to be seen. So when I try to open localhost/nagios/. It says: The requested URL /nagios/ was not found on this server. What can I do for the nagios to work on this system. The apache and php are working fine.
View 1 Replies
View Related
Jul 14, 2010
I ahve installed Nagios 3.2.1 and to generate performance graphs i am trying to use opmon [URL] there are three utilities required to generate graphs: I have installed all prerequisites successfully.
opcfg
opcp
opdb
Here i have installed opcfg successfully and working good, For opcp requirement is "opdb" but no proper documentation available. But while compiling opdb from command
gcc -D_GNU_SOURCE -Wall -shared -o opdb.o opdb.c -L/usr/lib/mysql -lmysqlclient -DNSCORE
Its giving error: Please see attached file For thsi also no proper documentation available.
is there any other easy way to generate performance graphs from Nagios.
View 1 Replies
View Related
Jan 6, 2010
I am trying to install check_mysql_health plugin in nagios to check mysql database using nagios.
Can anyone know the link for detailed description with steps to be followed to install and check this plugins working fine.
View 2 Replies
View Related
Mar 2, 2011
I have installed nagios in centos and its working fine.
I need to configure email alerts for nagios.
I have already configured nagios to send email alerts for warning,critical and recovery for 24/7.
1) i need to configure nagios to send email alerts twice a day
a) morning at 8am
b) evening at 6pm
2)i need nagios to send email alerts only "current status" of the host and services twice a day (morning and evening).
View 4 Replies
View Related