Ad Widget

Collapse

Invalid second parameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wolflikes
    Junior Member
    • Oct 2007
    • 8

    #1

    Invalid second parameter

    Hi everyone,
    There is a default item in the Windows template called system.cpu.load[percpu,avg1]. The trigger is very sensitive for a server. It just keeps flapping and I get lots of emails so I disabled that check for that server. I wanted to create another check for cpu load minimum value must be greater than 5 over a five minute period. The item expression is system.cpu.load[all,system] and the trigger expression I have is
    {Template OS Windows:system.cpu.load[all,system].min(5)}>5 It’s not working though as I keep seeing the error “Invalid second parameter” in Configuration -> Hosts, and it is greyed out when I go to Monitoring -> Latest Data. I can’t seem to figure what is wrong with the expression as I test it with the expression checker and get the correct values. I hope someone can help me see what is wrong with the expression. Thanks.
  • tony234
    Junior Member
    • Jul 2019
    • 1

    #2


    This question already has an answer here:
    This is a simple question. I'm trying to enter code on Stack Overflow so I can ask people questions about my site. Stack Overflow says I have to indent or something to show my code. I've tried pressing the Ctrl+K command, and it does give me a "insert code here" but when I put the code between the " " it still gives me an error saying I can not post my code. This is becoming very frustrating being that I can't ask any questions on this site because the first thing people want is code, and without that my posts are just ignored.

    https://apkhubs.com/ https://mcdvoice.today/

    Comment

    Working...