Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - curruscanis

#31
How long does this take, I have changed my template several times and it does not change the given DCI values on the nodes that it has been applied to.
#32
General Support / Re: Status polling and alerting
June 26, 2015, 11:16:05 PM
Ok, I don't know if this is by design but I think I have found the answer.

I had set many of my nodes to "Ignore" interface state as they have many interfaces that are erroneous.

If you have the interface set in this manner alerting and alarms do not fire.

#33
General Support / Re: Status polling and alerting
June 26, 2015, 11:14:16 PM
Here is more information, I am still no closer to understanding why this is happening but here is the return of a "Poll Status" of a known down node.  At the end it says node status normal, yet it should be critical.


------------------------
[26.06.2015 14:08:09] **** Poll request sent to server ****
[26.06.2015 14:08:09] Poll request accepted
[26.06.2015 14:08:09] Starting status poll for node Baker SSG
[26.06.2015 14:08:09] Checking SNMP agent connectivity
[26.06.2015 14:08:17] SNMP agent unreachable
[26.06.2015 14:08:17]    Starting status poll on interface serial0/0
[26.06.2015 14:08:17]       Current interface status is UNKNOWN
[26.06.2015 14:08:17]       Interface status cannot be determined
[26.06.2015 14:08:17]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:17]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:17]    Finished status poll on interface serial0/0
[26.06.2015 14:08:17]    Starting status poll on interface ethernet0/0
[26.06.2015 14:08:17]       Current interface status is NORMAL
[26.06.2015 14:08:17]       Starting ICMP ping
[26.06.2015 14:08:23]       Interface is NORMAL for 9 polls (1 poll required for status change)
[26.06.2015 14:08:23]       Interface status after poll is NORMAL
[26.06.2015 14:08:23]    Finished status poll on interface ethernet0/0
[26.06.2015 14:08:23]    Starting status poll on interface ethernet0/1
[26.06.2015 14:08:23]       Current interface status is UNKNOWN
[26.06.2015 14:08:23]       Interface status cannot be determined
[26.06.2015 14:08:23]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:23]    Finished status poll on interface ethernet0/1
[26.06.2015 14:08:23]    Starting status poll on interface ethernet0/2
[26.06.2015 14:08:23]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:23]       Current interface status is UNKNOWN
[26.06.2015 14:08:23]       Interface status cannot be determined
[26.06.2015 14:08:23]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:23]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:23]    Finished status poll on interface ethernet0/2
[26.06.2015 14:08:23]    Starting status poll on interface ethernet0/3
[26.06.2015 14:08:23]       Current interface status is UNKNOWN
[26.06.2015 14:08:23]       Interface status cannot be determined
[26.06.2015 14:08:23]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:23]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:23]    Finished status poll on interface ethernet0/3
[26.06.2015 14:08:23]    Starting status poll on interface ethernet0/4
[26.06.2015 14:08:23]       Current interface status is UNKNOWN
[26.06.2015 14:08:23]       Interface status cannot be determined
[26.06.2015 14:08:23]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:23]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:23]    Finished status poll on interface ethernet0/4
[26.06.2015 14:08:23]    Starting status poll on interface ethernet0/5
[26.06.2015 14:08:23]       Current interface status is UNKNOWN
[26.06.2015 14:08:23]       Interface status cannot be determined
[26.06.2015 14:08:23]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:23]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:23]    Finished status poll on interface ethernet0/5
[26.06.2015 14:08:23]    Starting status poll on interface ethernet0/6
[26.06.2015 14:08:23]       Current interface status is UNKNOWN
[26.06.2015 14:08:23]       Interface status cannot be determined
[26.06.2015 14:08:23]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:23]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:23]    Finished status poll on interface ethernet0/6
[26.06.2015 14:08:23]    Starting status poll on interface bgroup0
[26.06.2015 14:08:23]       Current interface status is NORMAL
[26.06.2015 14:08:23]       Starting ICMP ping
[26.06.2015 14:08:29]       Interface is NORMAL for 9 polls (1 poll required for status change)
[26.06.2015 14:08:29]       Interface status after poll is NORMAL
[26.06.2015 14:08:29]    Finished status poll on interface bgroup0
[26.06.2015 14:08:29]    Starting status poll on interface bgroup1
[26.06.2015 14:08:29]       Current interface status is NORMAL
[26.06.2015 14:08:29]       Starting ICMP ping
[26.06.2015 14:08:35]       Interface is NORMAL for 9 polls (1 poll required for status change)
[26.06.2015 14:08:35]       Interface status after poll is NORMAL
[26.06.2015 14:08:35]    Finished status poll on interface bgroup1
[26.06.2015 14:08:35]    Starting status poll on interface bgroup2
[26.06.2015 14:08:35]       Current interface status is UNKNOWN
[26.06.2015 14:08:35]       Interface status cannot be determined
[26.06.2015 14:08:35]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:35]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:35]    Finished status poll on interface bgroup2
[26.06.2015 14:08:35]    Starting status poll on interface bgroup3
[26.06.2015 14:08:35]       Current interface status is UNKNOWN
[26.06.2015 14:08:35]       Interface status cannot be determined
[26.06.2015 14:08:35]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:35]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:35]    Finished status poll on interface bgroup3
[26.06.2015 14:08:35]    Starting status poll on interface tunnel.1
[26.06.2015 14:08:35]       Current interface status is UNKNOWN
[26.06.2015 14:08:35]       Interface status cannot be determined
[26.06.2015 14:08:35]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:35]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:35]    Finished status poll on interface tunnel.1
[26.06.2015 14:08:35]    Starting status poll on interface vlan1
[26.06.2015 14:08:35]       Current interface status is UNKNOWN
[26.06.2015 14:08:35]       Interface status cannot be determined
[26.06.2015 14:08:35]       Interface is UNKNOWN for 4 polls (1 poll required for status change)
[26.06.2015 14:08:35]       Interface status after poll is UNKNOWN
[26.06.2015 14:08:35]    Finished status poll on interface vlan1
[26.06.2015 14:08:35] Node is connected
[26.06.2015 14:08:43] Finished status poll for node Baker SSG
[26.06.2015 14:08:43] Node status after poll is NORMAL
[26.06.2015 14:08:43] **** Poll completed successfully ****

