[Xymon] Xymon to monitor HP OpenVMS

Leus Jr, Jose Jose.LeusJr at analog.com
Sun Nov 26 03:09:21 CET 2017


Thanks a lot Jeremy for helping me out on this. Here’s the snapshot of the cpu graph.

    [cid:image001.jpg at 01D3669E.94B433E0]

I’m looking forward for the integration of other OPENVMS resources to Xymon.
At this time, below are the only resources I was able to monitor.
[cid:image002.jpg at 01D3669E.94B433E0]

Sincerely,
Leus

From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
Sent: Sunday, November 26, 2017 10:02 AM
To: Leus Jr, Jose <Jose.LeusJr at analog.com>
Cc: David Boyer <davieb at gmail.com>; xymon at xymon.com
Subject: Re: [Xymon] Xymon to monitor HP OpenVMS

Just to close this case, in case it helps others using OpenVMS, it turns out the client was an old BB client, which sent its CPU status message with "Up since <date>" rather than "up: <days> days". The difference is that the Xymon CPU status message parsing code expects "up: " (lower-case "up", colon, space). The script that generates the status message was adjusted, and the RRD file came into existence.

In summary, there were some stale rrdctl files being used by Xymon, causing the original error message in the Apache logs. But the client was also not 100% compatible with Xymon. Both now fixed.

J

On 22 November 2017 at 21:39, Jeremy Laidman <jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>> wrote:
Or, even simpler, use the URL showing in your previous error log:

http://adgtbigbrother/xymon-cgi/showgraph.sh?host=promph1.analog.com&service=la&graph_width=576&graph_height=120&disp=promph1.analog.com&nostale&color=green&graph_start=1511004887&graph_end=1511177687&action=menu


On 22 November 2017 at 21:37, Jeremy Laidman <jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>> wrote:
Those log files don't appear to be related to this problem. I suspect they don't coincide with your viewing of the CPU page.

I'm going to assume you're running Internet Explorer (based on your picture). Can you please right-click on the broken picture image next to the magnifying glass, then select properties, and then copy the URL. Finally, please paste the URL into your browser. Please tell me what it shows, and also any new error log entries that show up at the same time.


On 22 November 2017 at 21:22, Leus Jr, Jose <Jose.LeusJr at analog.com<mailto:Jose.LeusJr at analog.com>> wrote:
Hi Jeremy,

The xymon is stopped when I removed the files. At this time below are the remaining rrd.

[cid:image003.jpg at 01D3669E.94B433E0]

Here’s the recent from log

[root at adgtbigbrother httpd]# tail -50 error_log-20170930
[Wed Nov 22 15:59:32 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:04:35 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:09:39 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:14:43 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:19:47 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:24:50 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:29:54 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:34:58 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:40:01 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:45:06 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:50:14 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 16:55:09 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:00:18 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:05:14 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:10:17 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:15:21 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:20:25 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:23:11 2017] [error] [client 10.116.131.209] File does not exist: /var/www/html/favicon.ico
[Wed Nov 22 17:23:16 2017] [error] [client 10.116.131.209] File does not exist: /var/www/html/favicon.ico
[Wed Nov 22 17:25:28 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:30:32 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:35:36 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:40:39 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:45:44 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:50:47 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 17:55:51 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 18:00:55 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 18:05:59 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 18:11:02 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 22 18:16:06 2017] [error] [client 10.116.101.69] Directory index forbidden by Options directive: /var/www/html/

Sincerely,
Leus

From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>]
Sent: Wednesday, November 22, 2017 6:15 PM

To: Leus Jr, Jose <Jose.LeusJr at analog.com<mailto:Jose.LeusJr at analog.com>>
Cc: David Boyer <davieb at gmail.com<mailto:davieb at gmail.com>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Xymon to monitor HP OpenVMS

Lues

Make sure you stop xymon, then remove all rrdctl files, then start xymon again, and check that there are only two rrdctl files left.

Then re-try. If it continues to show problems, re-check the Apache logs to see if there's another problem.

Cheers
Jeremy


On 22 November 2017 at 20:31, Leus Jr, Jose <Jose.LeusJr at analog.com<mailto:Jose.LeusJr at analog.com>> wrote:
Thanks Jeremy. I was able to locate the rrdctl files and removed it. The error  in the logs now gone but the CPU graph for OpenVMS systems is not visible.

Below is the snapshots when accessing cpu graphs.

[cid:image006.jpg at 01D3669E.94B433E0]

[cid:image007.jpg at 01D3669E.94B433E0]

[cid:image008.jpg at 01D3669E.94B433E0]

Sincerely,
Leus

From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>]
Sent: Tuesday, November 21, 2017 9:03 AM

To: Leus Jr, Jose <Jose.LeusJr at analog.com<mailto:Jose.LeusJr at analog.com>>
Cc: David Boyer <davieb at gmail.com<mailto:davieb at gmail.com>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Xymon to monitor HP OpenVMS

Try this:

$ sudo lsof -p `pgrep xymond_rrd|head -1`

One of the files listed will be something like

/usr/lib/xymon/server/tmp/rrdctl.28279

Look in the same dir for other rrdctl.* files. There should be only two in that directory, corresponding to the two xymond_rrd processes.

Another way:

$ xymoncmd sh -c 'ls -l $XYMONTMP/rrdctl.*'

Cheers
Jeremy



On 21 November 2017 at 00:05, Leus Jr, Jose <Jose.LeusJr at analog.com<mailto:Jose.LeusJr at analog.com>> wrote:
Hi Jeremy,

I tried to seach all directories  from xymon server but I did not find any rrdctl* files.




Sincerely,
Leus

From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>]
Sent: Monday, November 20, 2017 8:31 PM
To: Leus Jr, Jose <Jose.LeusJr at analog.com<mailto:Jose.LeusJr at analog.com>>
Cc: David Boyer <davieb at gmail.com<mailto:davieb at gmail.com>>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Xymon to monitor HP OpenVMS

Might be the same problem and solution described here:

http://lists.xymon.com/archive/2013-September/038150.html


[Mon Nov 20 19:36:25 2017] [error] [client 10.116.131.209] 2017-11-20 19:36:25.250081 , referer: http://adgtbigbrother/xymon-cgi/showgraph.sh?host=promph1.analog.com&service=la&graph_width=576&graph_height=120&disp=promph1.analog.com&nostale&color=green&graph_start=1511004887&graph_end=1511177687&action=menu
[Mon Nov 20 19:36:25 2017] [error] [client 10.116.131.209] Sendto failed: Connection refused, referer: http://adgtbigbrother/xymon-cgi/showgraph.sh?host=promph1.analog.com&service=la&graph_width=576&graph_height=120&disp=promph1.analog.com&nostale&color=green&graph_start=1511004887&graph_end=1511177687&action=menu






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171126/4130ef8f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 36849 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171126/4130ef8f/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 7533 bytes
Desc: image002.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171126/4130ef8f/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 24819 bytes
Desc: image003.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171126/4130ef8f/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 24003 bytes
Desc: image006.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171126/4130ef8f/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.jpg
Type: image/jpeg
Size: 16947 bytes
Desc: image007.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171126/4130ef8f/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 19146 bytes
Desc: image008.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171126/4130ef8f/attachment-0005.jpg>


More information about the Xymon mailing list