Xymon Mailing List Archive search

Xymon to monitor HP OpenVMS

list Jeremy Laidman
Sun, 26 Nov 2017 13:01:52 +1100
Message-Id: <CACO=user-dbcebc7f847c@xymon.invalid>

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 <user-71895fb2e44c@xymon.invalid>
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 <user-71895fb2e44c@xymon.invalid>
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 <user-b46c364676ee@xymon.invalid>
wrote:
Hi Jeremy,


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


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:user-71895fb2e44c@xymon.invalid]
*Sent:* Wednesday, November 22, 2017 6:15 PM

*To:* Leus Jr, Jose <user-b46c364676ee@xymon.invalid>
*Cc:* David Boyer <user-a6c09f28d9d2@xymon.invalid>; 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 <user-b46c364676ee@xymon.invalid>
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.


Sincerely,

Leus


*From:* Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
*Sent:* Tuesday, November 21, 2017 9:03 AM


*To:* Leus Jr, Jose <user-b46c364676ee@xymon.invalid>
*Cc:* David Boyer <user-a6c09f28d9d2@xymon.invalid>; 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 <user-b46c364676ee@xymon.invalid>
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:user-71895fb2e44c@xymon.invalid]
*Sent:* Monday, November 20, 2017 8:31 PM
*To:* Leus Jr, Jose <user-b46c364676ee@xymon.invalid>
*Cc:* David Boyer <user-a6c09f28d9d2@xymon.invalid>; 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-cg
i/showgraph.sh?host=promph1.analog.com&service=la&graph_widt
h=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-cg
i/showgraph.sh?host=promph1.analog.com&service=la&graph_widt
h=576&graph_height=120&disp=promph1.analog.com&nostale&color
=green&graph_start=1511004887&graph_end=1511177687&action=menu

Attachments (4)