deepak deore | 21 May 2013 14:06
Picon

blank recovered sms alerts on mail

Hi,

I am getting blank sms alerts for RECOVERED messages but for yellow or red the alerts are coming correctly. Could you tell me whats going wrong ?

My xymon version is : - 4.3.10

HOST=$PRD SERVICE=* EXSERVICE=disk
        MAIL $ADMIN color=red,yellow REPEAT=20 RECOVERED NOTICE format=sms
        MAIL $MANAGER color=red,yellow DURATION>20 REPEAT=20 RECOVERED NOTICE format=sms
        MAIL mail <at> example.com color=red,yellow REPEAT=60 RECOVERED NOTICE

_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon
Al Jeffcoat | 17 May 2013 00:40
Picon

Devmon Template for pfSense

Hello,

Does anyone have a devmon template for pfSense that they could share?  If not I'll work on building one, but didn't want to reinvent the wheel if necessary.

Thank you,

Al Jeffcoat
_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon
Root, Paul T | 16 May 2013 22:21

RPM bulid for 4.3.10 client mode

I’m trying to make an RPM on RedHat. Specifically for the client.

 

It spends a bunch of time building, then comes up with this:

 

Installation complete.

 

You must configure your webserver for the Xymon webpages and CGI-scripts.

A sample Apache configuration is in /usr/lib64/xymon/server/etc/xymon-apache.conf

If you have your Administration CGI scripts in a separate directory,

then you must also setup the password-file with the htpasswd command.

 

To start Xymon, as the xymon user run '/usr/lib64/xymon/server/bin/xymon.sh start'

To view the Xymon webpages, go to http://stnxymdev/xymon

+ mkdir -p /tmp/xymon-root/etc/init.d

+ cp /home/ptroot/localRPMS/SOURCES/xymon-init.d /tmp/xymon-root/etc/init.d/xymon

+ cp /home/ptroot/localRPMS/SOURCES/xymon-client.init /tmp/xymon-root/etc/init.d/xymon-client

+ mkdir -p /tmp/xymon-root/etc/logrotate.d

+ cp /home/ptroot/localRPMS/SOURCES/xymon.logrotate /tmp/xymon-root/etc/logrotate.d/xymon

+ mkdir -p /tmp/xymon-root/etc/default

+ cp /home/ptroot/localRPMS/SOURCES/xymon-client.default /tmp/xymon-root/etc/default/xymon-client

+ mkdir -p /tmp/xymon-root/usr/bin

+ cd /tmp/xymon-root/usr/bin

+ ln -sf ../lib/xymon/server/bin/xymon ../lib/xymon/server/bin/xymoncmd .

+ mkdir -p /tmp/xymon-root/etc/httpd/conf.d

+ mv /tmp/xymon-root/etc/xymon/xymon-apache.conf /tmp/xymon-root/etc/httpd/conf.d/

