General :: Collect Data From Nagios Once A Week And Have It Sent/mailed?

Feb 2, 2011

We need to collect data from nagios once a week and have it sent/mailed.What would be a good place to get it? I am thinking starting with nagios/var/nagios.logscan it once a week and get most recent entries from each hosts.

View 3 Replies


ADVERTISEMENT

Networking :: Tcp_probe Doesn't Collect All The Data?

May 2, 2011

I'm trying to plot the TCP congestion window and the slow start threshold using iperf and the tcp_probe module. I do exactly what is told here:

to obtain the data:

modprobe tcp_probe port=5001
chmod 444 /proc/net/tcpprobe
cat /proc/net/tcpprobe >/tmp/tcpprobe.out &
TCPCAP=$!

[Code]....

I did the test with iperf for 10, 20, 40 100 and 200 seconds but the plot only showed the first 20 seconds in all of the tests. I checked the tcpprobet.out log and y saw that 2048 entries are registered, no matter if the test was for 20 or 200 seconds.

View 1 Replies View Related

General :: How To See The Code Behind The Nagios Plugin: Nagios Checker

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

Ubuntu :: Parsing Web Data From Nagios (Bash Fu)?

Apr 27, 2011

We have a system called Skynet, which is basically a bunch of monitoring tools, including Nagios. What I want to do is output the status of 'critical' processes in conky. The conky part I'll worry about later (how hard can that be?), but I'm looking for some feedback on how I'm parsing the initial data. I figure that the simplest way to get the information is to query the cgi, then take what I need from the results...

Code:
wget -O - "http://user:pass@skynet/nagios/cgi-bin/status.cgi?status.cgi?host=all&servicestatustypes=16&hoststatustypes=3"| grep -i "<TD ALIGN=LEFT valign=center CLASS='statusBGCRITICAL'><A HREF='extinfo.cgi?type=2&host="

[Code]...

All I basically want is the server name and the process name, the above example giving server0/server1 and 'update status' as the service. How would you go about extracting merely these two pieces of information, bearing in mind that the server name and process are variable?

View 3 Replies View Related

Networking :: Nagios Not Receiving SNMP Data?

May 18, 2010

I have recently set up nagios on a ubuntu server (9.10), and set it up to monitor all the servers, switches etc, following the quickstart guide provided on the nagios website.My problem is this:I have setup the nagios-plugins, and tried to set it up to monitor the network switches via SNMP but receive the following within the nagios web interface:SNMP problem - No data received from host I tried it from the command line, and got the exact same error.Is there some further configuration I need to do to be able to get this data?I've used up all my google-fu, and read over everyone else's problems on every forum I could find, but to no avail.

View 6 Replies View Related

General :: Collect All Logs Of Unix Server?

Dec 26, 2010

I am installing RHEL 5.5 to be a syslog server to collects logs from servers (HP-UX, Linux, Windows and Cisco Network Devices). and i can now collect logs from my windows PC on syslog linux server by using Datagram SyslogAgent software. can collect logs from HP-UX 11.23 server. and i configuring the Unix server as in the steps below:

1. Log in as root

2. Go to /etc/syslog.conf

3. Add a line: *.*<tab>@<Sentinel Server IP Address>

*.* @10.15.1.5

4. Save and Close

# netstat -na | grep 514

tcp 0 0 *.514 *.* LISTEN
udp 0 0 *.514 *.*

[code]....

View 1 Replies View Related

General :: Collect / Tool For Memory Dump?

Dec 10, 2010

how to collect the memory Dump In Linux?

View 1 Replies View Related

General :: Collect The Count Of The Reboots That Occur Of Servers?

Apr 21, 2010

I have a pool of approximately 1,000 Linux servers and I would like to get a total count of reboots that occurred on those servers each month. I would like to collect this reboot count at the end of each month. Can anyone tell me what the best way to get this count.

View 1 Replies View Related

General :: Nagios - Can I Configure Nagios To Do This

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

General :: Create A *one* Line Command That, Using Tar, Will Collect The Full /usr/local Directory?

Oct 6, 2010

