Software :: Using Nsclient++ With Nrpe To Monitor Event Logs?

Oct 5, 2010

someone with good experience of monitoring windows event logs with nrpe or check_nt + nsclient++ give me some good examples of the above. I do have this working, but some of the checks appear inconsistent.

Code:
./check_nrpe -H 10.222.203.151 -c CheckEventLog -a filter=new file="Security" MaxWarn=1 MaxCrit=2 filter-generated=<2d filter+eventType==Information filter=in filter=all truncate=400 unique descriptions
Eventlog check ok|'eventlog'=0;1;2;

I just cant seem to get this particular check correct.

View 2 Replies


ADVERTISEMENT

Server :: Monitor Postfix Logs - Activity ?

Feb 26, 2010

I have been using Postfix since 2006 with no problems ever. Simple & rock solid however I was wondering what you guys use for monitoring all your email traffic and logs? Is there an application or utility you guys suggest using as a mail administrator to easily scan / view logs in a organized and clean view?

View 1 Replies View Related

Software :: Unable To Installed Nsclient On Windows Machine?

Sep 15, 2010

installed nagios on rhel 5.4_64 bit machine. now wants to monitor windows hosts using nagios,but not able to installed NSClient++-0.3.8-x64.msi error found while installing this package not supporting your processor type and 2203 error.

View 5 Replies View Related

Server :: Monitor Server Snmp Read From Logs Parsed Possible?

Jul 21, 2009

I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?

View 1 Replies View Related

Networking :: Nagios Configuration With The NRPE?

May 17, 2011

I've followed all the instructions in nagios documentation to install the nrpe agent in a remote host, but the daemon nrpe is not listening on port.. that means I can't even test it localhost!

netstat -at | grep nrpe
returns nothing.
You added the nrpe entry to your /etc/services file - done
The only_from directive in the /etc/xinetd.d/nrpe file contains an entry for "127.0.0.1" - done
xinetd is installed and started - done

Check the system log files for references about xinetd or nrpe and fix any problems that are reported - syslog empty..

Installed lsof and lsof +M -i4:

xinetd 25680 root 5u IPv4 75987 TCP *:nrpe (LISTEN)

Is there anything else I can do to correct this? I configured this yesterday and it was working ok.. but today when got into computer it stopped working

View 2 Replies View Related

Red Hat / Fedora :: Unable To Install Nrpe On CentOS 5.4

Apr 27, 2010

I have a CentOS 5.4 OpenVZ Virtual Environment running cPanel. I am trying to install nrpe to monitor services running on the VE, but there is a problem with the packages dependencies:

Code:

# yum install nrpe
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

[code]....

View 1 Replies View Related

Networking :: Nagios& Nrpe Working On The Same Machine?

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

Networking :: Monitoring - Communication Between Nagios & NRPE?

Feb 28, 2011

The communication between nagios and nrpe agent in the monitored host, can be without SSL? The problem is that I have 2 different versions of debian running on the machines and there are problems related to the libssl-dev package!

View 11 Replies View Related

CentOS 5 :: NRPE And Xinetd Running Every Minte

Jun 10, 2011

I have nagios/nrpe installed on a client and for some reason, the xinetd service is running/checking every minute. The log is just getting larger by the minute with the start and exit of xinetd.

View 19 Replies View Related

Software :: Install Nagios Server And Nrpe Package?

Jun 8, 2011

i tried to install nagios server and nrpe package i am getting some ssl issue i am unable to resolve this problem pls guide me i am using fedora servers i installed nagios,nagios-plugins,nrpe,xineted, and openssl* packages in my local fedora system i am able to login my web browser as a nagiosadmin account i can able to monitor my localhost as well as i installed the nrpe-x.x.x.tar.gz,xineted,openssl* in my remote system. i allowed the nagios server ip in /etc/xineted.d/nrpe.cfg i restarted the xineted service in my remote system i wrote the iptable rules in both systems (I allowed the 5666 port in both systems)

when i run below command i am getting the successfull out put local system and remote system

/usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.12
/usr/local/nagios/libexec/check_nrpe -H <nagiosserverip>
CHECK_NRPE: Error - Could not complete SSL handshake.

View 8 Replies View Related

Server :: Nagios / NRPE Oddity On Similar CentOS Machines

May 24, 2010

We have Nagios running on a server, and are installing NRPE as a daemon on web servers we need to monitor. I'm two servers in and have hit a small snag. The two servers we're currently trying to monitor are, to the best of our knowledge, very similar (Centos 5.4, Apache, MySQL, PHP etc etc), and the installations of NRPE on them should be the same. One is being monitored just fine, however we can't check on the other one without including the -n switch (to disable SSL) in the check_nrpe call. If we don't, however, the error we get is, "CHECK_NRPE: Socket timeout after 10 seconds.". In /var/log/messages on the machine that fails we see:

May 24 17:23:49 ourserver xinetd[23583]: START: nrpe pid=27932 from=123.123.123.123
May 24 17:23:59 ourserver nrpe[27932]: Could not read request from client, bailing out...
May 24 17:23:59 ourserver xinetd[23583]: EXIT: nrpe status=0 pid=27932 duration=10(sec)
The only kind of related thing I can think of that's different between the two machines is that one (the one that works) has actually had an SSL certificate installed on it, for the site it hosts.

View 2 Replies View Related

Software :: Check_log Nrpe Error: Connection Refused By Host?

Jun 29, 2011

Please help me figure out what's wrong. Other nagios check for the same host is working except for this one.In <hostname>.cfg of nagios server, I need to add this to check for a specific pattern in the host's log:Quote:

define service{
use production-logs
host_name hostname

[code]....

View 3 Replies View Related

Fedora :: FC12 Logs In And Then Logs Out?

Apr 19, 2010

When I try to login as me - it gets pretty far but then something happens and automatically logs out. This happens in Gnome, Kde too. Now - I have no problem logging in a Root. Is there a way I can try to stop the login process before it kicks me out, or is there a way to look at some files to tell me what's going on?

View 3 Replies View Related

CentOS 5 Server :: LDAP Client - Nss_ldap: - Authenticate SSH And Sudo And Not Services Like Httpd - Nrpe - Xinetd

Aug 9, 2011

When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.

View 2 Replies View Related

CentOS 5 :: Logs In Goes To Check The Logs And Gets "/var/log" Permission Denied

Jan 29, 2010

On our app server the logs from the Sybase Mobilink service get logged to /var/log because of that I did a chmod a+rx /var/log and all is well until.... the next day QA logs in goes to check the logs and gets:

Quote:
qa@dwdb [~]$ ls /var/log
ls: /var/log: Permission denied
qa@dwdb [~]$

View 18 Replies View Related

Fedora :: Event Ids And Associated Sounds - Failed ?

Feb 11, 2010

With /usr/bin/canberra-gtk-play set to --id='desktop-login' in the startup Applications dialog one expects a sound to play at login. This is not the case with fedora 12. I set the variable to --file=/home/me/sounds/myloginsound and I got sound.

I'm curious as to why the event id failed. I suspect that id was not linked/associated with any sound before fedora 12 was released. How does one troubleshoot sound event ids and their associated sounds in f12.

I'd like to get audio when I log out as well. I recall seeing a dialog box with events and associated sounds in f11 (or was it f10?) .... I don't see it in f12

1. Does anyone know which package adds that functionality?

2. In the absence of a GUI approach, how can this be achieved (with the terminal)?

View 2 Replies View Related

Ubuntu :: Restart In The Event That It Ever Crashes?

Feb 3, 2010

I have a program running on my server which I want to restart in the event that it ever crashes. Someone suggested "Watchdog" to me, but it appears to me that watchdog restarts the whole system, not the program. I couldn't find much documentation for it. Another suggestion I was given was crontab, except that I don't want to relaunch the program every 60 seconds, as it doesn't run on screen or anything, it forks itself into the background after launching it. Perhaps a bash script that would check to see if the program were running or not, and if it weren't, relaunch it? Not sure how to do that, I've never written bash. In any case, I just want to keep this program running full time.

View 6 Replies View Related

Ubuntu :: Changing Event Sounds In 10.04?

May 3, 2010

Ever since 9.04 or thereabouts, I have noticed that it's impossible to change individual system event sounds in System -> Preferences -> Sounds. It only gives me a few lame choices of "themes". While it used to be possible to define my own sounds for startup, shutdown, new e-mail, etc, I can't find ANY dialog to facilitate this in newer versions of Ubuntu.

A question: HOW do I do this without having to hack apart my stock system sounds? There should be a way, but google and forum searching turns up nothing.

A comment: Ubuntu continuing to "nerf" their dialogs like this is infuriating, especially when the underlying system works so well. I actually don't know if Ubuntu or Gnome is responsible, but either way taking away rock-bottom basic functionality like this only hurts the OS and Linux's cause.

View 9 Replies View Related

Ubuntu :: PC Won't Boot After Disastrous Event

Jan 19, 2011

I was turning off my pc and my brother pulled out his sd card while the pc was shutting down. Now when I try to boot up I can't boot into my ubuntu partook it just hangs and then comes up with inittramfs. I can boot into my windows partition just fine. I also tried rebooting with the sd card in the slot but same thing. I managed to load up a live disc but have no idea what to do next if I want to save my old partition (if it can be saved) otherwise as a last resort ill have to overwrite the partition.

View 3 Replies View Related

Networking :: Link Down / Up Notification Event

Oct 26, 2010

I am on debian lenny and I am trying to make a script that will run in the background and checks the ethernet connection. If the ethernet connection goes down it will connect to wlan. I have found 2 ways of checking ethernet connection, via proc/net/dev and via ifconfig eth0. But if possible I want to avoid polling. So is there any event that is triggered when the table gets disconnect or at least the connection goes down and up?

View 1 Replies View Related

Programming :: Mq_notify Not Notifying About An Event

Nov 30, 2010

I'm using mq_notify to be notified about events on a message queue. But my registered notifier function is not being called. I'm pasting my code snippet below:

[Code]....

View 4 Replies View Related

Fedora :: How To Cath E Log On / Off Sleep Event

Apr 16, 2010

In window , I can catch all of systems event by window API, but in Linux,I don't know how to do it.

View 2 Replies View Related

General :: Get A Mouse Event To Cause Keystroke?

Mar 14, 2010

I have a Logitech Media Play mouse with many buttons. I'm using xbindkeys to create some shortcuts to programs e.g. firefox, gnome-terminal--these work wonderful. What I cannot figure out is how to get the buttons to work for the media player(Ubuntu>System>Keyboard Shortcuts>Sound). I set shortcuts using my win key and letters, hoping to use xbindkeys to send out a keystroke. I have tried to use xmacro but to no avail. xdotool was not helpful, I think it may be outdated(desktop/workspace functions did not work).

My preferred option would be to get mouse events to keystrokes working with xbindkeys and program x(x being whatever works); however, just getting my media buttons to interact with the media play is my ultimate goal.

View 1 Replies View Related

General :: Log Devices Plugged In - Event ID?

Aug 21, 2009

I know in windows xp there is a registry key and an entry in the Plug and Play log file as well as maybe an event id, that is produced when a device (say usb) is plugged in. My question is, besides /var/log/ (messages?) Is there any other location that that information is stored in?

View 3 Replies View Related

General :: Catching The Hibernate Event?

Jun 7, 2010

Is it possible to catch the power management events(hibarnate/standby/sleep)o the code(c++)?

View 2 Replies View Related

Software :: NAM With NS 2.34 - No Event Type Or Button

Aug 6, 2010

My OS is F12 with Gnome desktop, after many alternatives I installed ns-allinone-2.34 so ns-2.34 run very well:
[dreams@localhost ~]$ ns
% exit

When I try nam, I got this error:
[dreams@localhost ~]$ nam
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units }"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units }
bind Li..."