#34
General Support / Status polling and alerting
June 26, 2015, 08:42:28 PM
I am having issues with nodes not showing the proper status.  I have about 100 nodes being monitored on this system.

The server is Version 2.0-M4, on CentOS.

If I disconnect network to some of my nodes their status never changes, however if I disconnect it from other nodes the status changes in about 1-2 minutes and is recovered back to normal in 1-2 minutes upon being reconnected.

It also affects whole subnets, when I disconnect a router interface and have multiple nodes on a monitored subnet not all nodes will show down.  But some will.

I can not seem to find any reason as to why it affects some nodes and not others.  I am monitoring both Windows systems with agents, and network equipment with SNMP but no correlation seems to be apparent.

my "show queues" at the console all show "0" zeros.

Can someone help me with instructions as to how to troubleshoot this?
#35
General Support / Re: Web Timeout on Linux server
June 25, 2015, 07:23:15 PM
Thank you very much, that worked for me!!!
#36
General Support / Changing Template - reapply
June 25, 2015, 07:03:20 PM
I am starting to use templates in my install to make mass changes easier.  I have a template for windows systems to apply various data collection parameters.  I have applied the template to various systems across several containers.  I have made changes to the template but have noticed that these changes are not applied to the nodes automatically without manually re-applying the template.

I see that the template configuration has a "Automatic Apply Rules", so I entered the following script:

sub main() {
   return $node->isAgent;
}

I am not seeing the changed template "automaticly" applied to the existing nodes.  Am I missing something?

Also I would really like to only apply this to "Windows" agents not all agents but I am not familiar with how to script this.

Please help if you can, and thank you.


#37
General Support / Re: Web Timeout on Linux server
June 24, 2015, 01:21:09 AM
tomcat7

the web directory would be /usr/local/tomcat7
#38
General Support / Web Timeout on Linux server
June 23, 2015, 07:31:23 PM
Can someone help me with the file locations for a couple of files on a linux based NetXMS server?

I need to create a "nxmc.properties" file to extend the web timeout, but I dont' know where to put it.  I have this working on a Windows 7 box, but that doesn't help me with a linux file location.

Also, I would like to upload my logo and I need to know where to put that file, but of course it can be defined in the nxmc.properties file...
#39
General Support / Move container to new server
June 19, 2015, 11:52:58 PM
Is there a fast way to move or export a "Container" from the Infrastructure Services tree on one server to a new server?
#40
Here is my steps to install NetXMS 2 beta on a installation of CentOS 6.4 ( 64 bit )

I hope this helps anyone out there that is having a hard time. I attached the steps and put them inline here - they may be easier to read in the attachment:




Intall NetXMS on CentOS 6.4 with web frontend
These install instructions go through the steps of installing the NetXMS 2 beta with web frontend.
Install CentOS 6.4 minimal
Set IP and IP info
Yum install sshd
Chkconfig iptables off
Service iptables stop
Connect with SSH:
Install updates and prerequisites:
Yum update
yum groupinstall 'Development Tools'
yum install wget
yum install mysql
yum install mysql-server
yum install openssl-devel
yum install mysql-devel
Install NETXMS:
wget https://www.netxms.org/download/netxms-2.0-M4.tar.gz
tar zxvf netxms*
cd netxms*
sh ./configure --with-server --with-mysql --with-agent
make
make install
Copy sample config files:
   cp contrib/netxmsd.conf-dist /etc/netxmsd.conf
   cp contrib/nxagentd.conf-dist /etc/nxagentd.conf