I am currently interning at a place and my job is to essentially learn UNIX. My supervisor gives me problems here and there to help guide me with my learning but for the most part I'm doing this all by self-teaching myself. Needless to say I have run into a few obstacles...for instance-Create a *one* line command that, using tar, will collect the full /usr/local directory (you need to run this as root again) and copy the whole /usr/local structure under /optFor example /usr/local/bin/hello will become /opt/local/bin/hello, etc. I want this as follows:1. /usr/local is collected by tar, but the output of this tar command is its stdout.. what you get from the previous stdout, you compress with gzip and send it to stdout again 3. get this output and decompress with gzip.. get this output and pipe to tar in a way that will extract the tree under /opt.If anyone knows how I could go about doing this, please let me know, or at the very least point me in the right direction. What I've got so far (which could be completely wrong) is:tar cvf - usr/local/ | gzip -c - | gunzip -c - | tar xvf -in theory I feel like this should work (except for extracting the tree under /opt...i'm kinda stuck there)

View 3 Replies View Related

General :: Isolating A Day Logs From A Squid Week Log

Mar 30, 2010

I have been requested to deliver the logs for last friday, but the problem is that I have configured squid logs to be weekly, not daily. How can I extract the logs generated friday from the week file?

View 3 Replies View Related

General :: Get Week Number Based On Date With Different First Day It In Gawk?

Jun 24, 2011

How to get the week number in linux using gawk with different first day of the week? the date command can give me the week number with +%V but it is based on Monday (1-53) or +%U (based on Sunday, 0-53).

I tried to to do this: date -d "ddmmyy+2days" +%V, but the result is not correct. I want the first day of the week is based on Saturday.

View 1 Replies View Related

General :: How To Revise For RHCE Exam In A Week Time

Feb 5, 2011

i am going to write rhce exam in this month ,i want some tips how to do revision for the same.

View 1 Replies View Related

Server :: NDOmod - Nagios -ndomod: Error Writing To Data Sink

Jan 29, 2010

How do I fix it?

Code:

Code:

Code:

OutPut:

Code:

View 7 Replies View Related

Server :: Error: Cannot Open Log File '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' For Reading?

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

General :: Write A Shell Script Which Will Simultaneously Collect OS User Information And Write In An Individual Text Files?

Feb 17, 2010

I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.

View 8 Replies View Related

Ubuntu :: Collect Multiple Windows In One?

Feb 8, 2011

i wondered if there is no gnome Software with it would be possible to "Collect" multiple Windows together.

As 4 Terminals or 2 Terminals and a gedit.

I dont think about tabbed views, i think about viewing them side by side. I know that it would be _possible_ to this by hand, but it would be *much* easier doing this with an application. I often want to see 4 terminals at a time and its really unhandy to do this by hand

View 3 Replies View Related

Ubuntu Servers :: Collect The Mail From There With Mutt Etc AND Thunderbird On Another Machine?

Nov 15, 2010

I use AOL for my mail i cant use a terminal mail client mutt etc, If I let thunderbird download mail to my home server (pc in corner) is it possible to collect the mail from there with mutt etc AND Thunderbird on another machine. Summary download aol with thunderbird to server then collect it later with other laptops / email clients

View 3 Replies View Related

Server :: Configure Rsyslog On Fedora 10 To Collect The Log From Cisco ASA5510?

Mar 29, 2010

I have set up one Fedora 10 server.I found that rsyslog service is running on Fedora 10 server.How to configure rsyslog on Fedora 10 to collect the log from Cisco ASA5510 ?

View 2 Replies View Related

Programming :: Write A Small Perl Script To Collect Some Info From Mysql?

Oct 10, 2010

am running Centos 5.4 and would like to write a small perl script to collect some info from mysql.

so I went
yum install perl-DBI
yum install perl-DBD-mysql

then

nano perl.pl
---
#!/bin/perl
use Mysql;

[Code].....

Why can't perl find Mysql.pm? I guess because it doesn't exist as I ran find / -name Mysql.pm, and also could not find it.

shouldn't that file have been created and thus exist after I install perl-DBD-mysql?

View 6 Replies View Related

Fedora :: Change The First Day Of Week?

Jun 3, 2011

Someone knows how to change the first day of the week in the calendar popup to Monday?I already looked in /usr/share/gnome-shell/js/ui/calendar.js but I didn't saw where I have to change that (my knowledge of JavaScript isn't very good yet)