I m not familiar with Linux so I don't understand what it means. I want to tell you that I can run nam when I access to the folder with this command ./nam and I can see the samples so I run simulation. I visit some pages when they speak about gcc and their compatibilities with F12. When I use Makefile I got access dined.

View 5 Replies View Related

Programming :: Event When Network Interface Goes Down?

Jul 13, 2010

I am trying to write an app that will perform some actions when a network interface is unplugged. Is there a way to get the OS to signal me when a network interface is unplugged. I have looked at DBus but can't figure it out.

View 1 Replies View Related

Debian Multimedia :: XFCE Sound ID For Event?

Oct 25, 2015

I am installing canberra for event sound and input feed back sound. I installed freedesktop sound theme and moblin. All sound files are there but only trash empty event trigger sound.

Other events like: login, dialog error , etc etc no sound...

For login I created login.ogg link to destop-login.ogg but canberra-gtk-play claim unknown event id?

I like to have startup sound at xfce login and other event...

View 0 Replies View Related

Debian Multimedia :: No Event Sounds In XFCE 4.6.2 On Sid?

Jan 24, 2011

I recently gave XFCE a try, after using Openbox for a long time and I really like it, so that I think I will switch totally to XFCE. All is working fine, except one thing: I really would like to have event sounds.

So I launched the Appearance-Module and checked under the Settings-tab both Enable event sounds and Enable input feedback sounds. Following the tooltip for the event sounds I also installed libcanberra, but I get absolutely no event sound.

[Code]...

I thought, maybe there is a lack of a sound theme, so I also installed freedesktop-sound-theme, but that didn't help. I did already searched with Google and in this forum, but have found nothing that would help me. I would be very happy if anyone can give me an advice what to check or has a link to a tutorial for this sounds.

View 11 Replies View Related

Ubuntu Networking :: Using VPN Disconnect To Trigger An Event

Mar 3, 2010

I use network-manager-pptp to connect to my VPN server. However, occasionally my VPN drops out (although my Internet stays up). I was just wondering how I could make the VPN drop-out trigger a bash script, for example playing a sound to alert me that the VPN has dropped?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved