Search found 4 matches

by EnderXncdr
Fri Apr 30, 2021 3:33 pm
Forum: Open Source Nagios Projects
Topic: Geo Mapping and Pulling My Hair Out
Replies: 1
Views: 1890

Re: Geo Mapping and Pulling My Hair Out

So I figured this out by writing a shell script to use sqlite3 to connect to the worldmap.db file used by Nagvis to post coordinates onto the map automatically. This script is run as an event handler as one of the service checks is simply posting the coordinates. The service may bounce back and fort...
by EnderXncdr
Tue Apr 27, 2021 12:24 pm
Forum: Open Source Nagios Projects
Topic: Geo Mapping and Pulling My Hair Out
Replies: 1
Views: 1890

Geo Mapping and Pulling My Hair Out

I am probably overthinking the whole thing as I try to install this. I am running Ubuntu 18.04LTS with Nagios Core 4.4.6 (Eventually this will be placed onto an Nagios XI system). I also am using Nagvis 1.9 for mapping. I desire to be able to build a map that will automatically populate the hosts on...
by EnderXncdr
Thu Jan 28, 2021 2:17 pm
Forum: Open Source Nagios Projects
Topic: Bash Script Outputting Null
Replies: 1
Views: 1314

Re: Bash Script Outputting Null

This can be closed. I figured it out. You have to put the full path to the csv file for it to work. Bang my head against a wall for 24 hours and it is that simple.
by EnderXncdr
Thu Jan 28, 2021 1:56 pm
Forum: Open Source Nagios Projects
Topic: Bash Script Outputting Null
Replies: 1
Views: 1314

Bash Script Outputting Null

I am running a local script and it works just fine when running manually. #!/bin/bash printer=$1 #--------------------------------# # Query UPH value for printer get_uph=$(grep $1 MULTIS.csv) full_uph=$(echo $get_uph | cut -d "," -f12) uph=$(printf "%.0f\n" $full_uph) #----------...