New threshold not working for me

Forums Desktop Info New threshold not working for me

Tagged: 

Viewing 7 reply threads
  • Author
    Posts
    • #2713
      phlegmerphlegmer
      Participant

        I thought I had a grasp on the new threshold syntax but doesn’t seem to work for me.

        Here is what I have

        set=key:Gold,value:#EECC00
        set=key:Red,value:#ff0000
        set=key:500mb,value:524288000

        COLOR=%Gold%
        TOPPROCESSCPU=active:1,interval:5,threshold1:3 95 %Red%,display:%1 [%2] %3%
        TOPPROCESSMEM=active:1,interval:5,threshhold1:3 %500mb% %Red%,display:%1 [%2] %3[1.1b]B

        When I run Prime95 torture test to raise the cpu and ram past the threshold, the numbers go up but the colors are not changing to red as I had hoped.

        Please advise.

        Thanks!

      • #2716
        GlennGlenn
        Keymaster

          Oh dear, looks like I’ve broken the thresholds. I’ll look at that today.

        • #2717
          GlennGlenn
          Keymaster

            I like this idea! set=key:500mb,value:524288000 🙂

          • #2721
            GlennGlenn
            Keymaster

              Check out v2.4.2

            • #2725
              phlegmerphlegmer
              Participant

                Good morning and thanks for the quick turnaround for an update!

                I gave it a go and I have good news and bad.

                Good:
                Top Process CPU now turns red at 95%+ as expected.

                Bad:
                Top Process Mem still does not turn red at 500mb+ 🙁

                Perhaps this is a clue? I found this in the error log when I started 2.4.2

                25-03-20 08:11:49:363 ERROR TOPPROCESSMEM () [Error] : Mapping.GetTopProcessPu failed

                I do have this set higher up in the .ini:

                #64 Bit Goodness
                desktopinfo64=1

                So I flipped it to 0 just to see if that made a difference. The error above did go away but still no threshold color change for the memory.

                Also, when I launch DesktopInfo v2.4.2, I get a new pop up asking about installing something from the app store (see attachment). This comes up when double clicking the exe normally or right click and Run as Administrator. 2.4.1 does not have this popup. If I click “No” to this new pop up, I get the normal UAC and can still run it.

                Thanks!

                • #2730
                  GlennGlenn
                  Keymaster

                    Thanks for the feedback.

                    TopProcessMem is working for me with the following:

                    set=key:500mb,value:524288000
                    TOPPROCESSMEM=interval:10,counter:pu,text:Top Memory,display:%1 (pid:%2) %3[1.1b]B,threshold1:3 %500mb%

                    it also works if i put a value directly in the threshold.

                    the mapping error is not unusual. dti always silently recovers from that.

                    I can’t account for the App Store popup. I’ve never seen that, ever, on any computer. So you’re saying if you run 2.4.1 and 2.4.2 together, the former doesn’t trigger the App Store popup and the latter always triggers it?

                    can you try this config on a different computer?

                    • #2733
                      phlegmerphlegmer
                      Participant

                        I got the threshold thing to work. For future reference, threshold only has 2 h’s and not 3. (DOH!)

                        On the topic of launching 2.4.2. The VM I’m doing these tests on is a fairly fresh install of Server 2019. I did run 2.4.2 on a Server 2016 and it did not have that alert. Just the normal UAC. When I run it on my Win 10 box, a Windows Defender SmartScreen screen does pop up (see attached). I click “Don’t Run” and try the same thing with 2.4.1, no Defender screen. Run 2.4.2 again on my Win 10 and this time click “Run anyway”. It runs and any additional runs after that point no longer has that Defender screen come up.

                        I did notice a difference between UAC notifications with 2.4.1 and 2.4.2. 2.4.2 appears you removed “Mr” from the publisher name and the file origin says Downloaded from the Internet. 2.4.1 says the file origin is the hard drive from the computer.

                        Went into the properties of the 2.4.2 exe, I can then click the unblock box and then life is just dandy again.

                        Thanks!

                        • #2738
                          GlennGlenn
                          Keymaster

                            Yeah that’ll do it!

                            I haven’t tested on Server 2019, probably time to start doing that. Right now it’s just 2012 and 2016. So, so far it appears to be peculiar to 2019.

                            Smart Screen: The certificate was recently renewed so it’s possible your Win 10 box couldn’t find the renewed certificate (or something).

                            Screen shot 2 and 3 is last year’s certificate versus this year’s. If you open the exe properties and drill down to the certificate details, you’ll see the expiry date. They just decided to change the name for no reason. They do that.

                          • #2739
                            GlennGlenn
                            Keymaster

                              I just installed 2019 and ran 2.4.2. No smartscreen, no uac, just ran without any prompts. I don’t know what the difference might be.

                              • #2744
                                phlegmerphlegmer
                                Participant

                                  That is curious. I’m assuming when you installed 2019, you left most of the settings to defaults? When I compare my 2016 with 2019 settings, there are some differences with how the UAC and Smartscreen are set. I know I never messed with those settings in those 2 instances so perhaps they were set via domain group policy? (See attachments for differences)

                                  At any rate, I’m able to get v2.4.2 going on 2019 as stated before and will poke at it a little more to get it just the way I’d like it. 🙂

                                  Thanks!

                                  • This reply was modified 3 years ago by phlegmerphlegmer.
                        • #2728
                          phlegmerphlegmer
                          Participant

                            One other observation. With the older version I have been using (v1.5), both the left column and right column would turn red when a threshold was met. This 2.4.2 version, just the right column changes color. Don’t know if it matters to me but something different.

                            Thanks!

                          • #2732
                            phlegmerphlegmer
                            Participant

                              Ahh, I see this change in the changelog. Nevermind…. 🙂

                            • #2757
                              GlennGlenn
                              Keymaster

                                Yes. The 2019 settings are all defaults. The UAC is the same as your 2016 and the SmartScreen is the same as your 2019. I set the UAC to the highest and ran DTI and still no prompts, not even when Run As Admin.

                            Viewing 7 reply threads
                            • The topic ‘New threshold not working for me’ is closed to new replies.
                            Glenn's Page