Recomendations to monitor remote netsight server

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi

I was looking for recomended ways of monitoring a remote Netsight server. I did think about nagios/cacti etc, but it seems overkill just to monitor a remote netsight linux server. I also don't want to use the native linux tools incase it breaks Netsight.
Photo of Justsomebodi

Justsomebodi

  • 1,572 Points 1k badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Thomas, Frank

Thomas, Frank, Employee

  • 1,902 Points 1k badge 2x thumb
Hi,
Could you elaborate on the problem you're trying to solve? Are you just trying to see if the Netsight Server is up and running or has email connectivity?
Photo of Justsomebodi

Justsomebodi

  • 1,572 Points 1k badge 2x thumb
I just want to ensure the server is up and available, so we can get the alarm emails.
Photo of Thomas, Frank

Thomas, Frank, Employee

  • 1,902 Points 1k badge 2x thumb
The scheduler is a good way to get email sent on a regular basis. You can schedule reports at a given interval. If you don't get a report, you know something is potentially up.

Alternatively you can run a bash script to down an interface via snmp or port and run it at a regular interval via cron if using Linux server. Then use alarm manager to alert you when said action took place.

Something like
In Crontab
0 10,12,15,18,21 * * * /root/scripts/NMCCronCheckin

Then the script would just 
/usr/bin/snmpset -v 3 -a SHA -A "SNMPPassword" -l authNoPriv -u "Account" "Switch IP" .1.3.6.1.2.1.2.2.1.7.22016 i 2 [22016 is an interface I would want to down]

/bin/sleep 240 [240 is seconds of a poll cycle, change to whatever you poll at]

/usr/bin/snmpset -v 3 -a SHA -A "SNMPPassword" -l authNoPriv -u "Account" "Switch IP" .1.3.6.1.2.1.2.2.1.7.22016 i 1 
Photo of Justsomebodi

Justsomebodi

  • 1,572 Points 1k badge 2x thumb
Does anyone know how would i enable SNMP on the Netsight VM server so it can be monitored via SNMP