Class NagiosConfiguration

    • Constructor Detail

      • NagiosConfiguration

        public NagiosConfiguration()
    • Method Detail

      • configure

        public void configure​(URI uri)
      • getOrCreateNagiosSettings

        public com.googlecode.jsendnsca.NagiosSettings getOrCreateNagiosSettings()
      • getHost

        public String getHost()
      • setHost

        public void setHost​(String host)
        This is the address of the Nagios host where checks should be send.
      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)
        The port number of the host.
      • getConnectionTimeout

        public int getConnectionTimeout()
      • setConnectionTimeout

        public void setConnectionTimeout​(int connectionTimeout)
        Connection timeout in millis.
      • getTimeout

        public int getTimeout()
      • setTimeout

        public void setTimeout​(int timeout)
        Sending timeout in millis.
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
        Password to be authenticated when sending checks to Nagios.
      • getEncryption

        public com.googlecode.jsendnsca.encryption.Encryption getEncryption()
      • setEncryption

        public void setEncryption​(com.googlecode.jsendnsca.encryption.Encryption encryption)
        To specify an encryption method.