Configure MySQL:
Chkconfig mysqld on
Mysql – u root –p password
CREATE USER 'netxms'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE netxms;
GRANT ALL ON netxms.* TO netxms IDENTIFIED BY 'password';
\q
Edit Netxmsd config file:
nano /etc/netxmsd.conf
DBDriver = /usr/local/lib/libnxddr_mysql.so
DBServer = localhost
DBName = netxms
DBLogin = netxms
DBPassword = password
LogFile = /var/log/netxmsd
LogFailedSQLQueries = yes
Edit NXAgentd config file
nano /etc/nxagentd.conf
   MasterServers = 127.0.0.1, your_server_IP_address
Nano /etc/ld.so.conf
   ADD LINE:   include /usr/local/lib
Ldconfig
Create NetXMS database:
/usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql
Cause NEtXMS to Start NetXMS daemon on Boot:
cp contrib/startup/redhat/netxmsd /etc/init.d
chmod +x /etc/init.d/netxmsd
cp contrib/startup/redhat/nxagentd /etc/init.d
chmod +x /etc/init.d/nxagentd
chkconfig --add nxagentd
chkconfig --add netxmsd
Start services:
service netxmsd start
service nxagentd start
Install Java 8 – 64 bit
cd /opt/
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz"
tar xzf jdk-8u45-linux-x64.tar.gz
cd jdk*
alternatives --install /usr/bin/java java /opt/jdk1.8.0_45/bin/java 2
alternatives --config java
   There are 3 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*  1           /opt/jdk1.7.0_71/bin/java
+ 2           /opt/jdk1.8.0_25/bin/java
   3           /opt/jdk1.8.0_45/bin/java

Enter to keep the current selection
  • , or type selection number: 3
    Install Tomcat7
    https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.62/bin/apache-tomcat-7.0.62.tar.gz
    tar xzf apache-tomcat-7.0.62.tar.gz
    mv apache-tomcat-7.0.62 /usr/local/tomcat7
    Create tomcat startup script in /etc/init.d
       #!/bin/bash
    # description: Tomcat Start Stop Restart
    # processname: tomcat
    # chkconfig: 234 20 80
    JAVA_HOME=/opt/jdk1.8.0_45
    export JAVA_HOME
    PATH=$JAVA_HOME/bin:$PATH
    export PATH
    CATALINA_HOME=/usr/local/tomcat7


    case $1 in
    start)
    sh $CATALINA_HOME/bin/startup.sh
    ;;
    stop)
    sh $CATALINA_HOME/bin/shutdown.sh
    ;;
    restart)
    sh $CATALINA_HOME/bin/shutdown.sh
    sh $CATALINA_HOME/bin/startup.sh
    ;;
    esac
    exit 0
    Make script execuitable:  chmod 755 tomcat
    Chkconfig –add tomcat
    Install NetXMS Web Frontend:
    wget https://www.netxms.org/download/webui/nxmc-2.0-M4.war
    cp nxmc-2.0-M4.war nxmc.war
    cp nxmc.war /usr/local/tomcat7/webapps
    service tomcat start









#41
Thank you Alex, that was my problem.

I installed Java 1.8 64 bit in my case, and removed tomcat 6 - and installed Tomcat 7

A bit of messing with it and it works.

Thank you all for such quick assistance!

#42
I have installed the 2.0 beta on a fresh install of CentOS 6.4, 64bit.  I have NetXMS installed and working with the management console, however I am having issues with the website.

I have copied the Web "WAR" file with this command to the appropriate tomcat directory:
cp nxmc-2.0-M4.war /var/lib/tomcat6/webapps

The website then propagates as expected to the "nxmc-2.0-M4" directory



However when I try to access the website at http://server ip address/nxmc-2.0-M4/nxmc

( just in case your wondering... no http://server ip address/nxmc does not work either... :)

I am getting the following error when attempting to access the website:

HTTP Status 404 - ProxyServlet: /nxmc-2.0-M4/nxmc

type Status report

message ProxyServlet: /nxmc-2.0-M4/nxmc

description The requested resource (ProxyServlet: /nxmc-2.0-M4/nxmc) is not available.

Apache Tomcat/6.0.24


-------------------


Any ideas?

Also, Victor, great software!  If there is anything I can do to help let me know.

Thank you.