sysmon 0.93 for IRIX (mips4)

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
Posts: 255
Joined: Tue May 26, 2015 10:38 pm
Location: Boston

sysmon 0.93 for IRIX (mips4)

Unread postby necron2600 » Wed Aug 16, 2017 2:23 pm

NOTE: Not related to IRIX's sysmon desktop monitoring tool.

sysmon 0.93 compiled (GCC) for IRIX mips4
I like it because it is fully command-line driven.. while it can output to an HTML status page, it's curses (and non-curses client) display nicely if over SSH or on lower spec hardware. Simple is key. One could use Nagios to do many of the same things.. but then you have a lot more stuff around to support Nagios. Less bloat here.


A brief description of what Sysmon is:
Sysmon is a network monitoring tool designed to provide high performance and accurate network monitoring. Currently supported protocols include SMTP, IMAP, HTTP, TCP, UDP, NNTP, and PING tests.
This tool is available in the public domain for anyone to use it that is interested. It provides better performance and checking capabilities than other tools such as Rover, Nocmon (not this: Nocmonitor), Whatsup, Big Brother, and other such tools.

It needs Nekoware's current libnetsnmp, libcrypto, and also ncurses.

bash-4.2# ldd /usr/local/sbin/sysmond => /usr/nekoware/lib/ => /usr/nekoware/lib/ => /usr/lib32/ => /usr/lib32/
bash-4.2# ldd /usr/local/bin/sysmon => /usr/nekoware/lib/ => /usr/nekoware/lib/ => /usr/lib32/ => /usr/lib32/

As root.. extract the attached tarball from / (root dir) .. it will extract to usr/local
Edit /usr/local/etc/sysmon.conf with your monitoring config.
As root, run /usr/local/sbin/sysmond
As any user, run /usr/local/bin/sysmon localhost

Note, the sysmon client will only show monitors that have failed. nothing failed, nothing shows in the list. But the status.txt file created in your working dir will show all checks.

To compile.. with GCC.. I had the following env flags that added a few libs and an include to ncurses
export CC=gcc
export CFLAGS="-O3 -mabi=n32 -I/usr/nekoware/include -I/usr/include -I/usr/nekoware/include/ncurses"
export LIBS="-lfl -lnetsnmp -lcrypto -lncurses"
export LDFLAGS="-L/usr/nekoware/lib -L/usr/lib32"
export LD_LIBRARY_PATH="/usr/nekoware/lib:/usr/lib32"
#manually edit src/Makefile and remove the stack protector argument

Let me know if this works on other systems.. I did not spent much time testing it on IRIX. I did not test any of the email/message functionality yet.
I could package it up in a neko tardist later at some point.

sysmon 0.93 mips4/GCC
(520 KiB) Downloaded 2 times

Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 1 guest