Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Do not report an event by email unless it is "No toner"

Do not report an event by email unless it is "No toner"

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 82.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    C
    Constantine
    wrote on last edited by
    #1
    Hello! How to make sure that mail does not send notifications about printer errors:
    No paper, Door open, Jammed, Low toner, Input tray empty, but notifies by error No toner.
    Thanks!
    
    1 Reply Last reply
    0
    • C
      C
      Constantine
      wrote on last edited by
      #2
      [color=#1f1f1f][size=5][font=Verdana, Arial, Helvetica, sans-serif]Tried it in different ways, but it didn't work.[/font][/size][/color]
      

      netxms.jpg

      1 Reply Last reply
      0
      • Z
        Z
        Tatjana Dubrovica
        wrote on last edited by
        #3

        One option is to generate separate event for low tonner and separate event for all other errors - in this case you will just create multiple rules: one for toner (send e-mail) and something else for others (for example to create alarm).

        Filtering in in EPP is harder option and for it you should use left side of EPP - filtering side. I would suggest to write filtering script, that will check current DCI value that is available in $event script parameter.

        1 Reply Last reply
        0
        • C
          C
          Constantine
          wrote on last edited by
          #4
          Thank you for your answer, please tell me how to write alarm key like -
          
          DC_THRESHOLD_%i_%<dciId>
          
          for the No toner error.
          

          netxms-no toner.jpg

          1 Reply Last reply
          0
          • C
            C
            Constantine
            wrote on last edited by
            #5

            Colleagues! I think it worked!


            netxms-no toner_match-rule.jpg

            1 Reply Last reply
            0
            • Z
              Z
              Tatjana Dubrovica
              wrote on last edited by
              #6

              Alarm key can be the same as most probably you have either toner or others and it is not required to make distinction here as they can't coexist
              simultaneously for the same device.

              1 Reply Last reply
              0
              • C
                C
                Constantine
                wrote on last edited by
                #7
                Tell me, how to specify a parameter from dciValue in a script?
                

                dciValue.jpg

                dci.jpg

                1 Reply Last reply
                0
                • C
                  C
                  Constantine
                  wrote on last edited by
                  #8

                  $dciValue->value 

                  it's worked too!

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups