Tuesday, April 6, 2021

SnTT - When you need OS Acces, but DON'T Have it, OPENNTF to the Rescue


I should tag this as #HCLAmbassadorTips, but that is so #2020.

Picked up a new client from my home state with a small but necessary business, which they run on their HCL Domino application.

The problem started when I realized I needed to scrape their old website from a hosting provider and then put it under HCL Domino.

Simple enough to get the site files and fodlers, but when I went to add the site to Domino realized I did not have RDP/VPN/FTP access to their server at the OS level.

What do I do?

As it turns out, there have been a few tools that existed that do this, but being an Admin and not a Developer, I never needed them and never looked into it.

I ended up finding a solution at Openntf.org with a project called Remote File Browser.

It was posted in 2010, still works, and I am using an R12 beta client to work with it on my end and the R11 server on the customer side.

It does just what I needed:

  • Create a folder
  • Delete files
  • Move Files
  • Upload file
  • Download files
Did you note an extra letter between the last 2 items? It seems you can download multiple files, but you can only upload 1 file at a time.

Okay, a bit tedious. I had about 40 files, but if I needed to edit the notes.ini or to change the SSL keys(if you are not using LE4D) and did not have access at the time, this does the trick.

Follow the instructions for it, copy it to the server, sign it, assign an ACL and then start browsing the server files.

Created a folder under domino\data\domino\html and then moved all the files.

Edit the Internet Site Document, so it knows which directory to read from and which HTML file to use as the primary page and restart HTTP, and it works.

If you know of anything similar and is available, free or for a fee, include it in the comments or message me to include the other options for everyone.

The best part is I get to cancel a meeting for later today that was about access.

Tuesday, March 16, 2021

SnTT - Adding a 3rd party Task to the Domino Admin Client Monitoring Dashboard


This has bugged me for a while. I may have just been a bit lazy as well.

But that's what friends are for, and Ted Hardenburgh came to my rescue in our Openntf slack channel.

You can join the slack channel here: https://openntf.slack.com if you have FOMO or just want to ask us your crazy questions.

Anyway, back to Ted's help with my situation.

We have a client running a task that is not a native Domino task, and I wanted to monitor it from the Admin client's Server-Monitoring tab that acts as a Dashboard.

You did know you have a dashboard built into the Admin client, right?

I will presume you know how to add your servers to the dashboard.

But when you want to add a task, you select a server and right-click and select Monitor New Task from the list shown. The default only includes the native Domino tasks.

Naturally, I figured there must be a way to add the 3rd party task, I was hoping without too much under the cover messing around, and that is when Ted helped me out.

My thought was there is a subform someplace to edit, and Ted pointed me to it.

Open the domadmin.nsf file in the Designer client.

Look at the Forms, and you will see a long list of Task\names.

The easiest way to start on this journey is to copy one of the tasks and paste it back in and begin editing it.

In this case, I am creating a task for bccdbt, I already renamed the task.

The name has to match the task name you would run when at a server console.

The fields you will need to edit from the above screen are the following:

Task name, Task filename, and Task Monitor Name and Description.

Task name field = Name as you want it to be seen in the Add Monitor Task pop-up window.

Task filename = the task name as you would enter it in the server console to run it.

Task Monitor Name = Should be how the task is described when you run a sh ta command. Like Router, Schedule Manager, etc...

Description = Edit according to what you need to tell your fellow admins.

Save it and then test it.

The task should show up within a few minutes, the dashboard updates automatically.

That's it. Many thanks again to Ted.