Note field for "folders"

Need new test, action, option? Post request here.
Post Reply
PLP1
Posts: 4
Joined: Mon Mar 03, 2025 3:50 am

Note field for "folders"

Post by PLP1 »

Hello HostMonitor

I would love a text/notes field that i could attach to my folders. As we have setup Hostmonitor, with the tree showing location, and subsection into a few subfolders (Think network, servers, etc..) and under each of these we have the individual devices under a folder (such, as Server1, Server2) which then contains the tests for this device. I would love to be able to put in a notes field that would be visible from the webinterface (such as webuser see it) to inform what this server / device is used for etc..

If i have somehow missed this option somewhere, please disregard my wish.

I do not know how much work this would be, one can hope :)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Note field for "folders"

Post by KS-Soft »

There is comment page in Folder Properties dialog
https://www.ks-soft.net/hostmon.eng/mfr ... FolderTree

But web interface does not display this comment. May be we can add such option..

Regards
Alex
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Note field for "folders"

Post by jordydk »

I have another question about note fields in tests.
Is there one?

I have made tests a long time ago for example with SNMP and the status says something of the device, like:
1 = OK
2 = BAD
3 = UNK

I want to have that information in the test so when the test got a other outcome, I know what it is.

Thank you.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Note field for "folders"

Post by KS-Soft »

I have another question about note fields in tests.
Is there one?
Yes, there is
I have made tests a long time ago for example with SNMP and the status says something of the device, like:
1 = OK
2 = BAD
3 = UNK
I want to have that information in the test so when the test got a other outcome, I know what it is.
I think its better to set appropriate test status, e.g.
- set "alert when OID ..oid.. is = 2" test option and HostMonitor will set Bad test status when device returns number 2
- add [x] User Warning status if ("%SuggestedStatus%"=="Ok") and ("%SuggestedReply%"=="3") test options and HostMonitor will set Warning test status when device returns number 3

Regards
Alex
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Note field for "folders"

Post by jordydk »

And where can I find the note field?
Is that the comment section?

Thank you.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Note field for "folders"

Post by KS-Soft »

Yes, all test properties located in Test Properties window

Regards
Alex
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Note field for "folders"

Post by jordydk »

Hopefully you can help me again Alex, I don't understand it I guess.

The problem is as followed.

I have a OID (1.3.6.1.4.1.674.10895.5000.2.6132.1.1.43.1.7.1.3.1.0) to read out the power supply of a dell switch.

This are the values that I can get back:
Powering: 4
No power: 5
Not powering: 6
Incompatible: 7
Operational: 2
Failed: 3
Not present: 1

So when I get a 2 back, the Power Supply is Operational.

What is the best way to program this?

In the Test Properties I have now:

Alert when OID 1.3.6.1.4.1.674.10895.5000.2.6132.1.1.43.1.7.1.3.1.0 'doesn't contain' 2

The Optional status processing nothing is enables or filled in.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Note field for "folders"

Post by KS-Soft »

What is the best way to program this?
Sorry, I do not understand what exactly means "program this"?
What exactly numbers should be checked and what statuses should be set?
May be you want to set Bad status for all numbers except 2 and change Reply value, set Reply text depending on the number?

Regards
Alex
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Note field for "folders"

Post by jordydk »

Hello Alex,

Yes, is this possible to make: May be you want to set Bad status for all numbers except 2 and change Reply value, set Reply text depending on the number?

what do I need in the reply for that ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Note field for "folders"

Post by KS-Soft »

You may use Tune up Reply expression like
if ('%SuggestedReply%'==1) Not present; if ('%SuggestedReply%'==3) Failed; if ('%SuggestedReply%'==4) Powering; if ('%SuggestedReply%'==5) No power; if ('%SuggestedReply%'==6) Not powering; if ('%SuggestedReply%'==7) Incompatible; else [%SuggestedReply%]

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Note field for "folders"

Post by KS-Soft »

Note: all these messages are not related to the topic (folder-level comments), I will remove them
If you have more questions about Optional status processing, please start new thread or contact us by e-mail
Post Reply