View 1 Replies View Related

Ubuntu :: 9.10 - Vista Goes Bluescreen Almost Every Week

Feb 6, 2010

I installed ubuntu a mount ago, since then my vista goes bluescreen almost every week, I have vista business sp2 32bit and ubuntu 9.10 32bit dual boot. Details about one of bluescreens is below:

Problem signature:
Problem Event Name: BlueScreen
OS Version: 6.0.6002.2.2.0.256.6
Locale ID: 1033

Additional information about the problem:
BCCode: be
BCP1: 837020B7
BCP2: 28EA0860
BCP3: 8BB63A18
BCP4: 0000000E
OS Version: 6_0_6002
Service Pack: 2_0
Product: 256_1

Files that help describe the problem:
C:WindowsMinidumpMini020110-01.dmp
C:Users
afisehAppDataLocalTempWER-50060-0.sysdata.xml
C:Users
afisehAppDataLocalTempWER8304.tmp.version.txt
Read our privacy statement: [URL]

View 8 Replies View Related

SUSE :: Auto Update For A Week

Dec 3, 2009

I logged on my ibm600e with SUSE 11.1 + on Thanksgiving and auto update started and is still running today 12/02/2009. Pentium cpu is at 77 to 97% 93% memory usage plus some swap usage. Ethernet and wireless are activeily working

also separately the CD ROM is not detecting/detected except by the hardware report I sent in. My external Zip100 Is visible. as is the plug in floppy drive

My linux is very limited

View 1 Replies View Related

Programming :: Finding The Day Of The Week In Different Timezones

Nov 10, 2010

I am using the following to find the Day of the Week on my server which is in UTC.

Code:

But say if I want to find the Day of the Week in another timezone, how would one go about it. I had a look at date --help but could not find any timezone related switches so am not sure if this is possible using this method.

Update:
This appears to work but is this the only way?

Code:

View 2 Replies View Related

General :: Mount: /dev/mapper/gegevens-Data Already Mounted Or /data Busy

Jul 14, 2010

A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee

[code]....

Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:

umount /data/
umount: /data/: not mounted

If I want to mount the volume I get the following error:

mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy

View 3 Replies View Related

General :: Add Another Host To Nagios?

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

General :: Not Getting Graphs In Nagios?

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

Fedora :: How To Change Calendar Week Starting Day

Nov 21, 2010

I have a cyclical problem. After a new fedora installation the calendar week start with sunday and I want to change it with monday. I tried with many guide without success (the latest is this: [URL]). Is possible to say how to change it? The version is fedora 14.

View 3 Replies View Related

OpenSUSE :: Evolution Won't Start The Week With Sunday

Apr 20, 2011

Suse 11.3/Gnome 2.30.0

Evolution 2.30.1.2

I cannot get the monthly view to start the week on Sunday. The settings seem right but they don't stick. Restarting Evolution always defaults to a week start on Monday even though the defaults display Sunday. I've viewed the default settings the following two ways:

Within Evolution... Edit > Preferences > Calendar and Tasks > week starts on "Sunday"

GNOME Configuration editor.../apps/evolution/calendar/display/week_start_day = 0 (Sunday)

View 4 Replies View Related

Ubuntu :: Software Center Not Working After 1 Week?

Jan 29, 2010

My system specification:I am using is in my PC(stand alone) with the following system config..AMD Sempron(tm) processor2500+704 MB RAMASUS mother board..buntu version 9.10When I click ubuntu software center ->search any software ->select the software -> click the arrow at right corner->then click install button for me nothing happens. It was installing for one week and now it seems to be not. It gives no error message no action, but just static. Is that a paid version or i am missing something basic? I have tried to do the following

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

View 9 Replies View Related







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