mv: cannot stat `/tmp/xymon-root/etc/xymon/xymon-apache.conf': No such file or directory

error: Bad exit status from /var/tmp/rpm-tmp.66715 (%install)

 

 

So I went back and reconfigured for the server, and put the config in place. But it comes back the same.

 

Any ideas what’s going on here?

 

Thanks,

Paul.

 

_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon
Torsten Richter | 16 May 2013 09:29

planned downtime


Hi folks,

I'm running 4.3.10 at the moment on Linux and have a question about the
DOWNTIME parameter in hosts.cfg.
From the man page of hosts.cfg:

DOWNTIME=day:starttime:endtime[,day:starttime:endtime]
DOWNTIME=columns:day:starttime:endtime:cause[,columns:day:starttime:endtime:cause]
    This tag can be used to ignore failed checks during specific times
of the day - e.g. if you run services that are only monitored e.g.
Mon-Fri 8am-5pm, or you always reboot a server every Monday between 5
and 6 pm.

    What happens is that if a test fails during the specified time, it
is reported with status BLUE instead of yellow or red. Thus you can
still see when the service was unavailable, but alarms will not be
triggered and the downtime is not counted in the availability
calculations generated by the Xymon reports.

Can someone confirm that this only works for red and yellow alerts but
not for the purple ones?
Can this behaviour be adjusted somewhere? Except for setting the status
lifetime in the scripts of course.

Thanks
Torsten
--

-- 
+---------------------------------------------------------+
| E-mail  : bb4 [at] richter-it.net			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get
Steve Madel | 15 May 2013 20:41

Moved hobbit to new server.

I recently moved hobbit to a new server, and did not move over the rrd files as ti would take way too long.  Is
there a way I can set the old server to not monitor anything but just be there to display the old graphs?

_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon

shea, greg | 13 May 2013 20:17

Logfile syntax client-local.cfg

Hi folks,

 

Need some help with adding this logfile to client-local.cfg.  I have a logfile like " /opt/NetQoS/logs/nqnapacapd_20130513.log"

I know I can create that date via `date '+%Y%m%d'`, but I've tried a number of ways to add this, but none were successful.

 

Any help with the correct syntax would be appreciated.

Greg Shea

EMC Corporation

 

_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon
Ray Reuter | 13 May 2013 19:26
Picon

Folder Size

Does anyone know of a way to monitor the size of a folder? I am not a programmer so I figured I would reach out to you and see who might have done this already or knows of someone who has been successful.
_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon
Steve B | 13 May 2013 15:20
Picon

cgierror.log lists error

Dear all,

I have this error appearing repeatedly in my cgierror.log file:

2013-05-13 15:16:59 hobbitgraph Sendto failed: Connection refused
2013-05-13 15:16:59 hobbitgraph Sendto failed: Connection refused
2013-05-13 15:16:59 hobbitgraph Sendto failed: Connection refused
2013-05-13 15:16:59 hobbitgraph Sendto failed: Connection refused
2013-05-13 15:16:59 hobbitgraph Sendto failed: Connection refused
2013-05-13 15:16:59 hobbitgraph Sendto failed: Connection refused

And I have millions of lines with this. Fairly new to Xymon, probably permission issue - anyone able to help? I have tried to search the web (ans this mailing list + archives) and read the man pages where possible.

thanks

SD




_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon
Giovanni M. | 10 May 2013 19:51
Picon
Gravatar

Receiving partial (ignored) logfiles

Hi,

I'm using Xymon 4.3.11 and im getting partial ignored messages in client-local.cfg

Ex:
<at> client-local.cfg
log:/var/log/mail.err:10240
ignore dovecot:

After updating xymon-client's definition, the following error still appears:
&red Critical entries in /var/log/mail.err &red xxx-24KJb5yGmVk@public.gmane.org): Error: sieve: relative script path, but empty home dir: ~/.dovecot.sievThis is the original message:Apr 11 21:46:25 ns025 dovecot: lda(xxx-q89RzV0OsXQ@public.gmane.org): Error: sieve: relative script path, but empty home dir: ~/.dovecot.sieve

Xymon seems to break the line or something, does anyone know if its a bug or just use the correct regular-expression?

Thank you,
_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon
Don Kuhlman | 10 May 2013 18:32

Disk Alerts aren't coming or changing web page colors

Hi folks.  For some reason I'm not getting disk full alerts on some servers we have and their webpage screens aren't changing from green to yellow/red.  It was over 95% on the /Volumes/Arena1-EC-D5 disk but not screens changed color and we didn't see an email.

I'm hoping someone can send me some direction on what I should check to see what may be wrong.

Here's the web page disk view for the server:
Filesystem Size Used Avail Use% Mounted on /dev/sdc3 103G 9.3G 88G 10% / /dev/sdc1 504M 90M 389M 19% /boot /dev/mapper/mpathip1 21T 18T 2.6T 88% /Volumes/Arena1-EC-D5 /dev/mapper/mpathjp1 21T 16T 4.6T 78% /Volumes/Arena1-EC-D6
Here's a snip from hosts.cfg:

subparent services backupservers Backup Servers
# group-except bbd <font size="+1">Backup Servers</font>

10.1.2.4     CommVault-Media-Agent-MEDAGT02          #CLIENT:MedAgt02.domain.com OS:unix-prod DESC:"SERVER:Comvault Media Agent"

Here's a snip from analysis.cfg:

HOST=CommVault-Media-Agent-MEDAGT02 GROUP=SRMBACKUPS
        PROC cvd
        PROC cvfwd
        PROC cvlaunchd
        PROC EvMgrC
        PROC CvMountd 
        DISK /Volumes/Arena1-EC-D5 90 95
        DISK /Volumes/Arena1-EC-D6 90 95
        DISK /boot 92 95
        DISK 85 90   

And here's alerts.cfg:

PAGE=services/backupservers SERVICE=disk
script /usr/lib64/xymon/server/ext/html_mail.pl michael.gentile <at> schawk.com FORMAT=TEXT RECOVERED DURATION>15m REPEAT=2h
# script /usr/lib64/xymon/server/ext/html_mail.pl don.kuhlman <at> schawk.com FORMAT=TEXT DURATION>30m REPEAT=24h


Thanks much!

Don K


_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon
Jeremy Laidman | 10 May 2013 02:08
Picon

Re: BBWincmd

Have you checked your ghost report?  Perhaps it's being rejected due to a hostname mismatch.

Are you sending a client message?  Client data should come in as a client message rather than data or status.  See "man xymon" for the format.  Perhaps you could show us the first 10 lines of the message.<hostname>txt files?

You could run something like this:
   sudo -u xymon xymoncmd xymond_channel --channel=client sed -n '/^ <at> <at> client/,+10p' "
to see if the client messages is being received and processed by Xymon.  This prints the first 10 lines of every client message.

J



On 10 May 2013 08:31, Scott Post <sjpostsr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
How to get client data to Xymon server using BBwincmd?

I have BBWin installed on a Test PC and it reports to my Xymon server just fine.  When I view the client on the Xymon Server, I have Client Data available at the bottom of my tests.  This is same contents as the msg.<hostname>.txt in the tmp directory

However, I have another system that I am testing on at this time, I can't install BBWin on, but I have a series of vbscripts that I am running that gather the same data and write out a msg.<hostname>.txt for that system.

From what I have read and understand, I can use the BBwincmd.exe to upload that msg.<hostname>.txt to the Xymon server.
For whatever reason, I can not get the client data to show up for this other system.

I have compared the two msg.<hostname>.txt from each PC and the are basically identical in format.

I have looked at BBWinCmd /? and I believe that BBWinCmd <bbdisplay>:<port> uploadmessage <filename> is the correct option, but the Xymon server never shows Client Data for the second host.

If I have the scripts, run BBWinCmd status <hostname> <test> <status> <reportdata>, all the information displays on the Xymon server just fine.

Can someone please help point me in the right direction?

Thanks

_______________________________________________
Xymon mailing list
Xymon-aAyed+W7HEYAvxtiuMwx3w@public.gmane.org
http://lists.xymon.com/mailman/listinfo/xymon


_______________________________________________
Xymon mailing list
Xymon@...
http://lists.xymon.com/mailman/listinfo/xymon

Gmane