summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorspz <spz>2014-02-27 20:23:56 +0000
committerspz <spz>2014-02-27 20:23:56 +0000
commit01102f213a2678024e8722bfefe4b32ea31b4a2a (patch)
treeab6a92e8f9385197277819899e331a714d64cb95 /net
parentc431f19439f9508e2e0f05de26d38db3af6d8301 (diff)
downloadpkgsrc-01102f213a2678024e8722bfefe4b32ea31b4a2a.tar.gz
file escaped cvs add: from PR 48575
Diffstat (limited to 'net')
-rw-r--r--net/xymon/patches/patch-xymond_client_netbsd.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/xymon/patches/patch-xymond_client_netbsd.c b/net/xymon/patches/patch-xymond_client_netbsd.c
new file mode 100644
index 00000000000..744e8fb0c23
--- /dev/null
+++ b/net/xymon/patches/patch-xymond_client_netbsd.c
@@ -0,0 +1,28 @@
+$NetBSD: patch-xymond_client_netbsd.c,v 1.1 2014/02/27 20:23:56 spz Exp $
+
+--- xymond/client/netbsd.c.orig 2012-07-14 16:32:11.000000000 +0000
++++ xymond/client/netbsd.c
+@@ -24,6 +24,7 @@ void handle_netbsd_client(char *hostname
+ char *psstr;
+ char *topstr;
+ char *dfstr;
++ char *inodestr;
+ char *meminfostr;
+ char *msgsstr;
+ char *netstatstr;
+@@ -47,6 +48,7 @@ void handle_netbsd_client(char *hostname
+ psstr = getdata("ps");
+ topstr = getdata("top");
+ dfstr = getdata("df");
++ inodestr = getdata("inode");
+ meminfostr = getdata("meminfo");
+ msgsstr = getdata("msgsstr");
+ netstatstr = getdata("netstat");
+@@ -57,6 +59,7 @@ void handle_netbsd_client(char *hostname
+ unix_cpu_report(hostname, clienttype, os, hinfo, fromline, timestr, uptimestr, clockstr, msgcachestr,
+ whostr, 0, psstr, 0, topstr);
+ unix_disk_report(hostname, clienttype, os, hinfo, fromline, timestr, "Avail", "Capacity", "Mounted", dfstr);
++ unix_inode_report(hostname, clienttype, os, hinfo, fromline, timestr, "ifree", "%iused", "Mounted", inodestr);
+ unix_procs_report(hostname, clienttype, os, hinfo, fromline, timestr, "COMMAND", NULL, psstr);
+ unix_ports_report(hostname, clienttype, os, hinfo, fromline, timestr, 3, 4, 5, portsstr);
+